diff options
author | 2014-09-03 10:52:56 +0900 | |
---|---|---|
committer | 2014-09-03 23:37:03 +0900 | |
commit | 1c2cf71921f0f09e39c1df86c1e57d4c607aad34 (patch) | |
tree | b4a57c62993f7f2cb92b79092be0229d08ab9c87 /java/res/xml/key_styles_number.xml | |
parent | 5a9c9649db0e31eb8aa6a447dbde49e513933da3 (diff) | |
download | latinime-1c2cf71921f0f09e39c1df86c1e57d4c607aad34.tar.gz latinime-1c2cf71921f0f09e39c1df86c1e57d4c607aad34.tar.xz latinime-1c2cf71921f0f09e39c1df86c1e57d4c607aad34.zip |
Add new value "spacebar" to Key.backgroundType attribute
Bug: 17318036
Change-Id: Ie84438a6aa3adc14a9db603d0cd4d5e37a55d612
Diffstat (limited to 'java/res/xml/key_styles_number.xml')
-rw-r--r-- | java/res/xml/key_styles_number.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/java/res/xml/key_styles_number.xml b/java/res/xml/key_styles_number.xml index 14b202874..97ae6c6c3 100644 --- a/java/res/xml/key_styles_number.xml +++ b/java/res/xml/key_styles_number.xml @@ -123,4 +123,24 @@ latin:keyLabelFlags="alignIconToBottom" latin:keyActionFlags="enableLongPress" latin:parentStyle="numKeyBaseStyle" /> + <!-- TODO: Consolidate these space key styles with numSpaceKeyStyle above by introducing <case> + predicator that checks device form-factor. --> + <switch> + <case latin:keyboardTheme="ICS|KLP"> + <key-style + latin:styleName="tabletNumSpaceKeyStyle" + latin:keySpec="!icon/space_key|!code/key_space" + latin:backgroundType="functional" + latin:keyActionFlags="enableLongPress" + latin:parentStyle="numKeyBaseStyle" /> + </case> + <case latin:keyboardTheme="LXXLight|LXXDark"> + <key-style + latin:styleName="tabletNumSpaceKeyStyle" + latin:keySpec="!icon/space_key|!code/key_space" + latin:backgroundType="spacebar" + latin:keyActionFlags="enableLongPress" + latin:parentStyle="numKeyBaseStyle" /> + </case> + </switch> </merge> |