aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2010-09-12 06:07:55 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-12 06:07:55 -0700
commit3e5ebd3d407b09945d1ececd47b642338100559d (patch)
treea569d5c697e4e559dd3dba4fc0ad7544d61de1dc /java/res
parentfcaca2121b481517718ae3c6ab02df17d3e5667e (diff)
parent65dab9078dd0c77adcc49d08c46039dad2a950f6 (diff)
downloadlatinime-3e5ebd3d407b09945d1ececd47b642338100559d.tar.gz
latinime-3e5ebd3d407b09945d1ececd47b642338100559d.tar.xz
latinime-3e5ebd3d407b09945d1ececd47b642338100559d.zip
am 65dab907: am aed01227: Fix a bug in y-axis offset for sliding finger key detection for mini popup keyboard.
Merge commit '65dab9078dd0c77adcc49d08c46039dad2a950f6' * commit '65dab9078dd0c77adcc49d08c46039dad2a950f6': Fix a bug in y-axis offset for sliding finger key detection for mini popup keyboard.
Diffstat (limited to 'java/res')
-rw-r--r--java/res/values/attrs.xml3
-rw-r--r--java/res/values/styles.xml1
2 files changed, 4 insertions, 0 deletions
diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml
index e3171eb33..a8eaab9a3 100644
--- a/java/res/values/attrs.xml
+++ b/java/res/values/attrs.xml
@@ -46,6 +46,9 @@
<!-- Amount to offset the touch Y coordinate by, for bias correction. -->
<attr name="verticalCorrection" format="dimension" />
+ <!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
+ <attr name="miniKeyboardSlideAllowance" format="dimension" />
+
<!-- Layout resource for popup keyboards. -->
<attr name="popupLayout" format="reference" />
diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml
index 16478c883..6ec428603 100644
--- a/java/res/values/styles.xml
+++ b/java/res/values/styles.xml
@@ -27,6 +27,7 @@
<item name="labelTextSize">14sp</item>
<item name="popupLayout">@layout/keyboard_popup_keyboard</item>
<item name="verticalCorrection">-10dip</item>
+ <item name="miniKeyboardSlideAllowance">30dip</item>
<item name="shadowColor">#BB000000</item>
<item name="shadowRadius">2.75</item>
<item name="backgroundDimAmount">0.5</item>