aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2013-01-18 16:47:49 +0900
committerTadashi G. Takaoka <takaoka@google.com>2013-01-18 19:10:55 +0900
commit2df0cf2c5a0142a4274bafee6cd53540ac7a1ce9 (patch)
treed8cf9ad181773209bae377f7b1f9f5389b2f61d4 /java/res/xml
parente6a9655a0362bebccdf0d51ebc3579573617c95a (diff)
downloadlatinime-2df0cf2c5a0142a4274bafee6cd53540ac7a1ce9.tar.gz
latinime-2df0cf2c5a0142a4274bafee6cd53540ac7a1ce9.tar.xz
latinime-2df0cf2c5a0142a4274bafee6cd53540ac7a1ce9.zip
Add SeekBarDialogPreference
This change removes SeekBarDialog class. Change-Id: I437b1e554a5af264b8031ebe05b8250a831c8d3b
Diffstat (limited to 'java/res/xml')
-rw-r--r--java/res/xml/prefs.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/java/res/xml/prefs.xml b/java/res/xml/prefs.xml
index 4ffbf14d5..cc1b52ba6 100644
--- a/java/res/xml/prefs.xml
+++ b/java/res/xml/prefs.xml
@@ -16,6 +16,7 @@
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
android:title="@string/english_ime_settings"
android:key="english_ime_settings">
<PreferenceCategory
@@ -144,12 +145,15 @@
<ListPreference
android:key="pref_key_preview_popup_dismiss_delay"
android:title="@string/key_preview_popup_dismiss_delay" />
- <PreferenceScreen
+ <com.android.inputmethod.latin.SeekBarDialogPreference
android:key="pref_vibration_duration_settings"
- android:title="@string/prefs_keypress_vibration_duration_settings"/>
- <PreferenceScreen
+ android:title="@string/prefs_keypress_vibration_duration_settings"
+ latin:valueFormatText="@string/abbreviation_unit_milliseconds"
+ latin:maxValue="@integer/config_max_vibration_duration" />
+ <com.android.inputmethod.latin.SeekBarDialogPreference
android:key="pref_keypress_sound_volume"
- android:title="@string/prefs_keypress_sound_volume_settings" />
+ android:title="@string/prefs_keypress_sound_volume_settings"
+ latin:maxValue="100" /> <!-- percent -->
</PreferenceScreen>
<PreferenceScreen
android:key="debug_settings"