feat: 优化代码

pull/103/head
kunfei 5 years ago
parent d98b1705d4
commit e2d7fbba99
  1. 1
      app/src/main/res/values/strings.xml
  2. 6
      app/src/main/res/xml/pref_config_aloud.xml

@ -607,4 +607,5 @@
<string name="record_log">记录日志</string>
<string name="chinese_converter">中文简繁体转换</string>
<string name="chage_icon_error">图标为矢量图标,Android8.0以前不支持</string>
<string name="aloud_config">朗读设置</string>
</resources>

@ -2,6 +2,10 @@
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<io.legado.app.lib.theme.prefs.ATEPreferenceCategory
android:title="@string/aloud_config"
app:iconSpaceReserved="false">
<io.legado.app.lib.theme.prefs.ATESwitchPreference
android:defaultValue="false"
android:title="@string/read_aloud_by_page"
@ -22,4 +26,6 @@
android:entryValues="@array/tts_speech_per_value"
app:iconSpaceReserved="false" />
</io.legado.app.lib.theme.prefs.ATEPreferenceCategory>
</androidx.preference.PreferenceScreen>
Loading…
Cancel
Save