[新增] 正文强调色设置 (@Luoyacheng)

This commit is contained in:
HapeLee committed 2026-01-10 03:31:25 +08:00
1 parent 6d5bf0828e
commit e31a6deed3
8 files changed
+115 -24

No files matched your search

+24 -9
View File
@@ -81,8 +81,25 @@
android:layout_height="wrap_content"
app:icon="@drawable/ic_text_weight_2"/>
<com.google.android.material.button.MaterialButton
android:id="@+id/btnShadowSet"
style="@style/Widget.Material3Expressive.Button.IconButton.Tonal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:icon="@drawable/ic_fill_colors" />
</com.google.android.material.button.MaterialButtonGroup>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="8dp"
android:text="@string/read_color"
android:textSize="14sp"
android:textStyle="bold" />
<com.google.android.material.button.MaterialButtonGroup
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -97,6 +114,13 @@
style="@style/Widget.Material3Expressive.Button.OutlinedButton"
android:text="@string/text_color" />
<io.legado.app.ui.widget.AccentColorButton
android:id="@+id/btn_text_accent_color"
style="@style/Widget.Material3Expressive.Button.OutlinedButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/text_accent_color" />
<io.legado.app.ui.widget.AccentColorButton
android:id="@+id/btnShadowColor"
android:layout_width="wrap_content"
@@ -104,15 +128,6 @@
style="@style/Widget.Material3Expressive.Button.OutlinedButton"
android:text="@string/text_shadow_color" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btnShadowSet"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/Widget.Material3Expressive.Button.IconButton.Outlined"
app:iconSize="20sp"
app:iconGravity="textStart"
app:icon="@drawable/ic_fill_colors" />
</com.google.android.material.button.MaterialButtonGroup>
<LinearLayout
+4 -2
View File
@@ -577,7 +577,7 @@
<string name="speak_engine">朗读引擎</string>
<string name="bg_image">背景图片</string>
<string name="bg_color">背景颜色</string>
<string name="text_color">文字颜色</string>
<string name="text_color">正文</string>
<string name="select_image">选择图片</string>
<string name="group_manage">分组管理</string>
<string name="group_select">分组选择</string>
@@ -1306,7 +1306,7 @@
<string name="text_shadow_x">X轴距离</string>
<string name="text_shadow_y">Y轴距离</string>
<string name="text_shadow_radius">阴影半径</string>
<string name="text_shadow_color">阴影颜色</string>
<string name="text_shadow_color">阴影</string>
<string name="global_read_setting">阅读显示 • 漫画相关</string>
<string name="screen_settings">屏幕显示与亮度</string>
<string name="reading_behavior">阅读行为</string>
@@ -1364,4 +1364,6 @@
<string name="edit_remark">编辑备注</string>
<string name="book_remark">书籍备注</string>
<string name="auto_check_new_backup_t">自动检查新备份</string>
<string name="text_accent_color">强调</string>
<string name="read_color">颜色样式</string>
</resources>
+3 -1
View File
@@ -1309,7 +1309,7 @@
<string name="text_shadow_x">X轴距离</string>
<string name="text_shadow_y">Y轴距离</string>
<string name="text_shadow_radius">阴影半径</string>
<string name="text_shadow_color">阴影颜色</string>
<string name="text_shadow_color">阴影</string>
<string name="global_read_setting">阅读显示 • 漫画相关</string>
<string name="screen_settings">屏幕显示与亮度</string>
<string name="reading_behavior">阅读行为</string>
@@ -1369,4 +1369,6 @@
<string name="book_remark">书籍备注</string>
<string name="save_to_local">保存至本地</string>
<string name="select_operation">选择操作</string>
<string name="text_accent_color">强调</string>
<string name="read_color">颜色样式</string>
</resources>