Merge "Add Lao keyboard"

main
Ken Wakasa 2013-09-13 12:11:31 +00:00 committed by Android (Google) Code Review
commit 505b6ba103
12 changed files with 770 additions and 1 deletions

View File

@ -0,0 +1,63 @@
<?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"
>
<include
latin:keyboardLayout="@xml/key_styles_common" />
<Row
latin:keyWidth="7.5%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_lao1" />
<Key
latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" />
</Row>
<Row
latin:keyWidth="7.5%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_lao2" />
</Row>
<Row
latin:keyWidth="7.5%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_lao3" />
<Key
latin:keyStyle="enterKeyStyle"
latin:keyWidth="fillRight" />
</Row>
<Row
latin:keyWidth="7.5%p"
>
<Key
latin:keyStyle="shiftKeyStyle"
latin:keyWidth="10.0%p" />
<include
latin:keyboardLayout="@xml/rowkeys_lao4" />
<include
latin:keyboardLayout="@xml/keys_exclamation_question" />
</Row>
<include
latin:keyboardLayout="@xml/row_qwerty4" />
</merge>

31
java/res/xml/kbd_lao.xml Normal file
View File

@ -0,0 +1,31 @@
<?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.
*/
-->
<Keyboard
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
latin:rowHeight="20%p"
latin:verticalGap="@fraction/key_bottom_gap_5row"
latin:keyLetterSize="@fraction/key_letter_ratio_5row"
latin:keyShiftedLetterHintRatio="@fraction/key_uppercase_letter_ratio_5row"
latin:touchPositionCorrectionData="@array/touch_position_correction_data_default"
>
<include
latin:keyboardLayout="@xml/rows_lao" />
</Keyboard>

View File

@ -95,6 +95,7 @@
<!-- fa: Persian (Rial and Afgahni)
hi: Hindi (Indian Rupee)
iw: Hebrew (New Sheqel)
lo: Lao (Kip)
mn: Mongolian (Tugrik)
th: Thai (Baht)
uk: Ukrainian (Hryvnia)
@ -102,7 +103,7 @@
<!-- TODO: The currency sign of Turkish Lira was created in 2012 and assigned U+20BA for
its unicode, although there is no font glyph for it as of November 2012. -->
<case
latin:languageCode="fa|hi|iw|mn|th|uk|vi"
latin:languageCode="fa|hi|iw|lo|mn|th|uk|vi"
>
<!-- U+00A3: "£" POUND SIGN
U+20AC: "€" EURO SIGN

View File

@ -0,0 +1,58 @@
<?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.
*/
-->
<KeyboardLayoutSet
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin">
<Element
latin:elementName="alphabet"
latin:elementKeyboard="@xml/kbd_lao"
latin:enableProximityCharsCorrection="true" />
<Element
latin:elementName="alphabetAutomaticShifted"
latin:elementKeyboard="@xml/kbd_lao"
latin:enableProximityCharsCorrection="true" />
<!-- On these shifted alphabet layouts the proximity characters correction should be disabled
because the letters on these layouts aren't the ones in different case of the above
unshifted layouts. -->
<Element
latin:elementName="alphabetManualShifted"
latin:elementKeyboard="@xml/kbd_lao" />
<Element
latin:elementName="alphabetShiftLocked"
latin:elementKeyboard="@xml/kbd_lao" />
<Element
latin:elementName="alphabetShiftLockShifted"
latin:elementKeyboard="@xml/kbd_lao" />
<Element
latin:elementName="symbols"
latin:elementKeyboard="@xml/kbd_symbols" />
<Element
latin:elementName="symbolsShifted"
latin:elementKeyboard="@xml/kbd_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" />
</KeyboardLayoutSet>

View File

@ -55,6 +55,7 @@
ka: Georgian/georgian
(kk: Kazakh/east_slavic) # disabled temporarily. waiting for strnig resources.
ky: Kyrgyz/east_slavic
lo: Lao/lao
lt: Lithuanian/qwerty
lv: Latvian/qwerty
mk: Macedonian/south_slavic
@ -330,6 +331,13 @@
android:imeSubtypeMode="keyboard"
android:imeSubtypeExtraValue="KeyboardLayoutSet=east_slavic"
/>
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:label="@string/subtype_generic"
android:subtypeId="0x8315772c"
android:imeSubtypeLocale="lo"
android:imeSubtypeMode="keyboard"
android:imeSubtypeExtraValue="KeyboardLayoutSet=lao"
/>
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:label="@string/subtype_generic"
android:subtypeId="0x8321bb43"

