样式优化
This commit is contained in:
2 files changed
+35
-14
No files matched your search
@@ -45,6 +45,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="16dp"
|
android:layout_marginHorizontal="16dp"
|
||||||
|
android:layout_marginBottom="8dp"
|
||||||
android:gravity="center_horizontal">
|
android:gravity="center_horizontal">
|
||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<com.google.android.material.button.MaterialButton
|
||||||
@@ -74,6 +75,14 @@
|
|||||||
android:checkable="true"
|
android:checkable="true"
|
||||||
android:focusable="true"/>
|
android:focusable="true"/>
|
||||||
|
|
||||||
|
</com.google.android.material.button.MaterialButtonGroup>
|
||||||
|
|
||||||
|
<com.google.android.material.button.MaterialButtonGroup
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginHorizontal="16dp"
|
||||||
|
android:gravity="center_horizontal">
|
||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<com.google.android.material.button.MaterialButton
|
||||||
android:id="@+id/textFontWeightConverter"
|
android:id="@+id/textFontWeightConverter"
|
||||||
style="@style/Widget.Material3Expressive.Button.IconButton.Tonal"
|
style="@style/Widget.Material3Expressive.Button.IconButton.Tonal"
|
||||||
|
|||||||
@@ -32,13 +32,32 @@
|
|||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<TextView
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content">
|
||||||
android:paddingBottom="8dp"
|
|
||||||
android:text="@string/global_setting"
|
<TextView
|
||||||
android:textSize="14sp"
|
android:layout_width="wrap_content"
|
||||||
android:textStyle="bold" />
|
android:layout_height="wrap_content"
|
||||||
|
android:paddingBottom="8dp"
|
||||||
|
android:text="@string/global_setting"
|
||||||
|
android:textSize="14sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<Space
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_weight="1" />
|
||||||
|
|
||||||
|
<io.legado.app.ui.widget.AccentColorButton
|
||||||
|
android:id="@+id/btn_header_font"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
style="@style/Widget.Material3Expressive.Button.OutlinedButton"
|
||||||
|
android:text="@string/text_font" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -57,13 +76,6 @@
|
|||||||
style="@style/Widget.Material3Expressive.Button.OutlinedButton"
|
style="@style/Widget.Material3Expressive.Button.OutlinedButton"
|
||||||
android:text="@string/padding"/>
|
android:text="@string/padding"/>
|
||||||
|
|
||||||
<io.legado.app.ui.widget.AccentColorButton
|
|
||||||
android:id="@+id/btn_header_font"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
style="@style/Widget.Material3Expressive.Button.OutlinedButton"
|
|
||||||
android:text="@string/header_font" />
|
|
||||||
|
|
||||||
<io.legado.app.ui.widget.SimpleCounterView
|
<io.legado.app.ui.widget.SimpleCounterView
|
||||||
android:id="@+id/scv_header_font_size"
|
android:id="@+id/scv_header_font_size"
|
||||||
android:layout_width="180dp"
|
android:layout_width="180dp"
|
||||||
|
|||||||
Reference in new issue
Block a user