Support Thai Keyboard
Bug: 6070772 Change-Id: Ib7078d062801e17db500f0cd0b4b53d5433b75d1main
parent
6ef88a8901
commit
5f32a47e45
|
@ -0,0 +1,27 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard
|
||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
latin:rowHeight="20%p"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rows_thai" />
|
||||
</Keyboard>
|
|
@ -0,0 +1,97 @@
|
|||
<?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"
|
||||
>
|
||||
<switch>
|
||||
<case
|
||||
latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
|
||||
>
|
||||
<!-- U+0E51: "๑" THAI DIGIT ONE -->
|
||||
<Key
|
||||
latin:keyLabel="๑" />
|
||||
<!-- U+0E52: "๒" THAI DIGIT TWO -->
|
||||
<Key
|
||||
latin:keyLabel="๒" />
|
||||
<!-- U+0E53: "๓" THAI DIGIT THREE -->
|
||||
<Key
|
||||
latin:keyLabel="๓" />
|
||||
<!-- U+0E54: "๔" THAI DIGIT FOUR -->
|
||||
<Key
|
||||
latin:keyLabel="๔" />
|
||||
<!-- U+0E39: " ู" THAI CHARACTER SARA UU -->
|
||||
<Key
|
||||
latin:keyLabel="ู" />
|
||||
<!-- U+0E3F: "฿" THAI CURRENCY SYMBOL BAHT -->
|
||||
<Key
|
||||
latin:keyLabel="฿" />
|
||||
<!-- U+0E55: "๕" THAI DIGIT FIVE -->
|
||||
<Key
|
||||
latin:keyLabel="๕" />
|
||||
<!-- U+0E56: "๖" THAI DIGIT SIX -->
|
||||
<Key
|
||||
latin:keyLabel="๖" />
|
||||
<!-- U+0E57: "๗" THAI DIGIT SEVEN -->
|
||||
<Key
|
||||
latin:keyLabel="๗" />
|
||||
<!-- U+0E58: "๘" THAI DIGIT EIGHT -->
|
||||
<Key
|
||||
latin:keyLabel="๘" />
|
||||
<!-- U+0E59: "๙" THAI DIGIT NINE -->
|
||||
<Key
|
||||
latin:keyLabel="๙" />
|
||||
</case>
|
||||
<default>
|
||||
<!-- U+0E45: "ๅ" THAI CHARACTER LAKKHANGYAO -->
|
||||
<Key
|
||||
latin:keyLabel="ๅ" />
|
||||
<Key
|
||||
latin:keyLabel="/" />
|
||||
<!-- U+0E20: "ภ" THAI CHARACTER PHO SAMPHAO -->
|
||||
<Key
|
||||
latin:keyLabel="ภ" />
|
||||
<!-- U+0E16: "ถ" THAI CHARACTER THO THUNG -->
|
||||
<Key
|
||||
latin:keyLabel="ถ" />
|
||||
<!-- U+0E38: " ุ" THAI CHARACTER SARA U -->
|
||||
<Key
|
||||
latin:keyLabel="ุ" />
|
||||
<!-- U+0E36: " ึ" THAI CHARACTER SARA UE -->
|
||||
<Key
|
||||
latin:keyLabel="ึ" />
|
||||
<!-- U+0E04: "ค" THAI CHARACTER KHO KHWAI -->
|
||||
<Key
|
||||
latin:keyLabel="ค" />
|
||||
<!-- U+0E15: "ต" THAI CHARACTER TO TAO -->
|
||||
<Key
|
||||
latin:keyLabel="ต" />
|
||||
<!-- U+0E08: "จ" THAI CHARACTER CHO CHAN -->
|
||||
<Key
|
||||
latin:keyLabel="จ" />
|
||||
<!-- U+0E02: "ข" THAI CHARACTER KHO KHAI -->
|
||||
<Key
|
||||
latin:keyLabel="ข" />
|
||||
<!-- U+0E0A: "ช" THAI CHARACTER CHO CHANG -->
|
||||
<Key
|
||||
latin:keyLabel="ช" />
|
||||
</default>
|
||||
</switch>
|
||||
</merge>
|
|
@ -0,0 +1,108 @@
|
|||
<?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"
|
||||
>
|
||||
<switch>
|
||||
<case
|
||||
latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
|
||||
>
|
||||
<!-- U+0E50: "๐" THAI DIGIT ZERO -->
|
||||
<Key
|
||||
latin:keyLabel="๐" />
|
||||
<Key
|
||||
latin:keyLabel=""" />
|
||||
<!-- U+0E0E: "ฎ" THAI CHARACTER DO CHADA -->
|
||||
<Key
|
||||
latin:keyLabel="ฎ" />
|
||||
<!-- U+0E11: "ฑ" THAI CHARACTER THO NANGMONTHO -->
|
||||
<Key
|
||||
latin:keyLabel="ฑ" />
|
||||
<!-- U+0E18: "ธ" THAI CHARACTER THO THONG -->
|
||||
<Key
|
||||
latin:keyLabel="ธ" />
|
||||
<!-- U+0E4D: "กํ" THAI CHARACTER THANTHAKHAT -->
|
||||
<Key
|
||||
latin:keyLabel="ํ" />
|
||||
<!-- U+0E4A: "ก๊" THAI CHARACTER MAI TRI -->
|
||||
<Key
|
||||
latin:keyLabel="๊" />
|
||||
<!-- U+0E13: "ณ" THAI CHARACTER NO NEN -->
|
||||
<Key
|
||||
latin:keyLabel="ณ" />
|
||||
<!-- U+0E2F: "ฯ" THAI CHARACTER PAIYANNOI -->
|
||||
<Key
|
||||
latin:keyLabel="ฯ" />
|
||||
<!-- U+0E0D: "ญ" THAI CHARACTER YO YING -->
|
||||
<Key
|
||||
latin:keyLabel="ญ" />
|
||||
<!-- U+0E10: "ฐ" THAI CHARACTER THO THAN -->
|
||||
<Key
|
||||
latin:keyLabel="ฐ" />
|
||||
<Key
|
||||
latin:keyLabel="," />
|
||||
<!-- U+0E05: "ฅ" THAI CHARACTER KHO KHON -->
|
||||
<Key
|
||||
latin:keyLabel="ฅ" />
|
||||
</case>
|
||||
<default>
|
||||
<!-- U+0E46: "ๆ" THAI CHARACTER MAIYAMOK -->
|
||||
<Key
|
||||
latin:keyLabel="ๆ" />
|
||||
<!-- U+0E44: "ไ" THAI CHARACTER SARA AI MAIMALAI -->
|
||||
<Key
|
||||
latin:keyLabel="ไ" />
|
||||
<!-- U+0E33: "ำ" THAI CHARACTER SARA AM -->
|
||||
<Key
|
||||
latin:keyLabel="ำ" />
|
||||
<!-- U+0E1E: "พ" THAI CHARACTER PHO PHAN -->
|
||||
<Key
|
||||
latin:keyLabel="พ" />
|
||||
<!-- U+0E30: "ะ" THAI CHARACTER SARA A -->
|
||||
<Key
|
||||
latin:keyLabel="ะ" />
|
||||
<!-- U+0E31: "กั" THAI CHARACTER MAI HAN-AKAT -->
|
||||
<Key
|
||||
latin:keyLabel="ั" />
|
||||
<!-- U+0E35: "กี" HAI CHARACTER SARA II -->
|
||||
<Key
|
||||
latin:keyLabel="ี" />
|
||||
<!-- U+0E23: "ร" THAI CHARACTER RO RUA -->
|
||||
<Key
|
||||
latin:keyLabel="ร" />
|
||||
<!-- U+0E19: "น" THAI CHARACTER NO NU -->
|
||||
<Key
|
||||
latin:keyLabel="น" />
|
||||
<!-- U+0E22: "ย" THAI CHARACTER YO YAK -->
|
||||
<Key
|
||||
latin:keyLabel="ย" />
|
||||
<!-- U+0E1A: "บ" THAI CHARACTER BO BAIMAI -->
|
||||
<Key
|
||||
latin:keyLabel="บ" />
|
||||
<!-- U+0E25: "ล" THAI CHARACTER LO LING -->
|
||||
<Key
|
||||
latin:keyLabel="ล" />
|
||||
<!-- U+0E03: "ฃ" THAI CHARACTER KHO KHUAT -->
|
||||
<Key
|
||||
latin:keyLabel="ฃ" />
|
||||
</default>
|
||||
</switch>
|
||||
</merge>
|
|
@ -0,0 +1,97 @@
|
|||
<?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"
|
||||
>
|
||||
<switch>
|
||||
<case
|
||||
latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
|
||||
>
|
||||
<!-- U+0E24: "ฤ" THAI CHARACTER RU -->
|
||||
<Key
|
||||
latin:keyLabel="ฤ" />
|
||||
<!-- U+0E06: "ฆ" THAI CHARACTER KHO RAKHANG -->
|
||||
<Key
|
||||
latin:keyLabel="ฆ" />
|
||||
<!-- U+0E0F: "ฏ" THAI CHARACTER TO PATAK -->
|
||||
<Key
|
||||
latin:keyLabel="ฏ" />
|
||||
<!-- U+0E42: "โ" THAI CHARACTER SARA O -->
|
||||
<Key
|
||||
latin:keyLabel="โ" />
|
||||
<!-- U+0E0C: "ฌ" THAI CHARACTER CHO CHOE -->
|
||||
<Key
|
||||
latin:keyLabel="ฌ" />
|
||||
<!-- U+0E47: " ็" THAI CHARACTER MAITAIKHU -->
|
||||
<Key
|
||||
latin:keyLabel="็" />
|
||||
<!-- U+0E4B: " ๋" THAI CHARACTER MAI CHATTAWA -->
|
||||
<Key
|
||||
latin:keyLabel="๋" />
|
||||
<!-- U+0E29: "ษ" THAI CHARACTER SO RUSI -->
|
||||
<Key
|
||||
latin:keyLabel="ษ" />
|
||||
<!-- U+0E28: "ศ" THAI CHARACTER SO SALA -->
|
||||
<Key
|
||||
latin:keyLabel="ศ" />
|
||||
<!-- U+0E0B: "ซ" THAI CHARACTER SO SO -->
|
||||
<Key
|
||||
latin:keyLabel="ซ" />
|
||||
<Key
|
||||
latin:keyLabel="." />
|
||||
</case>
|
||||
<default>
|
||||
<!-- U+0E1F: "ฟ" THAI CHARACTER FO FAN -->
|
||||
<Key
|
||||
latin:keyLabel="ฟ" />
|
||||
<!-- U+0E2B: "ห" THAI CHARACTER HO HIP -->
|
||||
<Key
|
||||
latin:keyLabel="ห" />
|
||||
<!-- U+0E01: "ก" THAI CHARACTER KO KAI -->
|
||||
<Key
|
||||
latin:keyLabel="ก" />
|
||||
<!-- U+0E14: "ด" THAI CHARACTER DO DEK -->
|
||||
<Key
|
||||
latin:keyLabel="ด" />
|
||||
<!-- U+0E40: "เ" THAI CHARACTER SARA E -->
|
||||
<Key
|
||||
latin:keyLabel="เ" />
|
||||
<!-- U+0E49: " ้" THAI CHARACTER MAI THO -->
|
||||
<Key
|
||||
latin:keyLabel="้" />
|
||||
<!-- U+0E48: " ฺ" THAI CHARACTER MAI EK -->
|
||||
<Key
|
||||
latin:keyLabel="่" />
|
||||
<!-- U+0E32: "า" THAI CHARACTER SARA AA -->
|
||||
<Key
|
||||
latin:keyLabel="ๆ" />
|
||||
<!-- U+0E2A: "ส" THAI CHARACTER SO SUA -->
|
||||
<Key
|
||||
latin:keyLabel="ๆ" />
|
||||
<!-- U+0E27: "ว" THAI CHARACTER WO WAEN -->
|
||||
<Key
|
||||
latin:keyLabel="ฯ" />
|
||||
<!-- U+0E07: "ง" THAI CHARACTER NGO NGU -->
|
||||
<Key
|
||||
latin:keyLabel="ง" />
|
||||
</default>
|
||||
</switch>
|
||||
</merge>
|
|
@ -0,0 +1,89 @@
|
|||
<?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"
|
||||
>
|
||||
<switch>
|
||||
<case
|
||||
latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="(" />
|
||||
<Key
|
||||
latin:keyLabel=")" />
|
||||
<!-- U+0E09: "ฉ" THAI CHARACTER CHO CHING -->
|
||||
<Key
|
||||
latin:keyLabel="ฉ" />
|
||||
<!-- U+0E2E: "ฮ" THAI CHARACTER HO NOKHUK -->
|
||||
<Key
|
||||
latin:keyLabel="ฮ" />
|
||||
<!-- U+0E3A: " ฺ" THAI CHARACTER PHINTHU -->
|
||||
<Key
|
||||
latin:keyLabel="ฺ" />
|
||||
<!-- U+0E4C: " ์" THAI CHARACTER THANTHAKHAT -->
|
||||
<Key
|
||||
latin:keyLabel="์" />
|
||||
<Key
|
||||
latin:keyLabel="\?" />
|
||||
<!-- U+0E12: "ฒ" THAI CHARACTER THO PHUTHAO -->
|
||||
<Key
|
||||
latin:keyLabel="ฒ" />
|
||||
<!-- U+0E2C: "ฬ" THAI CHARACTER LO CHULA -->
|
||||
<Key
|
||||
latin:keyLabel="ฬ" />
|
||||
<!-- U+0E26: "ฦ" THAI CHARACTER LU -->
|
||||
<Key
|
||||
latin:keyLabel="ฦ" />
|
||||
</case>
|
||||
<default>
|
||||
<!-- U+0E1C: "ผ" THAI CHARACTER PHO PHUNG -->
|
||||
<Key
|
||||
latin:keyLabel="ผ" />
|
||||
<!-- U+0E1B: "ป" THAI CHARACTER PO PLA -->
|
||||
<Key
|
||||
latin:keyLabel="ป" />
|
||||
<!-- U+0E41: "แ" THAI CHARACTER SARA AE -->
|
||||
<Key
|
||||
latin:keyLabel="แ" />
|
||||
<!-- U+0E2D: "อ" THAI CHARACTER O ANG -->
|
||||
<Key
|
||||
latin:keyLabel="อ" />
|
||||
<!-- U+0E34: " ิ" THAI CHARACTER SARA I -->
|
||||
<Key
|
||||
latin:keyLabel="ิ" />
|
||||
<!-- U+0E37: " ื" THAI CHARACTER SARA UEE -->
|
||||
<Key
|
||||
latin:keyLabel="ื" />
|
||||
<!-- U+0E17: "ท" THAI CHARACTER THO THAHAN -->
|
||||
<Key
|
||||
latin:keyLabel="ท" />
|
||||
<!-- U+0E21: "ม" THAI CHARACTER MO MA -->
|
||||
<Key
|
||||
latin:keyLabel="ม" />
|
||||
<!-- U+0E43: "ใ" THAI CHARACTER SARA AI MAIMUAN -->
|
||||
<Key
|
||||
latin:keyLabel="ใ" />
|
||||
<!-- U+0E1D: "ฝ" THAI CHARACTER FO FA -->
|
||||
<Key
|
||||
latin:keyLabel="ฝ" />
|
||||
</default>
|
||||
</switch>
|
||||
</merge>
|
|
@ -0,0 +1,67 @@
|
|||
<?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="7.800%p"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rowkeys_thai1"
|
||||
latin:keyXPos="4.0%p" />
|
||||
<Key
|
||||
latin:keyStyle="deleteKeyStyle"
|
||||
latin:keyWidth="fillRight" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="7.692%p"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rowkeys_thai2" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="7.692%p"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rowkeys_thai3"
|
||||
latin:keyXPos="4.5%p" />
|
||||
<Key
|
||||
latin:keyStyle="enterKeyStyle"
|
||||
latin:keyWidth="fillBoth" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="7.692%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="shiftKeyStyle"
|
||||
latin:keyWidth="10.0%p" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rowkeys_thai4" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_smiley"
|
||||
latin:keyXPos="-9.0%p"
|
||||
latin:keyWidth="fillRight" />
|
||||
</Row>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/row_qwerty4" />
|
||||
</merge>
|
|
@ -0,0 +1,27 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard
|
||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
latin:rowHeight="20%p"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rows_thai_symbols" />
|
||||
</Keyboard>
|
|
@ -0,0 +1,27 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard
|
||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
latin:rowHeight="20%p"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rows_thai_symbols_shift" />
|
||||
</Keyboard>
|
|
@ -0,0 +1,54 @@
|
|||
<?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+0E51: "๑" THAI DIGIT ONE -->
|
||||
<Key
|
||||
latin:keyLabel="๑" />
|
||||
<!-- U+0E52: "๒" THAI DIGIT TWO -->
|
||||
<Key
|
||||
latin:keyLabel="๒" />
|
||||
<!-- U+0E53: "๓" THAI DIGIT THREE -->
|
||||
<Key
|
||||
latin:keyLabel="๓" />
|
||||
<!-- U+0E54: "๔" THAI DIGIT FOUR -->
|
||||
<Key
|
||||
latin:keyLabel="๔" />
|
||||
<!-- U+0E55: "๕" THAI DIGIT FIVE -->
|
||||
<Key
|
||||
latin:keyLabel="๕" />
|
||||
<!-- U+0E56: "๖" THAI DIGIT SIX -->
|
||||
<Key
|
||||
latin:keyLabel="๖" />
|
||||
<!-- U+0E57: "๗" THAI DIGIT SEVEN -->
|
||||
<Key
|
||||
latin:keyLabel="๗" />
|
||||
<!-- U+0E58: "๘" THAI DIGIT EIGHT -->
|
||||
<Key
|
||||
latin:keyLabel="๘" />
|
||||
<!-- U+0E59: "๙" THAI DIGIT NINE -->
|
||||
<Key
|
||||
latin:keyLabel="๙" />
|
||||
<!-- U+0E50: "๐" THAI DIGIT ZERO -->
|
||||
<Key
|
||||
latin:keyLabel="๐" />
|
||||
</merge>
|
|
@ -0,0 +1,72 @@
|
|||
<?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="7.079%p"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rowkeys_thai1"
|
||||
latin:keyXPos="11.508%p"/>
|
||||
<Key
|
||||
latin:keyStyle="deleteKeyStyle"
|
||||
latin:keyWidth="fillBoth"/>
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="7.079%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="tabKeyStyle"
|
||||
latin:keyLabelFlags="alignLeft"
|
||||
latin:keyWidth="7.969%p" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rowkeys_thai2" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="7.125%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="toSymbolKeyStyle"
|
||||
latin:keyLabelFlags="alignLeft"
|
||||
latin:keyWidth="11.172%p"/>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rowkeys_thai3" />
|
||||
<Key
|
||||
latin:keyStyle="enterKeyStyle"
|
||||
latin:keyWidth="fillBoth" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="7.181%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="shiftKeyStyle"
|
||||
latin:keyWidth="13.829%p"/>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rowkeys_thai4" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/keys_comma_period" />
|
||||
</Row>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/row_qwerty4" />
|
||||
</merge>
|
|
@ -0,0 +1,78 @@
|
|||
<?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" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_styles_currency" />
|
||||
<Row
|
||||
latin:keyWidth="8.282%p"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rowkeys_thai_digits"
|
||||
latin:keyXPos="7.969%p" />
|
||||
<Key
|
||||
latin:keyStyle="deleteKeyStyle"
|
||||
latin:keyXPos="-9.219%p"
|
||||
latin:keyWidth="fillRight" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="8.282%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="tabKeyStyle"
|
||||
latin:keyLabelFlags="alignLeft"
|
||||
latin:keyWidth="7.969%p" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rowkeys_symbols1" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="8.125%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="toAlphaKeyStyle"
|
||||
latin:keyLabelFlags="alignLeft"
|
||||
latin:keyWidth="11.172%p" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rowkeys_symbols2" />
|
||||
<Key
|
||||
latin:keyStyle="enterKeyStyle"
|
||||
latin:keyXPos="-15.704%p"
|
||||
latin:keyWidth="fillBoth" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="8.047%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="toMoreSymbolKeyStyle"
|
||||
latin:keyWidth="13.829%p" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rowkeys_symbols3" />
|
||||
<Key
|
||||
latin:keyStyle="toMoreSymbolKeyStyle"
|
||||
latin:keyXPos="-13.750%p"
|
||||
latin:keyWidth="fillBoth" />
|
||||
</Row>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rows_symbols4" />
|
||||
</merge>
|
|
@ -0,0 +1,78 @@
|
|||
<?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" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_styles_currency" />
|
||||
<Row
|
||||
latin:keyWidth="8.282%p"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rowkeys_thai_digits"
|
||||
latin:keyXPos="7.969%p" />
|
||||
<Key
|
||||
latin:keyStyle="deleteKeyStyle"
|
||||
latin:keyXPos="-9.219%p"
|
||||
latin:keyWidth="fillBoth" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="8.282%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="tabKeyStyle"
|
||||
latin:keyLabelFlags="alignLeft"
|
||||
latin:keyWidth="7.969%p" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rowkeys_symbols_shift1" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="8.125%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="toAlphaKeyStyle"
|
||||
latin:keyLabelFlags="alignLeft"
|
||||
latin:keyWidth="11.172%p" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rowkeys_symbols_shift2" />
|
||||
<Key
|
||||
latin:keyStyle="enterKeyStyle"
|
||||
latin:keyXPos="-15.704%p"
|
||||
latin:keyWidth="fillBoth" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="8.047%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="backFromMoreSymbolKeyStyle"
|
||||
latin:keyWidth="13.829%p" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rowkeys_symbols_shift3" />
|
||||
<Key
|
||||
latin:keyStyle="backFromMoreSymbolKeyStyle"
|
||||
latin:keyXPos="-13.750%p"
|
||||
latin:keyWidth="fillBoth" />
|
||||
</Row>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rows_symbols_shift4" />
|
||||
</merge>
|
|
@ -0,0 +1,42 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<KeyboardSet
|
||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
latin:keyboardLocale="th">
|
||||
<Element
|
||||
latin:elementName="alphabet"
|
||||
latin:elementKeyboard="@xml/kbd_thai" />
|
||||
<Element
|
||||
latin:elementName="symbols"
|
||||
latin:elementKeyboard="@xml/kbd_thai_symbols" />
|
||||
<Element
|
||||
latin:elementName="symbolsShifted"
|
||||
latin:elementKeyboard="@xml/kbd_thai_symbols_shift" />
|
||||
<Element
|
||||
latin:elementName="phone"
|
||||
latin:elementKeyboard="@xml/kbd_phone" />
|
||||
<Element
|
||||
latin:elementName="phoneSymbols"
|
||||
latin:elementKeyboard="@xml/kbd_phone_symbols" />
|
||||
<Element
|
||||
latin:elementName="number"
|
||||
latin:elementKeyboard="@xml/kbd_number" />
|
||||
</KeyboardSet>
|
|
@ -0,0 +1,26 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard
|
||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rows_thai" />
|
||||
</Keyboard>
|
|
@ -0,0 +1,26 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard
|
||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rows_symbols" />
|
||||
</Keyboard>
|
|
@ -0,0 +1,26 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard
|
||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/rows_symbols_shift" />
|
||||
</Keyboard>
|
|
@ -58,6 +58,7 @@
|
|||
sl: Slovenian/qwerty
|
||||
sr: Serbian/south_slavic
|
||||
sv: Swedish/nordic
|
||||
th: Thai/thai
|
||||
tr: Turkish/qwerty
|
||||
uk: Ukrainian/east_slavic
|
||||
vi: Vietnamese/qwerty
|
||||
|
@ -297,6 +298,12 @@
|
|||
android:imeSubtypeMode="keyboard"
|
||||
android:imeSubtypeExtraValue="AsciiCapable,SupportTouchPositionCorrection"
|
||||
/>
|
||||
<subtype android:icon="@drawable/ic_subtype_keyboard"
|
||||
android:label="@string/subtype_generic"
|
||||
android:imeSubtypeLocale="th"
|
||||
android:imeSubtypeMode="keyboard"
|
||||
android:imeSubtypeExtraValue=""
|
||||
/>
|
||||
<subtype android:icon="@drawable/ic_subtype_keyboard"
|
||||
android:label="@string/subtype_generic"
|
||||
android:imeSubtypeLocale="uk"
|
||||
|
|
|
@ -0,0 +1,144 @@
|
|||
<?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"
|
||||
>
|
||||
<switch>
|
||||
<case
|
||||
latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
|
||||
>
|
||||
<!-- U+0E0E: "ฎ" THAI CHARACTER DO CHADA -->
|
||||
<Key
|
||||
latin:keyLabel="ฎ"
|
||||
latin:keyHintLabel="1"
|
||||
latin:additionalMoreKeys="1" />
|
||||
<!-- U+0E11: "ฑ" THAI CHARACTER THO NANGMONTHO -->
|
||||
<Key
|
||||
latin:keyLabel="ฑ"
|
||||
latin:keyHintLabel="2"
|
||||
latin:additionalMoreKeys="2" />
|
||||
<!-- U+0E18: "ธ" THAI CHARACTER THO THONG -->
|
||||
<Key
|
||||
latin:keyLabel="ธ"
|
||||
latin:keyHintLabel="3"
|
||||
latin:additionalMoreKeys="3" />
|
||||
<!-- U+0E13: "ณ" THAI CHARACTER NO NEN -->
|
||||
<Key
|
||||
latin:keyLabel="ณ"
|
||||
latin:keyHintLabel="4"
|
||||
latin:additionalMoreKeys="4" />
|
||||
<!-- U+0E0D: "ญ" THAI CHARACTER YO YING -->
|
||||
<Key
|
||||
latin:keyLabel="ญ"
|
||||
latin:keyHintLabel="5"
|
||||
latin:additionalMoreKeys="5" />
|
||||
<!-- U+0E10: "ฐ" THAI CHARACTER THO THAN -->
|
||||
<Key
|
||||
latin:keyLabel="ฐ"
|
||||
latin:keyHintLabel="6"
|
||||
latin:additionalMoreKeys="6" />
|
||||
<!-- U+0E03: "ฃ" THAI CHARACTER KHO KHUAT -->
|
||||
<Key
|
||||
latin:keyLabel="ฃ"
|
||||
latin:keyHintLabel="7"
|
||||
latin:additionalMoreKeys="7" />
|
||||
<!-- U+0E05: "ฅ" THAI CHARACTER KHO KHON -->
|
||||
<Key
|
||||
latin:keyLabel="ฅ"
|
||||
latin:keyHintLabel="8"
|
||||
latin:additionalMoreKeys="8" />
|
||||
<!-- U+0E51: "๑" THAI DIGIT ONE
|
||||
U+0E52: "๒" THAI DIGIT TWO
|
||||
U+0E53: "๓" THAI DIGIT THREE
|
||||
U+0E54: "๔" THAI DIGIT FOUR
|
||||
U+0E55: "๕" THAI DIGIT FIVE -->
|
||||
<Key
|
||||
latin:keyLabel="๑"
|
||||
latin:moreKeys="๒,๓,๔,๕,%"
|
||||
latin:keyHintLabel="9"
|
||||
latin:additionalMoreKeys="9" />
|
||||
<!-- U+0E56: "๖" THAI DIGIT SIX
|
||||
U+0E57: "๗" THAI DIGIT SEVEN
|
||||
U+0E58: "๘" THAI DIGIT EIGHT
|
||||
U+0E59: "๙" THAI DIGIT NINE
|
||||
U+0E50: "๐" THAI DIGIT ZERO -->
|
||||
<Key
|
||||
latin:keyLabel="๖"
|
||||
latin:moreKeys="๗,๘,๙,๐,%"
|
||||
latin:keyHintLabel="0"
|
||||
latin:additionalMoreKeys="0" />
|
||||
</case>
|
||||
<default>
|
||||
<!-- U+0E20: "ภ" THAI CHARACTER PHO SAMPHAO -->
|
||||
<Key
|
||||
latin:keyLabel="ภ"
|
||||
latin:keyHintLabel="1"
|
||||
latin:additionalMoreKeys="1,๑" />
|
||||
<!-- U+0E16: "ถ" THAI CHARACTER THO THUNG -->
|
||||
<Key
|
||||
latin:keyLabel="ถ"
|
||||
latin:keyHintLabel="2"
|
||||
latin:additionalMoreKeys="2,๒" />
|
||||
<!-- U+0E04: "ค" THAI CHARACTER KHO KHWAI -->
|
||||
<Key
|
||||
latin:keyLabel="ค"
|
||||
latin:keyHintLabel="3"
|
||||
latin:additionalMoreKeys="3,๓" />
|
||||
<!-- U+0E15: "ต" THAI CHARACTER TO TAO -->
|
||||
<Key
|
||||
latin:keyLabel="ต"
|
||||
latin:keyHintLabel="4"
|
||||
latin:additionalMoreKeys="4,๔" />
|
||||
<!-- U+0E08: "จ" THAI CHARACTER CHO CHAN -->
|
||||
<Key
|
||||
latin:keyLabel="จ"
|
||||
latin:keyHintLabel="5"
|
||||
latin:additionalMoreKeys="5,๕" />
|
||||
<!-- U+0E02: "ข" THAI CHARACTER KHO KHAI -->
|
||||
<Key
|
||||
latin:keyLabel="ข"
|
||||
latin:keyHintLabel="6"
|
||||
latin:additionalMoreKeys="6,๖" />
|
||||
<!-- U+0E0A: "ช" THAI CHARACTER CHO CHANG -->
|
||||
<Key
|
||||
latin:keyLabel="ช"
|
||||
latin:keyHintLabel="7"
|
||||
latin:additionalMoreKeys="7,๗" />
|
||||
<!-- U+0E23: "ร" THAI CHARACTER RO RUA
|
||||
U+0E25: "ล" THAI CHARACTER LO LING -->
|
||||
<Key
|
||||
latin:keyLabel="ร"
|
||||
latin:moreKeys="ล"
|
||||
latin:keyHintLabel="8"
|
||||
latin:additionalMoreKeys="8,๘" />
|
||||
<!-- U+0E19: "น" THAI CHARACTER NO NU -->
|
||||
<Key
|
||||
latin:keyLabel="น"
|
||||
latin:keyHintLabel="9"
|
||||
latin:additionalMoreKeys="9,๙" />
|
||||
<!-- U+0E22: "ย" THAI CHARACTER YO YAK -->
|
||||
<Key
|
||||
latin:keyLabel="ย"
|
||||
latin:keyHintLabel="0"
|
||||
latin:additionalMoreKeys="0,๐" />
|
||||
</default>
|
||||
</switch>
|
||||
</merge>
|
|
@ -0,0 +1,105 @@
|
|||
<?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"
|
||||
>
|
||||
<switch>
|
||||
<case
|
||||
latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
|
||||
>
|
||||
<!-- U+0E24: "ฤ" THAI CHARACTER RU -->
|
||||
<Key
|
||||
latin:keyLabel="ฤ" />
|
||||
<!-- U+0E06: "ฆ" THAI CHARACTER KHO RAKHANG -->
|
||||
<Key
|
||||
latin:keyLabel="ฆ" />
|
||||
<!-- U+0E0F: "ฏ" THAI CHARACTER TO PATAK -->
|
||||
<Key
|
||||
latin:keyLabel="ฏ" />
|
||||
<!-- U+0E0C: "ฌ" THAI CHARACTER CHO CHOE -->
|
||||
<Key
|
||||
latin:keyLabel="ฌ" />
|
||||
<!-- U+0E29: "ษ" THAI CHARACTER SO RUSI -->
|
||||
<Key
|
||||
latin:keyLabel="ษ" />
|
||||
<!-- U+0E28: "ศ" THAI CHARACTER SO SALA -->
|
||||
<Key
|
||||
latin:keyLabel="ศ" />
|
||||
<!-- U+0E0B: "ซ" THAI CHARACTER SO SO -->
|
||||
<Key
|
||||
latin:keyLabel="ซ" />
|
||||
<!-- U+0E3F: "฿" THAI CURRENCY SYMBOL BAHT -->
|
||||
<Key
|
||||
latin:keyLabel="฿" />
|
||||
<!-- U+0E46: "ๆ" THAI CHARACTER MAIYAMOK
|
||||
U+0E2F: "ฯ" THAI CHARACTER PAIYANNOI -->
|
||||
<Key
|
||||
latin:keyLabel="ๆ"
|
||||
latin:moreKeys="ฯ" />
|
||||
</case>
|
||||
<default>
|
||||
<!-- U+0E1F: "ฟ" THAI CHARACTER FO FAN
|
||||
U+0E1E: "พ" THAI CHARACTER PHO PHAN -->
|
||||
<Key
|
||||
latin:keyLabel="ฟ"
|
||||
latin:moreKeys="พ" />
|
||||
<!-- U+0E2B: "ห" THAI CHARACTER HO HIP -->
|
||||
<Key
|
||||
latin:keyLabel="ห" />
|
||||
<!-- U+0E01: "ก" THAI CHARACTER KO KAI -->
|
||||
<Key
|
||||
latin:keyLabel="ก" />
|
||||
<!-- U+0E14: "ด" THAI CHARACTER DO DEK -->
|
||||
<Key
|
||||
latin:keyLabel="ด" />
|
||||
<!-- U+0E2A: "ส" THAI CHARACTER SO SUA -->
|
||||
<Key
|
||||
latin:keyLabel="ส" />
|
||||
<!-- U+0E27: "ว" THAI CHARACTER WO WAEN -->
|
||||
<Key
|
||||
latin:keyLabel="ว" />
|
||||
<!-- U+0E07: "ง" THAI CHARACTER NGO NGU -->
|
||||
<Key
|
||||
latin:keyLabel="ง" />
|
||||
<!-- U+0E30: "ะ" THAI CHARACTER SARA A
|
||||
U+0E32: "า" THAI CHARACTER SARA AA
|
||||
U+0E33: " ำ" THAI CHARACTER SARA AM
|
||||
U+0E40: "เ" THAI CHARACTER SARA E
|
||||
U+0E41: "แ" THAI CHARACTER SARA AE
|
||||
U+0E43: "ใ" THAI CHARACTER SARA AI MAIMUAN
|
||||
U+0E44: "ไ" THAI CHARACTER SARA AI MAIMALAI
|
||||
U+0E42: "โ" THAI CHARACTER SARA O -->
|
||||
<Key
|
||||
latin:keyLabel="ะ"
|
||||
latin:moreKeys="า,ำ,เ,แ,ใ,ไ,โ" />
|
||||
<!-- U+0E31: " ั" THAI CHARACTER MAI HAN-AKAT
|
||||
U+0E34: " ิ" THAI CHARACTER SARA I
|
||||
U+0E35: " ี" THAI CHARACTER SARA II
|
||||
U+0E36: " ึ" THAI CHARACTER SARA UE
|
||||
U+0E37: " ื" THAI CHARACTER SARA UEE
|
||||
U+0E38: " ุ" THAI CHARACTER SARA U
|
||||
U+0E39: " ู" THAI CHARACTER SARA UU -->
|
||||
<Key
|
||||
latin:keyLabel="ั"
|
||||
latin:moreKeys="ิ,ี,ึ,ื,ุ,ู" />
|
||||
</default>
|
||||
</switch>
|
||||
</merge>
|
|
@ -0,0 +1,83 @@
|
|||
<?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"
|
||||
>
|
||||
<switch>
|
||||
<case
|
||||
latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
|
||||
>
|
||||
<!-- U+0E09: "ฉ" THAI CHARACTER CHO CHING -->
|
||||
<Key
|
||||
latin:keyLabel="ฉ" />
|
||||
<!-- U+0E2E: "ฮ" THAI CHARACTER HO NOKHUK -->
|
||||
<Key
|
||||
latin:keyLabel="ฮ" />
|
||||
<!-- U+0E12: "ฒ" THAI CHARACTER THO PHUTHAO -->
|
||||
<Key
|
||||
latin:keyLabel="ฒ" />
|
||||
<!-- U+0E2C: "ฬ" THAI CHARACTER LO CHULA -->
|
||||
<Key
|
||||
latin:keyLabel="ฬ" />
|
||||
<!-- U+0E26: "ฦ" THAI CHARACTER LU -->
|
||||
<Key
|
||||
latin:keyLabel="ฦ" />
|
||||
<!-- U+0E4C: " ์" THAI CHARACTER THANTHAKHAT
|
||||
U+0E4D: " ํ" THAI CHARACTER NIKHAHIT
|
||||
U+0E3A: " ฺ" THAI CHARACTER PHINTHU -->
|
||||
<Key
|
||||
latin:keyLabel="์"
|
||||
latin:moreKeys="ํ,ฺ" />
|
||||
<!-- U+0E47: " ็" THAI CHARACTER MAITAIKHU -->
|
||||
<Key
|
||||
latin:keyLabel="็" />
|
||||
</case>
|
||||
<default>
|
||||
<!-- U+0E1C: "ผ" THAI CHARACTER PHO PHUNG -->
|
||||
<Key
|
||||
latin:keyLabel="ผ" />
|
||||
<!-- U+0E1B: "ป" THAI CHARACTER PO PLA
|
||||
U+0E1A: "บ" THAI CHARACTER BO BAIMAI -->
|
||||
<Key
|
||||
latin:keyLabel="ป"
|
||||
latin:moreKeys="บ" />
|
||||
<!-- U+0E2D: "อ" THAI CHARACTER O ANG -->
|
||||
<Key
|
||||
latin:keyLabel="อ" />
|
||||
<!-- U+0E17: "ท" THAI CHARACTER THO THAHAN -->
|
||||
<Key
|
||||
latin:keyLabel="ท" />
|
||||
<!-- U+0E21: "ม" THAI CHARACTER MO MA -->
|
||||
<Key
|
||||
latin:keyLabel="ม" />
|
||||
<!-- U+0E1D: "ฝ" THAI CHARACTER FO FA -->
|
||||
<Key
|
||||
latin:keyLabel="ฝ" />
|
||||
<!-- U+0E48: " ่" THAI CHARACTER MAI EK
|
||||
U+0E49: " ้" THAI CHARACTER MAI THO
|
||||
U+0E4A: " ๊" THAI CHARACTER MAI TRI
|
||||
U+0E4B: " ๋" THAI CHARACTER MAI CHATTAWA -->
|
||||
<Key
|
||||
latin:keyLabel="่"
|
||||
latin:moreKeys="้,๊,๋" />
|
||||
</default>
|
||||
</switch>
|
||||
</merge>
|
|
@ -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>
|
Loading…
Reference in New Issue