aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/key_styles_common.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-02-07 19:34:34 +0900
committerTadashi G. Takaoka <takaoka@google.com>2014-02-07 19:35:00 +0900
commitc8a0117c9c5694b21be704008bfd9ecdf1071729 (patch)
tree87eb7e451a078975fee8f8c79bb8b55b2ebf235f /java/res/xml/key_styles_common.xml
parent4f72923fa2d9da819699e84922d56abfdfe16355 (diff)
downloadlatinime-c8a0117c9c5694b21be704008bfd9ecdf1071729.tar.gz
latinime-c8a0117c9c5694b21be704008bfd9ecdf1071729.tar.xz
latinime-c8a0117c9c5694b21be704008bfd9ecdf1071729.zip
Fix undefined emojiKeyStyle
Change-Id: I6798f524c9ac0d2911f2b83a5a5ef650f0815917
Diffstat (limited to 'java/res/xml/key_styles_common.xml')
-rw-r--r--java/res/xml/key_styles_common.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/java/res/xml/key_styles_common.xml b/java/res/xml/key_styles_common.xml
index d4c9b7d58..f04fc45bb 100644
--- a/java/res/xml/key_styles_common.xml
+++ b/java/res/xml/key_styles_common.xml
@@ -77,6 +77,12 @@
latin:keySpec="!icon/delete_key|!code/key_delete"
latin:keyActionFlags="isRepeatable|noKeyPreview"
latin:backgroundType="functional" />
+ <!-- emojiKeyStyle must be defined before including @xml/key_syles_enter. -->
+ <key-style
+ latin:styleName="emojiKeyStyle"
+ latin:keySpec="!icon/emoji_key|!code/key_emoji"
+ latin:keyActionFlags="noKeyPreview"
+ latin:backgroundType="functional" />
<include
latin:keyboardLayout="@xml/key_styles_enter" />
<key-style
@@ -110,11 +116,6 @@
latin:keyActionFlags="noKeyPreview|altCodeWhileTyping|enableLongPress"
latin:altCode="!code/key_space" />
<key-style
- latin:styleName="emojiKeyStyle"
- latin:keySpec="!icon/emoji_key|!code/key_emoji"
- latin:keyActionFlags="noKeyPreview"
- latin:backgroundType="functional" />
- <key-style
latin:styleName="tabKeyStyle"
latin:keySpec="!icon/tab_key|!code/key_tab"
latin:keyIconPreview="!icon/tab_key_preview"