aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-01-25 13:14:59 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-01-25 19:09:18 +0900
commit83306b914f36871f785677ca13e1ce8033774b79 (patch)
treeae4fdaf492ed3716fbab71c25d31f24629d3bb45 /java/res
parent117c124c13f0e6af737b1858bd5c4d9e6e7eb353 (diff)
downloadlatinime-83306b914f36871f785677ca13e1ce8033774b79.tar.gz
latinime-83306b914f36871f785677ca13e1ce8033774b79.tar.xz
latinime-83306b914f36871f785677ca13e1ce8033774b79.zip
Add element predicator to <switch><case> condition of Keyboard
Change-Id: I8f9eb8eb28707d23e421e88f979022d844a3b3ee
Diffstat (limited to 'java/res')
-rw-r--r--java/res/values/attrs.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml
index 57aa5ddf5..5824d1736 100644
--- a/java/res/values/attrs.xml
+++ b/java/res/values/attrs.xml
@@ -294,6 +294,19 @@
</declare-styleable>
<declare-styleable name="Keyboard_Case">
+ <!-- This should be aligned with KeyboardSet_Element's elementName. -->
+ <attr name="keyboardSetElement" format="enum|string">
+ <enum name="alphabet" value="0" />
+ <enum name="alphabetManualShifted" value="1" />
+ <enum name="alphabetAutomaticShifted" value="2" />
+ <enum name="alphabetShiftLocked" value="3" />
+ <enum name="alphabetShiftLockShifted" value="4" />
+ <enum name="symbols" value="5" />
+ <enum name="symbolsShifted" value="6" />
+ <enum name="phone" value="7" />
+ <enum name="phoneShifted" value="8" />
+ <enum name="number" value="9" />
+ </attr>
<!-- This should be aligned with KeyboardId.MODE_* -->
<attr name="mode" format="enum|string">
<enum name="text" value="0" />