aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/row_qwerty4.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-02-17 17:46:01 -0800
committerTadashi G. Takaoka <takaoka@google.com>2012-03-07 10:03:21 +0900
commit81d4e3cd66a9388c47c7dba55240ddf849b31934 (patch)
treea4153e545974cb4e95f173d1930cf62275b6cb43 /java/res/xml/row_qwerty4.xml
parent168d2c094ba5152cf8e1423f66c5e5e2a72e47f9 (diff)
downloadlatinime-81d4e3cd66a9388c47c7dba55240ddf849b31934.tar.gz
latinime-81d4e3cd66a9388c47c7dba55240ddf849b31934.tar.xz
latinime-81d4e3cd66a9388c47c7dba55240ddf849b31934.zip
Add language switch key only to the phone layouts
Bug: 5759092 Change-Id: Ic7d7d4812976654c0e85fecabd1128eadfc52c5c
Diffstat (limited to 'java/res/xml/row_qwerty4.xml')
-rw-r--r--java/res/xml/row_qwerty4.xml20
1 files changed, 17 insertions, 3 deletions
diff --git a/java/res/xml/row_qwerty4.xml b/java/res/xml/row_qwerty4.xml
index df9c8fe3f..0dd2177e8 100644
--- a/java/res/xml/row_qwerty4.xml
+++ b/java/res/xml/row_qwerty4.xml
@@ -57,9 +57,23 @@
latin:keyStyle="f1MoreKeysStyle" />
</default>
</switch>
- <Key
- latin:keyStyle="spaceKeyStyle"
- latin:keyWidth="50%p" />
+ <switch>
+ <case
+ latin:languageSwitchKeyEnabled="true"
+ >
+ <Key
+ latin:keyStyle="languageSwitchKeyStyle" />
+ <Key
+ latin:keyStyle="spaceKeyStyle"
+ latin:keyWidth="40%p" />
+ </case>
+ <!-- languageSwitchKeyEnabled="false" -->
+ <default>
+ <Key
+ latin:keyStyle="spaceKeyStyle"
+ latin:keyWidth="50%p" />
+ </default>
+ </switch>
<Key
latin:keyStyle="punctuationKeyStyle" />
<Key