aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/rows_dvorak.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-04-19 20:16:35 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-04-20 17:28:32 +0900
commit78173bdf535e38a4f9c3bcc8038151de86071728 (patch)
tree3f6b92978850b6b1dd0e88ca1b549b83cf2c288b /java/res/xml/rows_dvorak.xml
parent25b5e627d8b269db165f5edf196def38a664c92c (diff)
downloadlatinime-78173bdf535e38a4f9c3bcc8038151de86071728.tar.gz
latinime-78173bdf535e38a4f9c3bcc8038151de86071728.tar.xz
latinime-78173bdf535e38a4f9c3bcc8038151de86071728.zip
Support Dvorak layout
Bug: 4460018 Change-Id: I08a9b556720f6c4f7089a8838c0869c9f88f479c
Diffstat (limited to 'java/res/xml/rows_dvorak.xml')
-rw-r--r--java/res/xml/rows_dvorak.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/java/res/xml/rows_dvorak.xml b/java/res/xml/rows_dvorak.xml
new file mode 100644
index 000000000..8e3d071b0
--- /dev/null
+++ b/java/res/xml/rows_dvorak.xml
@@ -0,0 +1,56 @@
+<?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"
+>
+ <include
+ latin:keyboardLayout="@xml/key_styles_common" />
+ <Row
+ latin:keyWidth="10%p"
+ >
+ <include
+ latin:keyboardLayout="@xml/keys_dvorak_123" />
+ <include
+ latin:keyboardLayout="@xml/rowkeys_dvorak1" />
+ </Row>
+ <Row
+ latin:keyWidth="10%p"
+ >
+ <include
+ latin:keyboardLayout="@xml/rowkeys_dvorak2" />
+ </Row>
+ <Row
+ latin:keyWidth="10%p"
+ >
+ <Key
+ latin:keyStyle="shiftKeyStyle"
+ latin:keyWidth="15%p"
+ latin:visualInsetsRight="1%p" />
+ <include
+ latin:keyboardLayout="@xml/rowkeys_dvorak3" />
+ <Key
+ latin:keyStyle="deleteKeyStyle"
+ latin:keyWidth="fillRight"
+ latin:visualInsetsLeft="1%p" />
+ </Row>
+ <include
+ latin:keyboardLayout="@xml/row_dvorak4" />
+</merge>