diff options
author | 2014-09-09 06:19:03 +0000 | |
---|---|---|
committer | 2014-09-09 06:19:03 +0000 | |
commit | 1b459415883fa7ba8cf9b7237d4b78f030086f05 (patch) | |
tree | d07382e1425914123b89a3607a8d90dc2d284f18 /java/res/xml-sw600dp | |
parent | 5e3b3ab80994963b79fb0ca6f402ca3bc1a2260d (diff) | |
parent | 486c4894ce0917fc7b18eaee4bfd031051f2b05b (diff) | |
download | latinime-1b459415883fa7ba8cf9b7237d4b78f030086f05.tar.gz latinime-1b459415883fa7ba8cf9b7237d4b78f030086f05.tar.xz latinime-1b459415883fa7ba8cf9b7237d4b78f030086f05.zip |
am 486c4894: Keep aspect ratio of Material action key background
* commit '486c4894ce0917fc7b18eaee4bfd031051f2b05b':
Keep aspect ratio of Material action key background
Diffstat (limited to 'java/res/xml-sw600dp')
-rw-r--r-- | java/res/xml-sw600dp/key_styles_enter.xml | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/java/res/xml-sw600dp/key_styles_enter.xml b/java/res/xml-sw600dp/key_styles_enter.xml index d066d2d12..63ef2f8f9 100644 --- a/java/res/xml-sw600dp/key_styles_enter.xml +++ b/java/res/xml-sw600dp/key_styles_enter.xml @@ -80,13 +80,27 @@ </default> </switch> <!-- Enter key style --> - <key-style - latin:styleName="defaultEnterKeyStyle" - latin:keySpec="!icon/enter_key|!code/key_enter" - latin:keyLabelFlags="preserveCase|autoXScale|followKeyLabelRatio|followFunctionalTextColor" - latin:keyActionFlags="noKeyPreview" - latin:backgroundType="action" - latin:parentStyle="navigateMoreKeysStyle" /> + <switch> + <case latin:keyboardTheme="ICS|KLP"> + <key-style + latin:styleName="defaultEnterKeyStyle" + latin:keySpec="!icon/enter_key|!code/key_enter" + latin:keyLabelFlags="preserveCase|autoXScale|followKeyLabelRatio|followFunctionalTextColor" + latin:keyActionFlags="noKeyPreview" + latin:backgroundType="action" + latin:parentStyle="navigateMoreKeysStyle" /> + </case> + <!-- keyboardTheme="LXXLight|LXXDark" --> + <default> + <key-style + latin:styleName="defaultEnterKeyStyle" + latin:keySpec="!icon/enter_key|!code/key_enter" + latin:keyLabelFlags="preserveCase|autoXScale|followKeyLabelRatio|followFunctionalTextColor|keepBackgroundAspectRatio" + latin:keyActionFlags="noKeyPreview" + latin:backgroundType="action" + latin:parentStyle="navigateMoreKeysStyle" /> + </default> + </switch> <include latin:keyboardLayout="@xml/key_styles_actions" /> <switch> <!-- Shift + Enter in textMultiLine field. --> |