更新TargetSDK至36

更新部分界面
添加透明主题
This commit is contained in:
HapeLee committed 2025-07-30 02:14:14 +08:00
1 parent c2353c9e71
commit 22f34161ab
21 files changed
+310 -59

No files matched your search

@@ -65,13 +65,15 @@
<io.legato.kazusa.ui.book.read.config.TextFontWeightConverter
android:id="@+id/text_font_weight_converter"
style="@style/Widget.Material3.Button.IconButton.Filled.Tonal"
style="@style/Widget.Material3Expressive.Button.IconButton.Tonal"
android:layout_width="64dp"
android:layout_height="64dp"
android:text="@string/font_weight_text"
android:layout_weight="2"
app:icon="@drawable/font_bold"
app:iconGravity="textTop"
android:text="@string/font_weight_text" />
android:textSize="10sp"
tool:ignore="SmallSp" />
<View
android:layout_width="0dp"
@@ -82,11 +84,13 @@
android:id="@+id/tv_text_font"
android:layout_width="64dp"
android:layout_height="64dp"
style="@style/Widget.Material3Expressive.Button.IconButton.Tonal"
android:layout_weight="2"
style="@style/Widget.Material3.Button.IconButton.Filled.Tonal"
android:text="@string/text_font"
app:icon="@drawable/font_style"
app:iconGravity="textTop"
android:text="@string/text_font" />
android:textSize="10sp"
tool:ignore="SmallSp" />
<View
android:layout_width="0dp"
@@ -97,11 +101,13 @@
android:id="@+id/tv_text_indent"
android:layout_width="64dp"
android:layout_height="64dp"
style="@style/Widget.Material3Expressive.Button.IconButton.Tonal"
android:layout_weight="2"
style="@style/Widget.Material3.Button.IconButton.Filled.Tonal"
android:text="@string/text_indent"
app:icon="@drawable/ic_segment"
app:iconGravity="textTop"
android:text="@string/text_indent" />
android:textSize="10sp"
tool:ignore="SmallSp" />
<View
android:layout_width="0dp"
@@ -112,11 +118,13 @@
android:id="@+id/tv_padding"
android:layout_width="64dp"
android:layout_height="64dp"
style="@style/Widget.Material3Expressive.Button.IconButton.Tonal"
android:layout_weight="2"
style="@style/Widget.Material3.Button.IconButton.Filled.Tonal"
android:text="@string/padding"
app:icon="@drawable/ic_padding"
app:iconGravity="textTop"
android:text="@string/padding" />
android:textSize="10sp"
tool:ignore="SmallSp" />
</LinearLayout>
@@ -126,29 +134,39 @@
android:layout_marginTop="8dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:layout_marginHorizontal="12dp" >
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.Material3.Button.IconButton.Outlined" />
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"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/Widget.Material3.Button.IconButton.Outlined"
style="@style/Widget.Material3Expressive.Button.OutlinedButton"
android:text="@string/information" />
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1" />
<com.google.android.material.button.MaterialButton
android:id="@+id/tv_more"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/Widget.Material3.Button.IconButton.Outlined"
style="@style/Widget.Material3Expressive.Button.OutlinedButton"
android:text="@string/more_setting" />
</LinearLayout>