aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml-cs
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-12-13 17:30:51 +0900
committerTadashi G. Takaoka <takaoka@google.com>2011-12-14 16:28:31 +0900
commitf86109ca563df283b336c62853533c54134dfc56 (patch)
tree7a5ddd9831e636b699165390fdf39c6ee1adf898 /java/res/xml-cs
parentcfe264bfee15344282f4a2f42cfc7ee905f0eba8 (diff)
downloadlatinime-f86109ca563df283b336c62853533c54134dfc56.tar.gz
latinime-f86109ca563df283b336c62853533c54134dfc56.tar.xz
latinime-f86109ca563df283b336c62853533c54134dfc56.zip
Utilize KeyboardSet XML definitions
This change introduces KeyboardSet and SubKeyboard XML definitions to represent a set of keyboard layouts. Bug: 5002108 Bug: 5679585 Change-Id: Ib6c8d5936187381bb6725c9fe574e93871c01a86
Diffstat (limited to 'java/res/xml-cs')
-rw-r--r--java/res/xml-cs/keyboard_set.xml (renamed from java/res/xml-cs/kbd_qwerty.xml)27
1 files changed, 21 insertions, 6 deletions
diff --git a/java/res/xml-cs/kbd_qwerty.xml b/java/res/xml-cs/keyboard_set.xml
index 9991ea2d2..94076d3e0 100644
--- a/java/res/xml-cs/kbd_qwerty.xml
+++ b/java/res/xml-cs/keyboard_set.xml
@@ -18,10 +18,25 @@
*/
-->
-<Keyboard
+<KeyboardSet
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
- latin:keyboardLocale="cs"
->
- <include
- latin:keyboardLayout="@xml/kbd_rows_qwertz" />
-</Keyboard>
+ latin:keyboardLocale="cs">
+ <Element
+ latin:elementName="alphabet"
+ latin:elementKeyboard="@xml/kbd_qwertz" />
+ <Element
+ latin:elementName="symbols"
+ latin:elementKeyboard="@xml/kbd_symbols" />
+ <Element
+ latin:elementName="symbolsShift"
+ latin:elementKeyboard="@xml/kbd_symbols_shift" />
+ <Element
+ latin:elementName="phone"
+ latin:elementKeyboard="@xml/kbd_phone" />
+ <Element
+ latin:elementName="phoneShift"
+ latin:elementKeyboard="@xml/kbd_phone_shift" />
+ <Element
+ latin:elementName="number"
+ latin:elementKeyboard="@xml/kbd_number" />
+</KeyboardSet>