aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml-sw600dp
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-05-15 15:39:01 +0900
committerTadashi G. Takaoka <takaoka@google.com>2014-05-15 15:39:59 +0900
commit37ec0fe9840aeb3fdf4a5749945045f7a76fd16b (patch)
tree2cf8cee779f678fc7c918a4dd13fa8c810281ae2 /java/res/xml-sw600dp
parent50c21b5e9296a2cbde2ccd2b488f890f42291104 (diff)
downloadlatinime-37ec0fe9840aeb3fdf4a5749945045f7a76fd16b.tar.gz
latinime-37ec0fe9840aeb3fdf4a5749945045f7a76fd16b.tar.xz
latinime-37ec0fe9840aeb3fdf4a5749945045f7a76fd16b.zip
Use slightly dimmed text color for functional keys
This CL introduces two new key attributes to achieve this. - KeyboardView.functionalTextColor - followFunctionalTextColor flag for Key.keyLabelFlags Bug: 14419121 Change-Id: I45ca433dcc9cc8c6cf891e21d5316ee4048b0cad
Diffstat (limited to 'java/res/xml-sw600dp')
-rw-r--r--java/res/xml-sw600dp/key_styles_common.xml2
-rw-r--r--java/res/xml-sw600dp/key_styles_enter.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/res/xml-sw600dp/key_styles_common.xml b/java/res/xml-sw600dp/key_styles_common.xml
index f9b959b76..35b3576af 100644
--- a/java/res/xml-sw600dp/key_styles_common.xml
+++ b/java/res/xml-sw600dp/key_styles_common.xml
@@ -140,7 +140,7 @@
</switch>
<key-style
latin:styleName="baseForLayoutSwitchKeyStyle"
- latin:keyLabelFlags="preserveCase"
+ latin:keyLabelFlags="preserveCase|followFunctionalTextColor"
latin:keyActionFlags="noKeyPreview"
latin:backgroundType="functional" />
<key-style
diff --git a/java/res/xml-sw600dp/key_styles_enter.xml b/java/res/xml-sw600dp/key_styles_enter.xml
index 99ac10873..742bb3ec3 100644
--- a/java/res/xml-sw600dp/key_styles_enter.xml
+++ b/java/res/xml-sw600dp/key_styles_enter.xml
@@ -100,7 +100,7 @@
<key-style
latin:styleName="defaultEnterKeyStyle"
latin:keySpec="!icon/enter_key|!code/key_enter"
- latin:keyLabelFlags="preserveCase|autoXScale|followKeyLabelRatio"
+ latin:keyLabelFlags="preserveCase|autoXScale|followKeyLabelRatio|followFunctionalTextColor"
latin:keyActionFlags="noKeyPreview"
latin:backgroundType="functional"
latin:parentStyle="navigateMoreKeysStyle" />