aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/row_pcqwerty5.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-04-23 13:52:26 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-04-25 16:34:59 +0900
commit49caddbdabe5ca666bdef9f842f134e30e7ffed9 (patch)
treed4fa863897299c59605b0ea912fa59b29ddcc884 /java/res/xml/row_pcqwerty5.xml
parentcbaf6d85f185ef34649825412dcc080b587fcf08 (diff)
downloadlatinime-49caddbdabe5ca666bdef9f842f134e30e7ffed9.tar.gz
latinime-49caddbdabe5ca666bdef9f842f134e30e7ffed9.tar.xz
latinime-49caddbdabe5ca666bdef9f842f134e30e7ffed9.zip
Support PC QWERTY layout
Bug: 4460018 Change-Id: I9a29f6a322af66f6a152fa1883b3686c5f7a3328
Diffstat (limited to 'java/res/xml/row_pcqwerty5.xml')
-rw-r--r--java/res/xml/row_pcqwerty5.xml75
1 files changed, 75 insertions, 0 deletions
diff --git a/java/res/xml/row_pcqwerty5.xml b/java/res/xml/row_pcqwerty5.xml
new file mode 100644
index 000000000..c9ee32c04
--- /dev/null
+++ b/java/res/xml/row_pcqwerty5.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2012, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<merge
+ xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
+>
+ <Row
+ latin:keyWidth="7.692%p"
+ >
+ <switch>
+ <case
+ latin:keyboardLayoutSetElement="symbols|symbolsShifted"
+ >
+ <Key
+ latin:keyStyle="toAlphaKeyStyle"
+ latin:keyWidth="11.538%p" />
+ </case>
+ <!-- keyboardLayoutSetElement="alphabet*" -->
+ <default>
+ <Key
+ latin:keyStyle="toSymbolKeyStyle"
+ latin:keyIcon="!icon/undefined"
+ latin:keyLabel="!text/label_to_symbol_key_pcqwerty"
+ latin:keyWidth="11.538%p" />
+ </default>
+ </switch>
+ <switch>
+ <case
+ latin:shortcutKeyEnabled="true"
+ >
+ <Key
+ latin:keyStyle="shortcutKeyStyle" />
+ </case>
+ </switch>
+ <switch>
+ <case
+ latin:languageSwitchKeyEnabled="true"
+ >
+ <Key
+ latin:keyStyle="languageSwitchKeyStyle"
+ latin:keyXPos="19.230%p" />
+ <Key
+ latin:keyStyle="spaceKeyStyle"
+ latin:keyWidth="53.844%p" />
+ </case>
+ <!-- languageSwitchKeyEnabled="false" -->
+ <default>
+ <Key
+ latin:keyStyle="spaceKeyStyle"
+ latin:keyXPos="19.230%p"
+ latin:keyWidth="61.536%p" />
+ </default>
+ </switch>
+ <Key
+ latin:keyStyle="enterKeyStyle"
+ latin:keyWidth="fillRight" />
+ </Row>
+</merge>