aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-02-18 11:28:17 +0900
committerTadashi G. Takaoka <takaoka@google.com>2011-02-18 14:45:37 +0900
commitaa721c4783616e65a42fb5f234f2b3909ccdd931 (patch)
treeb2c091ee521d134654fc89bbc516a72bde96b779 /java/res
parentb32f1b60554d9e627728bbbb712e85fff547cb8d (diff)
downloadlatinime-aa721c4783616e65a42fb5f234f2b3909ccdd931.tar.gz
latinime-aa721c4783616e65a42fb5f234f2b3909ccdd931.tar.xz
latinime-aa721c4783616e65a42fb5f234f2b3909ccdd931.zip
Add "enabled" as an attribute of Key in Keyboard xml
If the key is marked as "enabled=false", the key will not respond to be pressed. Bug: 3384942 Change-Id: I1ea82d9f3dfa5a9916ff3bbc736ea7e6c77426ae
Diffstat (limited to 'java/res')
-rw-r--r--java/res/values/attrs.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml
index 9759e0eb6..b6d5fdc62 100644
--- a/java/res/values/attrs.xml
+++ b/java/res/values/attrs.xml
@@ -140,6 +140,8 @@
<attr name="keyStyle" format="string" />
<!-- Shift key icon for shifted state -->
<attr name="shiftedIcon" format="reference" />
+ <!-- The key is enabled and responds on press. -->
+ <attr name="enabled" format="boolean" />
</declare-styleable>
<declare-styleable name="Keyboard_Row">