添加保存主题

pull/363/head
gedoor 4 years ago
parent 5d96b0d543
commit 2c95ea0db8
  1. 3
      app/src/main/res/values-zh-rHK/strings.xml
  2. 3
      app/src/main/res/values-zh-rTW/strings.xml
  3. 3
      app/src/main/res/values-zh/strings.xml
  4. 3
      app/src/main/res/values/strings.xml
  5. 14
      app/src/main/res/xml/pref_config_theme.xml

@ -755,4 +755,7 @@
<string name="delete_all">删除所有</string>
<string name="import_str">导入</string>
<string name="export_str">导出</string>
<string name="save_theme_config">保存主题配置</string>
<string name="save_day_theme_summary">保存白天主题配置以共调用和分享</string>
<string name="save_night_theme_summary">保存夜间主题配置以共调用和分享</string>
</resources>

@ -755,5 +755,8 @@
<string name="delete_all">刪除所有</string>
<string name="import_str">导入</string>
<string name="export_str">导出</string>
<string name="save_theme_config">保存主题配置</string>
<string name="save_day_theme_summary">保存白天主题配置以共调用和分享</string>
<string name="save_night_theme_summary">保存夜间主题配置以共调用和分享</string>
</resources>

@ -755,4 +755,7 @@
<string name="un_select_all">全不选</string>
<string name="import_str">导入</string>
<string name="export_str">导出</string>
<string name="save_theme_config">保存主题配置</string>
<string name="save_day_theme_summary">保存白天主题配置以共调用和分享</string>
<string name="save_night_theme_summary">保存夜间主题配置以共调用和分享</string>
</resources>

@ -756,5 +756,8 @@
<string name="un_select_all">全不选</string>
<string name="import_str">导入</string>
<string name="export_str">导出</string>
<string name="save_theme_config">保存主题配置</string>
<string name="save_day_theme_summary">保存白天主题配置以共调用和分享</string>
<string name="save_night_theme_summary">保存夜间主题配置以共调用和分享</string>
</resources>

@ -82,6 +82,14 @@
app:allowDividerBelow="false"
app:iconSpaceReserved="false" />
<io.legado.app.ui.widget.prefs.Preference
android:key="saveDayTheme"
android:title="@string/save_theme_config"
android:summary="@string/save_day_theme_summary"
app:allowDividerAbove="false"
app:allowDividerBelow="false"
app:iconSpaceReserved="false" />
</io.legado.app.ui.widget.prefs.PreferenceCategory>
<io.legado.app.ui.widget.prefs.PreferenceCategory
@ -123,6 +131,12 @@
app:cpv_dialogType="preset"
app:iconSpaceReserved="false" />
<io.legado.app.ui.widget.prefs.Preference
android:key="saveNightTheme"
android:title="@string/save_theme_config"
android:summary="@string/save_night_theme_summary"
app:iconSpaceReserved="false" />
</io.legado.app.ui.widget.prefs.PreferenceCategory>
</androidx.preference.PreferenceScreen>
Loading…
Cancel
Save