Files
AndroidJava/dash-wallet/wallet/res/layout/network_monitor_onepane.xml
T
coco 7846a45f2c a
2026-07-03 15:47:27 +08:00

69 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background_primary"
android:orientation="vertical">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@color/colorPrimary"
app:navigationIcon="?attr/homeAsUpIndicator"
app:popupTheme="@style/My.PopupOverlay"
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background_primary"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dp"
android:orientation="horizontal"
android:padding="16dp"
android:weightSum="2">
<de.schildbach.wallet.ui.widget.StyledCheckBox
android:id="@+id/peers_checkbox"
style="@style/Body1"
android:layout_width="0dp"
android:layout_height="40dp"
android:layout_weight="1"
android:background="@drawable/left_round_button"
android:button="@null"
android:checked="true"
android:gravity="center"
android:textAlignment="gravity"
android:text="@string/network_monitor_peer_list_title"
android:textColor="@color/round_button_text" />
<de.schildbach.wallet.ui.widget.StyledCheckBox
android:id="@+id/blocks_checkbox"
style="@style/Body1"
android:layout_width="0dp"
android:layout_height="40dp"
android:layout_weight="1"
android:background="@drawable/right_round_button"
android:button="@null"
android:gravity="center"
android:textAlignment="gravity"
android:text="@string/network_monitor_block_list_title"
android:textColor="@color/round_button_text" />
</LinearLayout>
<androidx.viewpager.widget.ViewPager
android:id="@+id/network_monitor_pager"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal" />
</LinearLayout>
</LinearLayout>