View File

@ -0,0 +1,164 @@
<?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"
>
<switch>
<case
latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
>
<!-- U+0ED1: "໑" LAO DIGIT ONE -->
<Key
latin:keyLabel="&#x0ED1;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0ED2: "໒" LAO DIGIT TWO -->
<Key
latin:keyLabel="&#x0ED2;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0ED3: "໓" LAO DIGIT THREE -->
<Key
latin:keyLabel="&#x0ED3;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0ED4: "໔" LAO DIGIT FOUR -->
<Key
latin:keyLabel="&#x0ED4;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0ECC: "໌" LAO CANCELLATION MARK -->
<Key
latin:keyLabel="&#x0ECC;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EBC: "ຼ" LAO SEMIVOWEL SIGN LO -->
<Key
latin:keyLabel="&#x0EBC;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0ED5: "໕" LAO DIGIT FIVE -->
<Key
latin:keyLabel="&#x0ED5;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0ED6: "໖" LAO DIGIT SIX -->
<Key
latin:keyLabel="&#x0ED6;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0ED7: "໗" LAO DIGIT SEVEN -->
<Key
latin:keyLabel="&#x0ED7;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0ED8: "໘" LAO DIGIT EIGHT -->
<Key
latin:keyLabel="&#x0ED8;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0ED9: "໙" LAO DIGIT NINE -->
<Key
latin:keyLabel="&#x0ED9;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0ECD/U+0EC8: "ໍ່" LAO NIGGAHITA/LAO TONE MAI EK -->
<Key
latin:keyLabel="&#x0ECD;&#x0EC8;"
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
</case>
<default>
<!-- U+0EA2: "ຢ" LAO LETTER YO
U+0ED1: "໑" LAO DIGIT ONE -->
<Key
latin:keyLabel="&#x0EA2;"
latin:keyHintLabel="1"
latin:additionalMoreKeys="1"
latin:moreKeys="&#x0ED1;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E9F: "ຟ" LAO LETTER FO SUNG
U+0ED2: "໒" LAO DIGIT TWO -->
<Key
latin:keyLabel="&#x0E9F;"
latin:keyHintLabel="2"
latin:additionalMoreKeys="2"
latin:moreKeys="&#x0ED2;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EC2: "ໂ" LAO VOWEL SIGN O
U+0ED3: "໓" LAO DIGIT THREE -->
<Key
latin:keyLabel="&#x0EC2;"
latin:keyHintLabel="3"
latin:additionalMoreKeys="3"
latin:moreKeys="&#x0ED3;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E96: "ຖ" LAO LETTER THO SUNG
U+0ED4: "໔" LAO DIGIT FOUR -->
<Key
latin:keyLabel="&#x0E96;"
latin:keyHintLabel="4"
latin:additionalMoreKeys="4"
latin:moreKeys="&#x0ED4;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EB8: "ຸ" LAO VOWEL SIGN U -->
<Key
latin:keyLabel="&#x0EB8;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EB9: "ູ" LAO VOWEL SIGN UU -->
<Key
latin:keyLabel="&#x0EB9;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E84: "ຄ" LAO LETTER KHO TAM
U+0ED5: "໕" LAO DIGIT FIVE -->
<Key
latin:keyLabel="&#x0E84;"
latin:keyHintLabel="5"
latin:additionalMoreKeys="5"
latin:moreKeys="&#x0ED5;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E95: "ຕ" LAO LETTER TO
U+0ED6: "໖" LAO DIGIT SIX -->
<Key
latin:keyLabel="&#x0E95;"
latin:keyHintLabel="6"
latin:additionalMoreKeys="6"
latin:moreKeys="&#x0ED6;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E88: "ຈ" LAO LETTER CO
U+0ED7: "໗" LAO DIGIT SEVEN -->
<Key
latin:keyLabel="&#x0E88;"
latin:keyHintLabel="7"
latin:additionalMoreKeys="7"
latin:moreKeys="&#x0ED7;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E82: "ຂ" LAO LETTER KHO SUNG
U+0ED8: "໘" LAO DIGIT EIGHT -->
<Key
latin:keyLabel="&#x0E82;"
latin:keyHintLabel="8"
latin:additionalMoreKeys="8"
latin:moreKeys="&#x0ED8;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E8A: "ຊ" LAO LETTER SO TAM
U+0ED9: "໙" LAO DIGIT NINE -->
<Key
latin:keyLabel="&#x0E8A;"
latin:keyHintLabel="9"
latin:additionalMoreKeys="9"
latin:moreKeys="&#x0ED9;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0ECD: "ໍ" LAO NIGGAHITA -->
<Key
latin:keyLabel="&#x0ECD;"
latin:keyLabelFlags="fontNormal" />
</default>
</switch>
</merge>

