aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/prefs_screen_debug.xml
diff options
context:
space:
mode:
authorAndy Wang <andywang@google.com>2014-10-21 17:03:05 +0900
committerAndy Wang <andywang@google.com>2014-10-30 11:45:41 +0900
commitbb9400aebc4cb0291b4f0208ecbc9ddc01dc79e1 (patch)
treee41760fb57991abaf33fb2ec077e0155e6c5e9b9 /java/res/xml/prefs_screen_debug.xml
parent80980574acfef74f9392da4fdbcba64d911cb66f (diff)
downloadlatinime-bb9400aebc4cb0291b4f0208ecbc9ddc01dc79e1.tar.gz
latinime-bb9400aebc4cb0291b4f0208ecbc9ddc01dc79e1.tar.xz
latinime-bb9400aebc4cb0291b4f0208ecbc9ddc01dc79e1.zip
Add a preference to resize the keyboard height.
The keyboard height is controlled by a slider in the debug preferences. Without access to debug preferences, this change is a no-op. Bug: 6867494 Change-Id: I984064ed1cab752876615f5ed582818474d6041b
Diffstat (limited to 'java/res/xml/prefs_screen_debug.xml')
-rw-r--r--java/res/xml/prefs_screen_debug.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/java/res/xml/prefs_screen_debug.xml b/java/res/xml/prefs_screen_debug.xml
index 13edf3ec6..905bc045c 100644
--- a/java/res/xml/prefs_screen_debug.xml
+++ b/java/res/xml/prefs_screen_debug.xml
@@ -76,6 +76,17 @@
android:key="pref_key_preview_dismiss_duration"
android:title="@string/prefs_key_popup_dismiss_duration_settings"
latin:maxValue="100" /> <!-- milliseconds -->
+ <CheckBoxPreference
+ android:key="pref_resize_keyboard"
+ android:title="@string/prefs_resize_keyboard"
+ android:defaultValue="false"
+ android:persistent="true" />
+ <com.android.inputmethod.latin.settings.SeekBarDialogPreference
+ android:dependency="pref_resize_keyboard"
+ android:key="pref_keyboard_height_scale"
+ android:title="@string/prefs_keyboard_height_scale"
+ latin:minValue="50"
+ latin:maxValue="120" /> <!-- percentage -->
<PreferenceScreen
android:key="read_external_dictionary"
android:title="@string/prefs_read_external_dictionary" />