aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/rows_thai.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-03-22 15:31:47 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-03-23 16:29:44 +0900
commit5f32a47e4536ce55fdc8182f1a206e417c951c25 (patch)
tree58c81723bb0f179920d2bbb7aa670bc862d9326e /java/res/xml/rows_thai.xml
parent6ef88a89010030dd413f72133f9abf5b32a7f307 (diff)
downloadlatinime-5f32a47e4536ce55fdc8182f1a206e417c951c25.tar.gz
latinime-5f32a47e4536ce55fdc8182f1a206e417c951c25.tar.xz
latinime-5f32a47e4536ce55fdc8182f1a206e417c951c25.zip
Support Thai Keyboard
Bug: 6070772 Change-Id: Ib7078d062801e17db500f0cd0b4b53d5433b75d1
Diffstat (limited to 'java/res/xml/rows_thai.xml')
-rw-r--r--java/res/xml/rows_thai.xml55
1 files changed, 55 insertions, 0 deletions
diff --git a/java/res/xml/rows_thai.xml b/java/res/xml/rows_thai.xml
new file mode 100644
index 000000000..6b80df640
--- /dev/null
+++ b/java/res/xml/rows_thai.xml
@@ -0,0 +1,55 @@
+<?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/rowkeys_thai1" />
+ </Row>
+ <Row
+ latin:keyWidth="10%p"
+ >
+ <include
+ latin:keyboardLayout="@xml/rowkeys_thai2"
+ latin:keyXPos="5%p" />
+ </Row>
+ <Row
+ latin:keyWidth="10%p"
+ >
+ <Key
+ latin:keyStyle="shiftKeyStyle"
+ latin:keyWidth="15%p"
+ latin:visualInsetsRight="1%p" />
+ <include
+ latin:keyboardLayout="@xml/rowkeys_thai3" />
+ <Key
+ latin:keyStyle="deleteKeyStyle"
+ latin:keyWidth="fillRight"
+ latin:visualInsetsLeft="1%p" />
+ </Row>
+ <include
+ latin:keyboardLayout="@xml/row_qwerty4" />
+</merge>