View File

@ -0,0 +1,127 @@
<?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"
>
<switch>
<case
latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
>
<!-- U+0EBB/U+0EC9: "" LAO VOWEL SIGN MAI KON/LAO TONE MAI THO -->
<Key
latin:keyLabel="&#x0EBB;&#x0EC9;"
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
<!-- U+0ED0: "" LAO DIGIT ZERO -->
<Key
latin:keyLabel="&#x0ED0;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EB3/U+0EC9: "ຳ້" LAO VOWEL SIGN AM/LAO TONE MAI THO -->
<Key
latin:keyLabel="&#x0EB3;&#x0EC9;"
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
<Key
latin:keyLabel="_" />
<Key
latin:keyLabel="+" />
<!-- U+0EB4/U+0EC9: "ິ້" LAO VOWEL SIGN I/LAO TONE MAI THO -->
<Key
latin:keyLabel="&#x0EB4;&#x0EC9;"
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
<!-- U+0EB5/U+0EC9: "ີ້" LAO VOWEL SIGN II/LAO TONE MAI THO -->
<Key
latin:keyLabel="&#x0EB5;&#x0EC9;"
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
<!-- U+0EA3: "ຣ" LAO LETTER LO LING -->
<Key
latin:keyLabel="&#x0EA3;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EDC: "ໜ" LAO HO NO -->
<Key
latin:keyLabel="&#x0EDC;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EBD: "ຽ" LAO SEMIVOWEL SIGN NYO -->
<Key
latin:keyLabel="&#x0EBD;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EAB/U+0EBC: "" LAO LETTER HO SUNG/LAO SEMIVOWEL SIGN LO -->
<Key
latin:keyLabel="&#x0EAB;&#x0EBC;"
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
<!-- U+201D: "”" RIGHT DOUBLE QUOTATION MARK -->
<Key
latin:keyLabel="&#x201D;" />
</case>
<default>
<!-- U+0EBB: "ົ" LAO VOWEL SIGN MAI KON -->
<Key
latin:keyLabel="&#x0EBB;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EC4: "ໄ" LAO VOWEL SIGN AI
U+0ED0: "" LAO DIGIT ZERO -->
<Key
latin:keyLabel="&#x0EC4;"
latin:keyHintLabel="0"
latin:additionalMoreKeys="0"
latin:moreKeys="&#x0ED0;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EB3: "ຳ" LAO VOWEL SIGN AM -->
<Key
latin:keyLabel="&#x0EB3;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E9E: "ພ" LAO LETTER PHO TAM -->
<Key
latin:keyLabel="&#x0E9E;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EB0: "ະ" LAO VOWEL SIGN A -->
<Key
latin:keyLabel="&#x0EB0;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EB4: "ິ" LAO VOWEL SIGN I -->
<Key
latin:keyLabel="&#x0EB4;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EB5: "ີ" LAO VOWEL SIGN II -->
<Key
latin:keyLabel="&#x0EB5;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EAE: "ຮ" LAO LETTER HO TAM -->
<Key
latin:keyLabel="&#x0EAE;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E99: "ນ" LAO LETTER NO -->
<Key
latin:keyLabel="&#x0E99;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E8D: "ຍ" LAO LETTER NYO -->
<Key
latin:keyLabel="&#x0E8D;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E9A: "ບ" LAO LETTER BO -->
<Key
latin:keyLabel="&#x0E9A;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EA5: "ລ" LAO LETTER LO LOOT -->
<Key
latin:keyLabel="&#x0EA5;"
latin:keyLabelFlags="fontNormal" />
</default>
</switch>
</merge>

