feat: 优化代码

pull/149/head
kunfei 5 years ago
parent 7f1add2b31
commit ad00e02df0
  1. 6
      app/src/main/res/values/array_values.xml
  2. 4
      app/src/main/res/xml/pref_config_other.xml

@ -38,5 +38,11 @@
<item>9</item> <item>9</item>
</string-array> </string-array>
<string-array name="screen_direction_value">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
</string-array>
</resources> </resources>

@ -8,10 +8,10 @@
<ListPreference <ListPreference
android:key="@string/pk_requested_direction" android:key="@string/pk_requested_direction"
android:defaultValue="@string/screen_unspecified" android:defaultValue="0"
android:title="@string/screen_direction" android:title="@string/screen_direction"
android:entries="@array/screen_direction_title" android:entries="@array/screen_direction_title"
android:entryValues="@array/screen_direction_title" android:entryValues="@array/screen_direction_value"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<io.legado.app.ui.widget.prefs.SwitchPreference <io.legado.app.ui.widget.prefs.SwitchPreference

Loading…
Cancel
Save