更新
This commit is contained in:
1 parent
5bf4a21e69
commit
68dd23b57e
22 files changed
+191
-301
No files matched your search
@@ -7,120 +7,80 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="界面设置"
|
||||
style="@style/TextAppearance.Material3.TitleLarge">
|
||||
|
||||
</TextView>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingHorizontal="16dp">
|
||||
android:layout_marginHorizontal="16dp" >
|
||||
|
||||
<io.legato.kazusa.ui.book.read.config.TextFontWeightConverter
|
||||
android:id="@+id/text_font_weight_converter"
|
||||
style="@style/Widget.Material3.Button.TonalButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="6dp"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingRight="6dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:textSize="14sp"
|
||||
app:isBottomBackground="true"
|
||||
app:radius="3dp" />
|
||||
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
android:text="@string/font_weight_text" />
|
||||
|
||||
<io.legato.kazusa.ui.widget.text.StrokeTextView
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/tv_text_font"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="6dp"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingRight="6dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:text="@string/text_font"
|
||||
android:textSize="14sp"
|
||||
app:isBottomBackground="true"
|
||||
app:radius="3dp" />
|
||||
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
style="@style/Widget.Material3.Button.TonalButton"
|
||||
android:text="@string/text_font" />
|
||||
|
||||
<io.legato.kazusa.ui.widget.text.StrokeTextView
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/tv_text_indent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="6dp"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingRight="6dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:text="@string/text_indent"
|
||||
android:textSize="14sp"
|
||||
app:isBottomBackground="true"
|
||||
app:radius="3dp" />
|
||||
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
style="@style/Widget.Material3.Button.TonalButton"
|
||||
android:text="@string/text_indent" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:gravity="center_vertical"
|
||||
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:gravity="center"
|
||||
android:paddingLeft="6dp"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingRight="6dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:textSize="14sp"
|
||||
app:isBottomBackground="true"
|
||||
app:radius="3dp" />
|
||||
android:layout_weight="1"
|
||||
style="@style/Widget.Material3.Button.TonalButton" />
|
||||
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<io.legato.kazusa.ui.widget.text.StrokeTextView
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/tv_padding"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="6dp"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingRight="6dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:text="@string/padding"
|
||||
android:textSize="14sp"
|
||||
app:isBottomBackground="true"
|
||||
app:radius="3dp" />
|
||||
android:layout_weight="1"
|
||||
style="@style/Widget.Material3.Button.TonalButton"
|
||||
android:text="@string/padding" />
|
||||
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<io.legato.kazusa.ui.widget.text.StrokeTextView
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/tv_tip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="6dp"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingRight="6dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:text="@string/information"
|
||||
android:textSize="14sp"
|
||||
app:isBottomBackground="true"
|
||||
app:radius="3dp" />
|
||||
android:layout_weight="1"
|
||||
style="@style/Widget.Material3.Button.TonalButton"
|
||||
android:text="@string/information" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -182,13 +142,14 @@
|
||||
<HorizontalScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="11dp"
|
||||
android:layout_marginStart="11dp"
|
||||
android:scrollbars="none">
|
||||
|
||||
<com.google.android.material.chip.ChipGroup
|
||||
android:id="@+id/rg_page_anim"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingEnd="11dp"
|
||||
app:singleLine="true"
|
||||
app:singleSelection="true"
|
||||
app:selectionRequired="true">
|
||||
@@ -200,8 +161,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="4dp"
|
||||
android:text="@string/page_anim_cover"
|
||||
app:chipStrokeColor="@color/primaryText"
|
||||
app:chipStrokeWidth="1dp" />
|
||||
/>
|
||||
|
||||
<!-- 滑动动画 Chip -->
|
||||
<com.google.android.material.chip.Chip
|
||||
@@ -211,7 +171,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="4dp"
|
||||
android:text="@string/page_anim_slide"
|
||||
app:chipStrokeColor="@color/primaryText"
|
||||
app:chipStrokeWidth="1dp" />
|
||||
|
||||
<!-- 仿真翻页 Chip -->
|
||||
@@ -222,7 +181,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="4dp"
|
||||
android:text="@string/page_anim_simulation"
|
||||
app:chipStrokeColor="@color/primaryText"
|
||||
app:chipStrokeWidth="1dp" />
|
||||
|
||||
<!-- 滚动动画 Chip -->
|
||||
@@ -233,7 +191,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="4dp"
|
||||
android:text="@string/page_anim_scroll"
|
||||
app:chipStrokeColor="@color/primaryText"
|
||||
app:chipStrokeWidth="1dp" />
|
||||
|
||||
<!-- 无动画 Chip -->
|
||||
@@ -244,7 +201,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="4dp"
|
||||
android:text="@string/page_anim_none"
|
||||
app:chipStrokeColor="@color/primaryText"
|
||||
app:chipStrokeWidth="1dp" />
|
||||
|
||||
</com.google.android.material.chip.ChipGroup>
|
||||
|
||||
Reference in new issue
Block a user