aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml-sw600dp
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2013-07-03 14:49:25 +0900
committerTadashi G. Takaoka <takaoka@google.com>2013-07-03 19:50:14 +0900
commit5b3a54fada0b3073b96c2e7e865625007770e2e5 (patch)
treee12021024ccc99475470437290dbd738e3f3fcb0 /java/res/xml-sw600dp
parent614347bfd9ae8f9e1f79ce2fc070cfcb24c99274 (diff)
downloadlatinime-5b3a54fada0b3073b96c2e7e865625007770e2e5.tar.gz
latinime-5b3a54fada0b3073b96c2e7e865625007770e2e5.tar.xz
latinime-5b3a54fada0b3073b96c2e7e865625007770e2e5.zip
Add missing letter THEH to Perisan keyboard layout
With this change, the phone keyboard layout use quite similar one of the oridinal PC. The differences from the ordinal PC keyboard layout are: - Add letter JEH between letter TAH and ZAIN at 3rd row. - Move letter TCHEN from the most left of 1st row to the most left of 3rd row. The tablet keyboard layout is the same of of the phone except: - Add letter ALEF with MADDA above between letter WAW and letter TCHEN at 3rd row. This change also moves the delete key and the enter key on tablet to 1st and 2nd row respectively. Bug: 9371393 Change-Id: I964589055eb15549fe20e5ec45e02f7dc6b5686e
Diffstat (limited to 'java/res/xml-sw600dp')
-rw-r--r--java/res/xml-sw600dp/keys_farsi3_right.xml32
-rw-r--r--java/res/xml-sw600dp/rowkeys_farsi1.xml107
-rw-r--r--java/res/xml-sw600dp/rowkeys_farsi2.xml84
-rw-r--r--java/res/xml-sw600dp/rowkeys_farsi3.xml66
-rw-r--r--java/res/xml-sw600dp/rows_farsi.xml8
5 files changed, 36 insertions, 261 deletions
diff --git a/java/res/xml-sw600dp/keys_farsi3_right.xml b/java/res/xml-sw600dp/keys_farsi3_right.xml
new file mode 100644
index 000000000..3c91ae92d
--- /dev/null
+++ b/java/res/xml-sw600dp/keys_farsi3_right.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2013, 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"
+>
+ <!-- U+0622: "آ" ARABIC LETTER ALEF WITH MADDA ABOVE -->
+ <Key
+ latin:keyLabel="&#x0622;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+0686: "چ" ARABIC LETTER TCHEH -->
+ <Key
+ latin:keyLabel="&#x0686;"
+ latin:keyLabelFlags="fontNormal" />
+</merge>
diff --git a/java/res/xml-sw600dp/rowkeys_farsi1.xml b/java/res/xml-sw600dp/rowkeys_farsi1.xml
deleted file mode 100644
index 6dd9a6575..000000000
--- a/java/res/xml-sw600dp/rowkeys_farsi1.xml
+++ /dev/null
@@ -1,107 +0,0 @@
-<?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"
->
- <!-- U+0636: "ض" ARABIC LETTER DAD
- U+06F1: "۱" EXTENDED ARABIC-INDIC DIGIT ONE -->
- <Key
- latin:keyLabel="&#x0636;"
- latin:keyHintLabel="&#x06F1;"
- latin:additionalMoreKeys="&#x06F1;,1"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0635: "ص" ARABIC LETTER SAD
- U+06F2: "۲" EXTENDED ARABIC-INDIC DIGIT TWO -->
- <Key
- latin:keyLabel="&#x0635;"
- latin:keyHintLabel="&#x06F2;"
- latin:additionalMoreKeys="&#x06F2;,2"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+062B: "ث" ARABIC LETTER THEH
- U+06F3: "۳" EXTENDED ARABIC-INDIC DIGIT THREE -->
- <Key
- latin:keyLabel="&#x062B;"
- latin:keyHintLabel="&#x06F3;"
- latin:additionalMoreKeys="&#x06F3;,3"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0642: "ق" ARABIC LETTER QAF
- U+06F4: "۴" EXTENDED ARABIC-INDIC DIGIT FOUR -->
- <Key
- latin:keyLabel="&#x0642;"
- latin:keyHintLabel="&#x06F4;"
- latin:additionalMoreKeys="&#x06F4;,4"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0641: "ف" ARABIC LETTER FEH
- U+06F5: "۵" EXTENDED ARABIC-INDIC DIGIT FIVE -->
- <Key
- latin:keyLabel="&#x0641;"
- latin:keyHintLabel="&#x06F5;"
- latin:additionalMoreKeys="&#x06F5;,5"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+063A: "غ" ARABIC LETTER GHAIN
- U+06F6: "۶" EXTENDED ARABIC-INDIC DIGIT SIX -->
- <Key
- latin:keyLabel="&#x063A;"
- latin:keyHintLabel="&#x06F6;"
- latin:additionalMoreKeys="&#x06F6;,6"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0639: "ع" ARABIC LETTER AIN
- U+06F7: "۷" EXTENDED ARABIC-INDIC DIGIT SEVEN -->
- <Key
- latin:keyLabel="&#x0639;"
- latin:keyHintLabel="&#x06F7;"
- latin:additionalMoreKeys="&#x06F7;,7"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0647: "ه" ARABIC LETTER HEH
- U+FEEB: "ﻫ" ARABIC LETTER HEH INITIAL FORM
- U+0647/U+200D: ARABIC LETTER HEH + ZERO WIDTH JOINER
- U+0647/U+0654: ARABIC LETTER HEH + ARABIC HAMZA ABOVE
- U+0629: "ة" ARABIC LETTER TEH MARBUTA
- U+06F8: "۸" EXTENDED ARABIC-INDIC DIGIT EIGHT -->
- <Key
- latin:keyLabel="&#x0647;"
- latin:moreKeys="&#xFEEB;|&#x0647;&#x200D;,&#x0647;&#x0654;,&#x0629;,%"
- latin:keyHintLabel="&#x06F8;"
- latin:additionalMoreKeys="&#x06F8;,8"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+062E: "خ" ARABIC LETTER KHAH
- U+06F9: "۹" EXTENDED ARABIC-INDIC DIGIT NINE -->
- <Key
- latin:keyLabel="&#x062E;"
- latin:keyHintLabel="&#x06F9;"
- latin:additionalMoreKeys="&#x06F9;,9"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+062D: "ح" ARABIC LETTER HAH
- U+06F0: "۰" EXTENDED ARABIC-INDIC DIGIT ZERO -->
- <Key
- latin:keyLabel="&#x062D;"
- latin:keyHintLabel="&#x06F0;"
- latin:additionalMoreKeys="&#x06F0;,0"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+062C: "ج" ARABIC LETTER JEEM -->
- <Key
- latin:keyLabel="&#x062C;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0686: "چ" ARABIC LETTER TCHEH -->
- <Key
- latin:keyLabel="&#x0686;"
- latin:keyLabelFlags="fontNormal" />
-</merge>
diff --git a/java/res/xml-sw600dp/rowkeys_farsi2.xml b/java/res/xml-sw600dp/rowkeys_farsi2.xml
deleted file mode 100644
index 3b759b66c..000000000
--- a/java/res/xml-sw600dp/rowkeys_farsi2.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-<?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"
->
- <!-- U+0634: "ش" ARABIC LETTER SHEEN -->
- <Key
- latin:keyLabel="&#x0634;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0633: "س" ARABIC LETTER SEEN -->
- <Key
- latin:keyLabel="&#x0633;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+06CC: "ی" ARABIC LETTER FARSI YEH
- U+0626: "ئ" ARABIC LETTER YEH WITH HAMZA ABOVE
- U+064A: "ي" ARABIC LETTER YEH
- U+FBE8: "ﯨ" ARABIC LETTER UIGHUR KAZAKH KIRGHIZ ALEF MAKSURA INITIAL FORM
- U+0649: "ى" ARABIC LETTER ALEF MAKSURA -->
- <Key
- latin:keyLabel="&#x06CC;"
- latin:moreKeys="&#x0626;,&#x064A;,&#xFBE8;|&#x0649;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0628: "ب" ARABIC LETTER BEH -->
- <Key
- latin:keyLabel="&#x0628;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0644: "ل" ARABIC LETTER LAM -->
- <Key
- latin:keyLabel="&#x0644;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0627: "ا" ARABIC LETTER ALEF
- U+0621: "ء" ARABIC LETTER HAMZA
- U+0622: "آ" ARABIC LETTER ALEF WITH MADDA ABOVE
- U+0623: "أ" ARABIC LETTER ALEF WITH HAMZA ABOVE
- U+0671: "ٱ" ARABIC LETTER ALEF WASLA
- U+0625: "إ" ARABIC LETTER ALEF WITH HAMZA BELOW -->
- <Key
- latin:keyLabel="&#x0627;"
- latin:moreKeys="&#x0621;,&#x0622;,&#x0623;,&#x0671;,&#x0625;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+062A: "ت" ARABIC LETTER TEH
- U+062B: "ﺙ" ARABIC LETTER THEH
- U+0629: "ة": ARABIC LETTER TEH MARBUTA -->
- <Key
- latin:keyLabel="&#x062A;"
- latin:moreKeys="&#x062B;,&#x0629;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0646: "ن" ARABIC LETTER NOON -->
- <Key
- latin:keyLabel="&#x0646;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0645: "م" ARABIC LETTER MEEM -->
- <Key
- latin:keyLabel="&#x0645;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+06A9: "ک" ARABIC LETTER KEHEH
- U+0643: "ك" ARABIC LETTER KAF -->
- <Key
- latin:keyLabel="&#x06A9;"
- latin:moreKeys="&#x0643;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+06AF: "گ" ARABIC LETTER GAF -->
- <Key
- latin:keyLabel="&#x06AF;"
- latin:keyLabelFlags="fontNormal" />
-</merge>
diff --git a/java/res/xml-sw600dp/rowkeys_farsi3.xml b/java/res/xml-sw600dp/rowkeys_farsi3.xml
deleted file mode 100644
index 3597618ce..000000000
--- a/java/res/xml-sw600dp/rowkeys_farsi3.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-<?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"
->
- <!-- U+0638: "ظ" ARABIC LETTER ZAH -->
- <Key
- latin:keyLabel="&#x0638;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0637: "ط" ARABIC LETTER TAH -->
- <Key
- latin:keyLabel="&#x0637;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0698: "ژ" ARABIC LETTER JEH -->
- <Key
- latin:keyLabel="&#x0698;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0632: "ز" ARABIC LETTER ZAIN -->
- <Key
- latin:keyLabel="&#x0632;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0631: "ر" ARABIC LETTER REH -->
- <Key
- latin:keyLabel="&#x0631;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0630: "ذ" ARABIC LETTER THAL -->
- <Key
- latin:keyLabel="&#x0630;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+062F: "د" ARABIC LETTER DAL -->
- <Key
- latin:keyLabel="&#x062F;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+067E: "پ" ARABIC LETTER PEH -->
- <Key
- latin:keyLabel="&#x067E;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0648: "و" ARABIC LETTER WAW
- U+0624: "ؤ" ARABIC LETTER WAW WITH HAMZA ABOVE -->
- <Key
- latin:keyLabel="&#x0648;"
- latin:moreKeys="&#x0624;"
- latin:keyLabelFlags="fontNormal" />
- <!-- U+0622: "آ" ARABIC LETTER ALEF WITH MADDA ABOVE -->
- <Key
- latin:keyLabel="&#x0622;"
- latin:keyLabelFlags="fontNormal" />
-</merge>
diff --git a/java/res/xml-sw600dp/rows_farsi.xml b/java/res/xml-sw600dp/rows_farsi.xml
index 52c2d9329..a353b67c7 100644
--- a/java/res/xml-sw600dp/rows_farsi.xml
+++ b/java/res/xml-sw600dp/rows_farsi.xml
@@ -28,6 +28,9 @@
>
<include
latin:keyboardLayout="@xml/rowkeys_farsi1" />
+ <Key
+ latin:keyStyle="deleteKeyStyle"
+ latin:keyWidth="fillRight" />
</Row>
<Row
latin:keyWidth="8.182%p"
@@ -35,7 +38,7 @@
<include
latin:keyboardLayout="@xml/rowkeys_farsi2" />
<Key
- latin:keyStyle="deleteKeyStyle"
+ latin:keyStyle="enterKeyStyle"
latin:keyWidth="fillRight" />
</Row>
<Row
@@ -44,9 +47,6 @@
<include
latin:keyboardLayout="@xml/rowkeys_farsi3"
latin:keyXPos="4.091%p" />
- <Key
- latin:keyStyle="enterKeyStyle"
- latin:keyWidth="fillRight" />
</Row>
<include
latin:keyboardLayout="@xml/row_qwerty4" />