View File

@ -0,0 +1,110 @@
<?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"
>
<switch>
<case
latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
>
<!-- U+0EB1/U+0EC9: "ັ້" LAO VOWEL SIGN MAI KAN/LAO TONE MAI THO -->
<Key
latin:keyLabel="&#x0EB1;&#x0EC9;"
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
<Key
latin:keyLabel=";" />
<Key
latin:keyLabel="." />
<Key
latin:keyLabel="," />
<Key
latin:keyLabel=":" />
<!-- U+0ECA: "໊" LAO TONE MAI TI -->
<Key
latin:keyLabel="&#x0ECA;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0ECB: "໋" LAO TONE MAI CATAWA -->
<Key
latin:keyLabel="&#x0ECB;"
latin:keyLabelFlags="fontNormal" />
<Key
latin:keyLabel="!" />
<Key
latin:keyLabel="\?" />
<Key
latin:keyLabel="%" />
<Key
latin:keyLabel="=" />
<!-- U+201C: "“" LEFT DOUBLE QUOTATION MARK -->
<Key
latin:keyLabel="&#x201C;" />
</case>
<default>
<!-- U+0EB1: "ັ" LAO VOWEL SIGN MAI KAN -->
<Key
latin:keyLabel="&#x0EB1;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EAB: "ຫ" LAO LETTER HO SUNG -->
<Key
latin:keyLabel="&#x0EAB;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E81: "ກ" LAO LETTER KO -->
<Key
latin:keyLabel="&#x0E81;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E94: "ດ" LAO LETTER DO -->
<Key
latin:keyLabel="&#x0E94;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EC0: "ເ" LAO VOWEL SIGN E -->
<Key
latin:keyLabel="&#x0EC0;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EC9: "້" LAO TONE MAI THO -->
<Key
latin:keyLabel="&#x0EC9;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EC8: "່" LAO TONE MAI EK -->
<Key
latin:keyLabel="&#x0EC8;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EB2: "າ" LAO VOWEL SIGN AA -->
<Key
latin:keyLabel="&#x0EB2;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EAA: "ສ" LAO LETTER SO SUNG -->
<Key
latin:keyLabel="&#x0EAA;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EA7: "ວ" LAO LETTER WO -->
<Key
latin:keyLabel="&#x0EA7;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E87: "ງ" LAO LETTER NGO -->
<Key
latin:keyLabel="&#x0E87;"
latin:keyLabelFlags="fontNormal" />
<!-- U+201C: "“" LEFT DOUBLE QUOTATION MARK -->
<Key
latin:keyLabel="&#x201C;" />
</default>
</switch>
</merge>

View File

