更新Dialog界面与SCV控件

This commit is contained in:
HapeLee committed 2025-09-05 03:38:26 +08:00
1 parent ec22376654
commit 863d8f59a2
10 files changed
+332 -142

No files matched your search

@@ -144,18 +144,6 @@
android:orientation="horizontal"
android:layout_marginHorizontal="16dp">
<io.legato.kazusa.ui.book.read.config.ChineseConverter
android:id="@+id/chinese_converter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/Widget.Material3Expressive.Button.OutlinedButton" />
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1" />
<com.google.android.material.button.MaterialButton
android:id="@+id/tv_tip"
android:layout_width="wrap_content"
@@ -188,57 +176,47 @@
android:orientation="horizontal"
android:layout_marginTop="8dp"
android:layout_marginHorizontal="16dp">
<io.legato.kazusa.ui.widget.SimpleCounterView
android:id="@+id/dsb_text_size"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginVertical="2dp"
app:orientation="horizontal"
app:isBottomBackground="true"
app:max="45"
app:title="@string/text_size" />
<View
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
android:layout_height="0dp"
android:layout_weight="1" />
<io.legato.kazusa.ui.widget.SimpleCounterView
android:id="@+id/dsb_text_letter_spacing"
<com.google.android.material.button.MaterialButton
android:id="@+id/btnChineseConverter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:isBottomBackground="true"
app:max="100"
app:title="@string/text_letter_spacing" />
style="@style/Widget.Material3Expressive.Button.IconButton.Outlined"
app:icon="@drawable/ic_cn_convert"
app:iconGravity="textStart"
app:iconSize="16dp" />
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btn_spacing"
style="@style/Widget.Material3Expressive.Button.TonalButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="间距设置"
app:icon="@drawable/ic_arrow_right"
app:iconGravity="textEnd" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:layout_marginBottom="8dp"
android:layout_marginHorizontal="16dp">
<io.legato.kazusa.ui.widget.SimpleCounterView
android:id="@+id/dsb_line_size"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:isBottomBackground="true"
app:max="20"
app:title="@string/line_size" />
<View
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
<io.legato.kazusa.ui.widget.SimpleCounterView
android:id="@+id/dsb_paragraph_spacing"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:isBottomBackground="true"
app:max="20"
app:title="@string/paragraph_size" />
</LinearLayout>
<LinearLayout
android:id="@+id/set_bottom_bar"
@@ -251,9 +229,10 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="16dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="4dp"
android:text="@string/page_anim"
android:textColor="?android:attr/textColorSecondary"
android:textStyle="bold"
android:textSize="12sp" />
<HorizontalScrollView
@@ -321,9 +300,9 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_weight="1"
android:textColor="?android:attr/textColorSecondary"
android:text="@string/text_bg_style"
android:textSize="12sp" />
android:textSize="12sp"
android:textStyle="bold" />
<com.google.android.material.checkbox.MaterialCheckBox
android:id="@+id/cb_share_layout"