|
@@ -7,20 +7,34 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
|
|
- android:text="界面设置"
|
|
|
|
|
- style="@style/TextAppearance.Material3.TitleLarge">
|
|
|
|
|
|
|
+ android:paddingVertical="16dp"
|
|
|
|
|
+ android:paddingHorizontal="16dp">
|
|
|
|
|
|
|
|
- </TextView>
|
|
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="36dp"
|
|
|
|
|
+ android:layout_height="4dp"
|
|
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
|
|
+ android:background="@drawable/bg_bottom_sheet_handle"
|
|
|
|
|
+ android:layout_marginBottom="16dp" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/bottom_sheet_title"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="界面设置"
|
|
|
|
|
+ android:textSize="18sp"
|
|
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
+
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal"
|
|
android:orientation="horizontal"
|
|
|
android:layout_marginHorizontal="16dp" >
|
|
android:layout_marginHorizontal="16dp" >
|
|
@@ -30,14 +44,12 @@
|
|
|
style="@style/Widget.Material3.Button.TonalButton"
|
|
style="@style/Widget.Material3.Button.TonalButton"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
-
|
|
|
|
|
android:text="@string/font_weight_text" />
|
|
android:text="@string/font_weight_text" />
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
<com.google.android.material.button.MaterialButton
|
|
|
android:id="@+id/tv_text_font"
|
|
android:id="@+id/tv_text_font"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
-
|
|
|
|
|
style="@style/Widget.Material3.Button.TonalButton"
|
|
style="@style/Widget.Material3.Button.TonalButton"
|
|
|
android:text="@string/text_font" />
|
|
android:text="@string/text_font" />
|
|
|
|
|
|
|
@@ -45,7 +57,6 @@
|
|
|
android:id="@+id/tv_text_indent"
|
|
android:id="@+id/tv_text_indent"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
-
|
|
|
|
|
style="@style/Widget.Material3.Button.TonalButton"
|
|
style="@style/Widget.Material3.Button.TonalButton"
|
|
|
android:text="@string/text_indent" />
|
|
android:text="@string/text_indent" />
|
|
|
|
|
|
|
@@ -54,7 +65,7 @@
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
|
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
android:gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal"
|
|
android:orientation="horizontal"
|
|
|
android:layout_marginHorizontal="16dp" >
|
|
android:layout_marginHorizontal="16dp" >
|
|
@@ -124,7 +135,7 @@
|
|
|
<View
|
|
<View
|
|
|
android:id="@+id/vw_bg_fg"
|
|
android:id="@+id/vw_bg_fg"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="0.8dp"
|
|
|
|
|
|
|
+ android:layout_height="1dp"
|
|
|
android:layout_marginHorizontal="16dp"
|
|
android:layout_marginHorizontal="16dp"
|
|
|
android:layout_marginVertical="8dp"
|
|
android:layout_marginVertical="8dp"
|
|
|
android:background="@color/btn_bg_press" />
|
|
android:background="@color/btn_bg_press" />
|
|
@@ -135,21 +146,19 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginHorizontal="16dp"
|
|
android:layout_marginHorizontal="16dp"
|
|
|
android:layout_marginBottom="4dp"
|
|
android:layout_marginBottom="4dp"
|
|
|
- android:alpha="0.75"
|
|
|
|
|
android:text="@string/page_anim"
|
|
android:text="@string/page_anim"
|
|
|
android:textSize="12sp" />
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
<HorizontalScrollView
|
|
<HorizontalScrollView
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="11dp"
|
|
|
|
|
android:scrollbars="none">
|
|
android:scrollbars="none">
|
|
|
|
|
|
|
|
<com.google.android.material.chip.ChipGroup
|
|
<com.google.android.material.chip.ChipGroup
|
|
|
android:id="@+id/rg_page_anim"
|
|
android:id="@+id/rg_page_anim"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:paddingEnd="11dp"
|
|
|
|
|
|
|
+ android:paddingHorizontal="16dp"
|
|
|
app:singleLine="true"
|
|
app:singleLine="true"
|
|
|
app:singleSelection="true"
|
|
app:singleSelection="true"
|
|
|
app:selectionRequired="true">
|
|
app:selectionRequired="true">
|
|
@@ -159,7 +168,6 @@
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
|
style="@style/Widget.Material3.Chip.Filter"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_margin="4dp"
|
|
|
|
|
android:text="@string/page_anim_cover"
|
|
android:text="@string/page_anim_cover"
|
|
|
/>
|
|
/>
|
|
|
|
|
|
|
@@ -209,7 +217,7 @@
|
|
|
<View
|
|
<View
|
|
|
android:id="@+id/vw_bg_fg1"
|
|
android:id="@+id/vw_bg_fg1"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="0.8dp"
|
|
|
|
|
|
|
+ android:layout_height="1dp"
|
|
|
android:layout_marginHorizontal="16dp"
|
|
android:layout_marginHorizontal="16dp"
|
|
|
android:layout_marginVertical="8dp"
|
|
android:layout_marginVertical="8dp"
|
|
|
android:background="@color/btn_bg_press" />
|
|
android:background="@color/btn_bg_press" />
|