aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-03-08 17:48:18 -0800
committerTadashi G. Takaoka <takaoka@google.com>2011-03-08 18:02:18 -0800
commit6a75cd124d885df1b257d63c9c2b0561a9b09b84 (patch)
tree9e9c8c6685e6fb5cad47d979b1f9235815c9d290 /java/res
parentab0ee37f52b87756c6d91aecd508fda821aeb4b6 (diff)
downloadlatinime-6a75cd124d885df1b257d63c9c2b0561a9b09b84.tar.gz
latinime-6a75cd124d885df1b257d63c9c2b0561a9b09b84.tar.xz
latinime-6a75cd124d885df1b257d63c9c2b0561a9b09b84.zip
Add alphabet hint to number password layout
Bug: 4063047 Change-Id: I53e79edcb15d4da73a72d14a38224e80b612c115
Diffstat (limited to 'java/res')
-rw-r--r--java/res/xml-xlarge/kbd_number.xml22
-rw-r--r--java/res/xml/kbd_number.xml1
2 files changed, 13 insertions, 10 deletions
diff --git a/java/res/xml-xlarge/kbd_number.xml b/java/res/xml-xlarge/kbd_number.xml
index ce3277b5d..012b75115 100644
--- a/java/res/xml-xlarge/kbd_number.xml
+++ b/java/res/xml-xlarge/kbd_number.xml
@@ -31,6 +31,8 @@
>
<include
latin:keyboardLayout="@xml/kbd_key_styles" />
+ <include
+ latin:keyboardLayout="@xml/kbd_numkey_styles" />
<switch>
<case
latin:passwordInput="true"
@@ -40,11 +42,11 @@
<Spacer
latin:horizontalGap="32.076%p" />
<Key
- latin:keyLabel="1" />
+ latin:keyStyle="num1KeyStyle" />
<Key
- latin:keyLabel="2" />
+ latin:keyStyle="num2KeyStyle" />
<Key
- latin:keyLabel="3" />
+ latin:keyStyle="num3KeyStyle" />
<Spacer
latin:horizontalGap="22.272%p" />
<Key
@@ -56,11 +58,11 @@
<Spacer
latin:horizontalGap="32.076%p" />
<Key
- latin:keyLabel="4" />
+ latin:keyStyle="num4KeyStyle" />
<Key
- latin:keyLabel="5" />
+ latin:keyStyle="num5KeyStyle" />
<Key
- latin:keyLabel="6" />
+ latin:keyStyle="num6KeyStyle" />
<Spacer
latin:horizontalGap="17.371%p" />
<Key
@@ -72,11 +74,11 @@
<Spacer
latin:horizontalGap="32.076%p" />
<Key
- latin:keyLabel="7" />
+ latin:keyStyle="num7KeyStyle" />
<Key
- latin:keyLabel="8" />
+ latin:keyStyle="num8KeyStyle" />
<Key
- latin:keyLabel="9" />
+ latin:keyStyle="num9KeyStyle" />
<!-- There is an empty area below the "Enter" key and right of the "9" key. To
ignore the touch event on the area, "9" is intentionally not marked as a right
edge key. -->
@@ -86,7 +88,7 @@
<Spacer
latin:horizontalGap="44.026%p" />
<Key
- latin:keyLabel="0" />
+ latin:keyStyle="num0KeyStyle" />
<!-- There is an empty area below the "Enter" key and right of the "#" key. To
ignore the touch event on the area, "#" is intentionally not marked as a right
edge key. -->
diff --git a/java/res/xml/kbd_number.xml b/java/res/xml/kbd_number.xml
index f4fe8401a..7bd679bce 100644
--- a/java/res/xml/kbd_number.xml
+++ b/java/res/xml/kbd_number.xml
@@ -31,6 +31,7 @@
>
<include
latin:keyboardLayout="@xml/kbd_key_styles" />
+ <!-- TODO: Should add number password layout just like the xlarge layout does. -->
<switch>
<case
latin:colorScheme="white"