diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/values/arrays.xml | 13 | ||||
-rw-r--r-- | res/values/strings.xml | 6 | ||||
-rw-r--r-- | res/xml/language_settings.xml | 7 |
3 files changed, 26 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 4e51050..11069a8 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -1176,5 +1176,18 @@ <item>SOUND</item> </string-array> + <!--- Volume key cursor control --> + <string-array name="volume_key_cursor_control_entries"> + <item>@string/volume_key_cursor_control_off</item> + <item>@string/volume_key_cursor_control_on</item> + <item>@string/volume_key_cursor_control_on_reverse</item> + </string-array> + + <string-array name="volume_key_cursor_control_values"> + <item>0</item> + <item>1</item> + <item>2</item> + </string-array> + <!-- **** CYANOGENMOD EDITS END **** --> </resources> diff --git a/res/values/strings.xml b/res/values/strings.xml index 1ddb803..c3e48bc 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -5037,5 +5037,11 @@ <string name="tiles_reset_title">Reset</string> <string name="tiles_reset_message">Restore the default displayed tiles and layout?</string> + <!--- Volume key cursor control --> + <string name="volume_key_cursor_control_title">Volume key cursor control</string> + <string name="volume_key_cursor_control_off">Disabled</string> + <string name="volume_key_cursor_control_on">Volume up/down moves cursor left/right</string> + <string name="volume_key_cursor_control_on_reverse">Volume up/down moves cursor right/left</string> + <!-- **** CYANOGENMOD ADDITIONS END **** --> </resources> diff --git a/res/xml/language_settings.xml b/res/xml/language_settings.xml index 0bbac06..46d16dc 100644 --- a/res/xml/language_settings.xml +++ b/res/xml/language_settings.xml @@ -73,6 +73,13 @@ android:summary="@string/ime_switcher_notify_summary" android:defaultValue="true" android:persistent="false" /> + <ListPreference + android:key="volume_key_cursor_control" + android:persistent="false" + android:dialogTitle="@string/volume_key_cursor_control_title" + android:title="@string/volume_key_cursor_control_title" + android:entries="@array/volume_key_cursor_control_entries" + android:entryValues="@array/volume_key_cursor_control_values" /> <PreferenceCategory android:key="voice_category" android:title="@string/voice_category" > |