@ -0,0 +1,103 @@
<?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"
>
<switch>
<case
latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
>
<!-- U+20AD: "₭" KIP SIGN -->
<Key
latin:keyLabel="&#x20AD;" />
<Key
latin:keyLabel="(" />
<!-- U+0EAF: "ຯ" LAO ELLIPSIS -->
<Key
latin:keyLabel="&#x0EAF;"
latin:keyLabelFlags="fontNormal" />
<Key
latin:keyLabel="\@" />
<!-- U+0EB6/U+0EC9: "ຶ້" LAO VOWEL SIGN Y/LAO TONE MAI THO -->
<Key
latin:keyLabel="&#x0EB6;&#x0EC9;"
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
<!-- U+0EB7/U+0EC9: "ື້" LAO VOWEL SIGN YY/LAO TONE MAI THO -->
<Key
latin:keyLabel="&#x0EB7;&#x0EC9;"
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
<!-- U+0EC6: "ໆ" LAO KO LA -->
<Key
latin:keyLabel="&#x0EC6;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EDD: "ໝ" LAO HO MO -->
<Key
latin:keyLabel="&#x0EDD;"
latin:keyLabelFlags="fontNormal" />
<Key
latin:keyLabel="$" />
<Key
latin:keyLabel=")" />
</case>
<default>
<!-- U+0E9C: "ຜ" LAO LETTER PHO SUNG -->
<Key
latin:keyLabel="&#x0E9C;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E9B: "ປ" LAO LETTER PO -->
<Key
latin:keyLabel="&#x0E9B;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EC1: "ແ" LAO VOWEL SIGN EI -->
<Key
latin:keyLabel="&#x0EC1;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EAD: "ອ" LAO LETTER O -->
<Key
latin:keyLabel="&#x0EAD;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EB6: "ຶ" LAO VOWEL SIGN Y -->
<Key
latin:keyLabel="&#x0EB6;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EB7: "ື" LAO VOWEL SIGN YY -->
<Key
latin:keyLabel="&#x0EB7;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E97: "ທ" LAO LETTER THO TAM -->
<Key
latin:keyLabel="&#x0E97;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EA1: "ມ" LAO LETTER MO -->
<Key
latin:keyLabel="&#x0EA1;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0EC3: "ໃ" LAO VOWEL SIGN AY -->
<Key
latin:keyLabel="&#x0EC3;"
latin:keyLabelFlags="fontNormal" />
<!-- U+0E9D: "ຝ" LAO LETTER FO TAM -->
<Key
latin:keyLabel="&#x0E9D;"
latin:keyLabelFlags="fontNormal" />
</default>
</switch>
</merge>

56
java/res/xml/rows_lao.xml Normal file
View File

@ -0,0 +1,56 @@
<?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"
>
<include
latin:keyboardLayout="@xml/key_styles_common" />
<Row
latin:keyWidth="8.3333%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_lao1" />
</Row>
<Row
latin:keyWidth="8.3333%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_lao2" />
</Row>
<Row
latin:keyWidth="8.3333%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_lao3" />
</Row>
<Row
latin:keyWidth="8.3333%p"
>
<Key
latin:keyStyle="shiftKeyStyle" />
<include
latin:keyboardLayout="@xml/rowkeys_lao4" />
<Key
latin:keyStyle="deleteKeyStyle" />
</Row>
<include
latin:keyboardLayout="@xml/row_qwerty4" />
</merge>

View File

@ -2056,6 +2056,25 @@ public final class KeyboardTextsSet {
/* 45 */ "\u0410\u0411\u0412",
};
/* Language lo: Lao */
private static final String[] LANGUAGE_lo = {
/* 0~ */
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
/* ~44 */
// Label for "switch to alphabetic" key.
// U+0E81: "ກ" LAO LETTER KO
// U+0E82: "ຂ" LAO LETTER KHO SUNG
// U+0E84: "ຄ" LAO LETTER KHO TAM
/* 45 */ "\u0E81\u0E82\u0E84",
/* 46~ */
null, null, null, null, null,
/* ~50 */
// U+20AD: "₭" KIP SIGN
/* 51 */ "\u20AD",
};
/* Language lt: Lithuanian */
private static final String[] LANGUAGE_lt = {
// U+0105: "ą" LATIN SMALL LETTER A WITH OGONEK
@ -3332,6 +3351,7 @@ public final class KeyboardTextsSet {
"ka", LANGUAGE_ka, /* Georgian */
"kk", LANGUAGE_kk, /* Kazakh */
"ky", LANGUAGE_ky, /* Kirghiz */
"lo", LANGUAGE_lo, /* Lao */
"lt", LANGUAGE_lt, /* Lithuanian */
"lv", LANGUAGE_lv, /* Latvian */
"mk", LANGUAGE_mk, /* Macedonian */

View File

@ -0,0 +1,28 @@
<?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.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Label for "switch to alphabetic" key.
U+0E81: "ກ" LAO LETTER KO
U+0E82: "ຂ" LAO LETTER KHO SUNG
U+0E84: "ຄ" LAO LETTER KHO TAM -->
<string name="label_to_alpha_key">&#x0E81;&#x0E82;&#x0E84;</string>
<!-- U+20AD: "₭" KIP SIGN -->
<string name="keylabel_for_currency">&#x20AD;</string>
</resources>