summaryrefslogtreecommitdiffstats
path: root/java/res/xml
diff options
context:
space:
mode:
authorAndy Wang <andywang@google.com>2014-12-02 13:01:11 +0900
committerAndy Wang <andywang@google.com>2014-12-05 16:21:20 +0900
commit8584db1461d286f8eb966c40eb0bc76e8c9df76a (patch)
tree702f83d695aa9d3e4e4ee319d66ad8453c08b022 /java/res/xml
parentd21db3cf617ce3f3d05bfb7d555338994d3c8c3c (diff)
downloadandroid_packages_inputmethods_LatinIME-8584db1461d286f8eb966c40eb0bc76e8c9df76a.tar.gz
android_packages_inputmethods_LatinIME-8584db1461d286f8eb966c40eb0bc76e8c9df76a.tar.bz2
android_packages_inputmethods_LatinIME-8584db1461d286f8eb966c40eb0bc76e8c9df76a.zip
Add keyboard margin options to place the keyboard dynamically.
Keyboard location and location can now be set in the debug options section. Change-Id: I87c5a1d679489e12dccf26632c399af28087629e
Diffstat (limited to 'java/res/xml')
-rw-r--r--java/res/xml/prefs_screen_debug.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/java/res/xml/prefs_screen_debug.xml b/java/res/xml/prefs_screen_debug.xml
index 905bc045c..31347271c 100644
--- a/java/res/xml/prefs_screen_debug.xml
+++ b/java/res/xml/prefs_screen_debug.xml
@@ -87,6 +87,24 @@
android:title="@string/prefs_keyboard_height_scale"
latin:minValue="50"
latin:maxValue="120" /> <!-- percentage -->
+ <com.android.inputmethod.latin.settings.SeekBarDialogPreference
+ android:dependency="pref_resize_keyboard"
+ android:key="pref_keyboard_bottom_margin"
+ android:title="@string/prefs_keyboard_bottom_margin"
+ latin:minValue="0"
+ latin:maxValue="50" /> <!-- percentage -->
+ <com.android.inputmethod.latin.settings.SeekBarDialogPreference
+ android:dependency="pref_resize_keyboard"
+ android:key="pref_keyboard_left_margin"
+ android:title="@string/prefs_keyboard_left_margin"
+ latin:minValue="0"
+ latin:maxValue="50" /> <!-- percentage -->
+ <com.android.inputmethod.latin.settings.SeekBarDialogPreference
+ android:dependency="pref_resize_keyboard"
+ android:key="pref_keyboard_right_margin"
+ android:title="@string/prefs_keyboard_right_margin"
+ latin:minValue="0"
+ latin:maxValue="50" /> <!-- percentage -->
<PreferenceScreen
android:key="read_external_dictionary"
android:title="@string/prefs_read_external_dictionary" />