aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/key_styles_common.xml
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2013-09-05 17:58:10 +0900
committerSatoshi Kataoka <satok@google.com>2013-09-05 22:27:26 +0900
commitd6217a323cfa84928a61b2d84082457661ea0cdf (patch)
treeb51119d70202ae8618b60248d95e7afcb6e8e6bb /java/res/xml/key_styles_common.xml
parent80fe84b3a4808d5adb4e759f8d3807a3182ec5e5 (diff)
downloadlatinime-d6217a323cfa84928a61b2d84082457661ea0cdf.tar.gz
latinime-d6217a323cfa84928a61b2d84082457661ea0cdf.tar.xz
latinime-d6217a323cfa84928a61b2d84082457661ea0cdf.zip
Optimize layout
Bug: 9059539 Change-Id: Iabfd44daae1ef6da99a864859488a4f644240925
Diffstat (limited to 'java/res/xml/key_styles_common.xml')
-rw-r--r--java/res/xml/key_styles_common.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/java/res/xml/key_styles_common.xml b/java/res/xml/key_styles_common.xml
index 07436a4de..6b3dc9a0d 100644
--- a/java/res/xml/key_styles_common.xml
+++ b/java/res/xml/key_styles_common.xml
@@ -21,6 +21,20 @@
<merge
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
+ <switch>
+ <case
+ latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLockShifted"
+ >
+ <key-style
+ latin:styleName="hasShiftedLetterHintStyle"
+ latin:keyLabelFlags="hasShiftedLetterHint|shiftedLetterActivated" />
+ </case>
+ <default>
+ <key-style
+ latin:styleName="hasShiftedLetterHintStyle"
+ latin:keyLabelFlags="hasShiftedLetterHint" />
+ </default>
+ </switch>
<!-- Base key style for the key which may have settings or tab key as popup key. -->
<include
latin:keyboardLayout="@xml/key_styles_f1" />