diff options
author | 2010-10-12 15:02:44 +0900 | |
---|---|---|
committer | 2010-10-14 13:40:31 +0900 | |
commit | 3d20d999025bbaab96b41d172225a39f7a1017b7 (patch) | |
tree | 115f26d2229b74c41db233d87927a8c0913fa31f /java/res/xml-iw | |
parent | 0963c781f2278a73363f2db57b0d0ec30c37b371 (diff) | |
download | latinime-3d20d999025bbaab96b41d172225a39f7a1017b7.tar.gz latinime-3d20d999025bbaab96b41d172225a39f7a1017b7.tar.xz latinime-3d20d999025bbaab96b41d172225a39f7a1017b7.zip |
Specify keyboard metrics with physical unit "inch" (DO NOT MERGE)
This change also introduces the key background drawables which has no
fixed bottom padding. Instead of relying on bottom padding in
drawable, this change also specifies Keyboard.verticalGap with
physical unit. Other keyboard related length, distance and size are
also specified by physical unit.
Bug: 3066107
Change-Id: I44f3b2eef8086d6e0b0db53d38f08487549060c6
Diffstat (limited to 'java/res/xml-iw')
-rw-r--r-- | java/res/xml-iw/kbd_qwerty.xml | 6 | ||||
-rw-r--r-- | java/res/xml-iw/kbd_qwerty_black.xml | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/java/res/xml-iw/kbd_qwerty.xml b/java/res/xml-iw/kbd_qwerty.xml index a48c849d0..0ad2ca3c3 100644 --- a/java/res/xml-iw/kbd_qwerty.xml +++ b/java/res/xml-iw/kbd_qwerty.xml @@ -22,10 +22,12 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:keyWidth="10%p" android:horizontalGap="0px" - android:verticalGap="0px" + android:verticalGap="@dimen/key_bottom_gap" android:keyHeight="@dimen/key_height" > - <Row> + <Row + android:rowEdgeFlags="top" + > <Key android:keyLabel="ק" android:horizontalGap="5%p" diff --git a/java/res/xml-iw/kbd_qwerty_black.xml b/java/res/xml-iw/kbd_qwerty_black.xml index a72b036f4..10ca0fc12 100644 --- a/java/res/xml-iw/kbd_qwerty_black.xml +++ b/java/res/xml-iw/kbd_qwerty_black.xml @@ -22,10 +22,12 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:keyWidth="10%p" android:horizontalGap="0px" - android:verticalGap="0px" + android:verticalGap="@dimen/key_bottom_gap" android:keyHeight="@dimen/key_height" > - <Row> + <Row + android:rowEdgeFlags="top" + > <Key android:keyLabel="ק" android:horizontalGap="5%p" |