aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml-sw768dp/rows_number_normal.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-04-23 15:33:59 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-04-24 01:47:03 +0900
commitc04075b1385cd362b3ecb48c8fa0e4d1f40a9b9a (patch)
treebd62495a6c893684a144392a419f71fe83a873b8 /java/res/xml-sw768dp/rows_number_normal.xml
parent9a7cdb2051ad7b73dcd5c49655bef5914f60cda1 (diff)
downloadlatinime-c04075b1385cd362b3ecb48c8fa0e4d1f40a9b9a.tar.gz
latinime-c04075b1385cd362b3ecb48c8fa0e4d1f40a9b9a.tar.xz
latinime-c04075b1385cd362b3ecb48c8fa0e4d1f40a9b9a.zip
Cleanup <include/> and etc. in keyboard XML
* Remove keyXPos and keyWidth from key_*.xml and make it more generic. * Add keyXPos and keyWidth to <include/> generalized key_*.xml. * Remove zero width <Spacer/> and fold into successive <include/>. Change-Id: I4b5c02a165ba0bc9ef8741be0b4938c1efaf5e27
Diffstat (limited to 'java/res/xml-sw768dp/rows_number_normal.xml')
-rw-r--r--java/res/xml-sw768dp/rows_number_normal.xml22
1 files changed, 5 insertions, 17 deletions
diff --git a/java/res/xml-sw768dp/rows_number_normal.xml b/java/res/xml-sw768dp/rows_number_normal.xml
index 0d75a37d2..42697cec1 100644
--- a/java/res/xml-sw768dp/rows_number_normal.xml
+++ b/java/res/xml-sw768dp/rows_number_normal.xml
@@ -137,8 +137,7 @@
latin:keyLabel="9"
latin:keyStyle="numKeyStyle" />
<!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
- <Spacer
- latin:keyWidth="0%p" />
+ <Spacer />
</Row>
<Row>
<include
@@ -157,20 +156,9 @@
<Key
latin:keyLabel="#"
latin:keyStyle="numKeyStyle" />
- <switch>
- <case
- latin:shortcutKeyEnabled="true"
- >
- <Key
- latin:keyStyle="shortcutKeyStyle"
- latin:keyXPos="-8.047%p"
- latin:keyWidth="fillRight" />
- </case>
- <default>
- <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
- <Spacer
- latin:keyWidth="0%p" />
- </default>
- </switch>
+ <include
+ latin:keyXPos="-8.047%p"
+ latin:keyWidth="fillRight"
+ latin:keyboardLayout="@xml/key_shortcut" />
</Row>
</merge>