aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2009-08-19 15:16:33 -0700
committerAmith Yamasani <yamasani@google.com>2009-08-19 15:16:33 -0700
commitffa3fdd8197b3b3c115d7c779e6bf968bbe06d21 (patch)
treeadf741babb3a7eabec951f60e437d133b53c3d70 /src
parentd4b94b49aaddac5650549a573003a9a5473b4ab9 (diff)
downloadlatinime-ffa3fdd8197b3b3c115d7c779e6bf968bbe06d21.tar.gz
latinime-ffa3fdd8197b3b3c115d7c779e6bf968bbe06d21.tar.xz
latinime-ffa3fdd8197b3b3c115d7c779e6bf968bbe06d21.zip
Keyboard layout improvements.
Increase key height in portrait. Increase spacebar width and reduce punctuation width. Increase vertical target area for spacebar to avoid accidentally hitting "V" and "B". Increase height of candidate strip.
Diffstat (limited to 'src')
-rw-r--r--src/com/android/inputmethod/latin/LatinKeyboard.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/inputmethod/latin/LatinKeyboard.java b/src/com/android/inputmethod/latin/LatinKeyboard.java
index 8527d9cd5..619a18680 100644
--- a/src/com/android/inputmethod/latin/LatinKeyboard.java
+++ b/src/com/android/inputmethod/latin/LatinKeyboard.java
@@ -225,6 +225,8 @@ public class LatinKeyboard extends Keyboard {
y -= height / 10;
if (code == KEYCODE_SHIFT) x += width / 6;
if (code == KEYCODE_DELETE) x -= width / 6;
+ } else if (code == LatinIME.KEYCODE_SPACE) {
+ y += 5;
}
return super.isInside(x, y);
}