aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/rows_farsi.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-03-26 12:25:12 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-03-26 21:44:48 +0900
commit58d28b1ec9d1f30be9a87a82d778671833c288f8 (patch)
tree2c4a8a11cf486b27c0639f7abf56df487451e6c2 /java/res/xml/rows_farsi.xml
parent857464400959b518ce1ea1b9021b690bb7738b48 (diff)
downloadlatinime-58d28b1ec9d1f30be9a87a82d778671833c288f8.tar.gz
latinime-58d28b1ec9d1f30be9a87a82d778671833c288f8.tar.xz
latinime-58d28b1ec9d1f30be9a87a82d778671833c288f8.zip
Fix Farsi keyboard
Bug: 5456620 Change-Id: Ia54f084fbc7a238aeda1df234c723d9e675ce62f
Diffstat (limited to 'java/res/xml/rows_farsi.xml')
-rw-r--r--java/res/xml/rows_farsi.xml51
1 files changed, 51 insertions, 0 deletions
diff --git a/java/res/xml/rows_farsi.xml b/java/res/xml/rows_farsi.xml
new file mode 100644
index 000000000..cc0c526b3
--- /dev/null
+++ b/java/res/xml/rows_farsi.xml
@@ -0,0 +1,51 @@
+<?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_farsi1" />
+ </Row>
+ <Row
+ latin:keyWidth="10%p"
+ >
+ <include
+ latin:keyboardLayout="@xml/rowkeys_farsi2" />
+ </Row>
+ <Row
+ latin:keyWidth="10%p"
+ >
+ <include
+ latin:keyboardLayout="@xml/rowkeys_farsi3"
+ latin:keyXPos="5.0%p" />
+ <Key
+ latin:keyStyle="deleteKeyStyle"
+ latin:keyWidth="fillRight"
+ latin:visualInsetsLeft="1%p" />
+ </Row>
+ <include
+ latin:keyboardLayout="@xml/row_qwerty4" />
+</merge>