better name for current mode

This commit is contained in:
Jarrad Hope 2015-10-21 16:54:32 +08:00
parent afc0fcc228
commit 41e269cc59
2 changed files with 8 additions and 4 deletions

View File

@ -18,18 +18,22 @@
<string name="pref_title_running_mode">Running Mode</string>
<string name="pref_running_mode_full_name">Full Client</string>
<string name="pref_running_mode_json_name">JSON Proxy</string>
<string name="pref_running_mode_light_name">Light Client</string>
<string name="pref_running_mode_full_value">1</string>
<string name="pref_running_mode_light_value">2</string>
<string name="pref_running_mode_json_value">2</string>
<string name="pref_running_mode_light_value">3</string>
<string-array name="pref_running_modes_titles">
<item>@string/pref_running_mode_full_name</item>
<item>@string/pref_running_mode_light_name</item>
<item>@string/pref_running_mode_json_name</item>
<!--<item>@string/pref_running_mode_light_name</item>-->
</string-array>
<string-array name="pref_running_modes_values">
<item>@string/pref_running_mode_full_value</item>
<item>@string/pref_running_mode_light_value</item>
<item>@string/pref_running_mode_json_value</item>
<!--<item>@string/pref_running_mode_light_value</item>-->
</string-array>
<!-- Example settings for Data & Sync -->

View File

@ -2,7 +2,7 @@
<ListPreference
android:defaultValue="@string/pref_running_mode_light_value"
android:defaultValue="@string/pref_running_mode_json_value"
android:entries="@array/pref_running_modes_titles"
android:entryValues="@array/pref_running_modes_values"
android:key="@string/pref_running_mode_key"