aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml-sw600dp/row_qwerty4.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-04-20 11:19:07 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-04-20 16:27:21 +0900
commit9fa0a2e83f1daf2864d8caa24b8c507ad3c28e87 (patch)
tree3b8572922bd4894d8890a7989ba133b46f167d5f /java/res/xml-sw600dp/row_qwerty4.xml
parent6bfd5f631908c4afd893c9b25b353e5e16c5fc0c (diff)
downloadlatinime-9fa0a2e83f1daf2864d8caa24b8c507ad3c28e87.tar.gz
latinime-9fa0a2e83f1daf2864d8caa24b8c507ad3c28e87.tar.xz
latinime-9fa0a2e83f1daf2864d8caa24b8c507ad3c28e87.zip
Modularize keyboard XML files
* Remove duplicated xml-sw768dp/keys_apostrophe_dash.xml * Separate keys_apostrophe_dash.xml to key_apostorhe.xml and key_dash.ml * Separate key_space.xml from row_qwerty4.xml * Separate key_f1.xml from xml{,-sw600dp}/row_qwerty4.xml * Separate keys_f1f2.xml from xml-sw768dp/row_qwerty4.xml * Fix incorrectly named rows_symbols{,_shift}4.xml to row_symbols{,_shift}4.xml Change-Id: Id71967a016a348174d1fc265b654dbc233c6562e
Diffstat (limited to 'java/res/xml-sw600dp/row_qwerty4.xml')
-rw-r--r--java/res/xml-sw600dp/row_qwerty4.xml47
1 files changed, 7 insertions, 40 deletions
diff --git a/java/res/xml-sw600dp/row_qwerty4.xml b/java/res/xml-sw600dp/row_qwerty4.xml
index eec35b078..95b328b38 100644
--- a/java/res/xml-sw600dp/row_qwerty4.xml
+++ b/java/res/xml-sw600dp/row_qwerty4.xml
@@ -29,45 +29,10 @@
latin:keyWidth="13.0%p" />
<Key
latin:keyStyle="tabKeyStyle" />
- <switch>
- <case
- latin:mode="email"
- >
- <Key
- latin:keyStyle="comKeyStyle" />
- </case>
- <case
- latin:mode="url"
- >
- <Key
- latin:keyStyle="comKeyStyle" />
- </case>
- <default>
- <Key
- latin:keyLabel="/"
- latin:keyHintLabel="\@"
- latin:moreKeys="\@"
- latin:keyStyle="hasShiftedLetterHintStyle" />
- </default>
- </switch>
- <switch>
- <case
- latin:languageCode="fa"
- >
- <Key
- latin:keyStyle="spaceKeyStyle"
- latin:keyXPos="30.750%p"
- latin:keyWidth="30.850%p" />
- <Key
- latin:keyStyle="zwnjKeyStyle" />
- </case>
- <default>
- <Key
- latin:keyStyle="spaceKeyStyle"
- latin:keyXPos="30.750%p"
- latin:keyWidth="39.750%p" />
- </default>
- </switch>
+ <include
+ latin:keyboardLayout="@xml/key_f1" />
+ <include
+ latin:keyboardLayout="@xml/key_space" />
<switch>
<case
latin:languageCode="iw"
@@ -78,7 +43,9 @@
<!-- not languageCode="iw" -->
<default>
<include
- latin:keyboardLayout="@xml/keys_apostrophe_dash" />
+ latin:keyboardLayout="@xml/key_apostrophe" />
+ <include
+ latin:keyboardLayout="@xml/key_dash" />
</default>
</switch>
<Spacer