mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 505b6ba1
: Merge "Add Lao keyboard"
* commit '505b6ba10300812b29234f856db1be156e56dced': Add Lao keyboard
This commit is contained in:
commit
db5ec99794
63
java/res/xml-sw600dp/rows_lao.xml
Normal file
63
java/res/xml-sw600dp/rows_lao.xml
Normal 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
31
java/res/xml/kbd_lao.xml
Normal 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>
|
@ -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
|
||||
|
58
java/res/xml/keyboard_layout_set_lao.xml
Normal file
58
java/res/xml/keyboard_layout_set_lao.xml
Normal 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>
|
@ -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"
|
||||
|
164
java/res/xml/rowkeys_lao1.xml
Normal file
164
java/res/xml/rowkeys_lao1.xml
Normal 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="໑"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0ED2: "໒" LAO DIGIT TWO -->
|
||||
<Key
|
||||
latin:keyLabel="໒"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0ED3: "໓" LAO DIGIT THREE -->
|
||||
<Key
|
||||
latin:keyLabel="໓"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0ED4: "໔" LAO DIGIT FOUR -->
|
||||
<Key
|
||||
latin:keyLabel="໔"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0ECC: "໌" LAO CANCELLATION MARK -->
|
||||
<Key
|
||||
latin:keyLabel="໌"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EBC: "ຼ" LAO SEMIVOWEL SIGN LO -->
|
||||
<Key
|
||||
latin:keyLabel="ຼ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0ED5: "໕" LAO DIGIT FIVE -->
|
||||
<Key
|
||||
latin:keyLabel="໕"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0ED6: "໖" LAO DIGIT SIX -->
|
||||
<Key
|
||||
latin:keyLabel="໖"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0ED7: "໗" LAO DIGIT SEVEN -->
|
||||
<Key
|
||||
latin:keyLabel="໗"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0ED8: "໘" LAO DIGIT EIGHT -->
|
||||
<Key
|
||||
latin:keyLabel="໘"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0ED9: "໙" LAO DIGIT NINE -->
|
||||
<Key
|
||||
latin:keyLabel="໙"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0ECD/U+0EC8: "ໍ່" LAO NIGGAHITA/LAO TONE MAI EK -->
|
||||
<Key
|
||||
latin:keyLabel="ໍ່"
|
||||
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||
</case>
|
||||
<default>
|
||||
<!-- U+0EA2: "ຢ" LAO LETTER YO
|
||||
U+0ED1: "໑" LAO DIGIT ONE -->
|
||||
<Key
|
||||
latin:keyLabel="ຢ"
|
||||
latin:keyHintLabel="1"
|
||||
latin:additionalMoreKeys="1"
|
||||
latin:moreKeys="໑"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E9F: "ຟ" LAO LETTER FO SUNG
|
||||
U+0ED2: "໒" LAO DIGIT TWO -->
|
||||
<Key
|
||||
latin:keyLabel="ຟ"
|
||||
latin:keyHintLabel="2"
|
||||
latin:additionalMoreKeys="2"
|
||||
latin:moreKeys="໒"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EC2: "ໂ" LAO VOWEL SIGN O
|
||||
U+0ED3: "໓" LAO DIGIT THREE -->
|
||||
<Key
|
||||
latin:keyLabel="ໂ"
|
||||
latin:keyHintLabel="3"
|
||||
latin:additionalMoreKeys="3"
|
||||
latin:moreKeys="໓"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E96: "ຖ" LAO LETTER THO SUNG
|
||||
U+0ED4: "໔" LAO DIGIT FOUR -->
|
||||
<Key
|
||||
latin:keyLabel="ຖ"
|
||||
latin:keyHintLabel="4"
|
||||
latin:additionalMoreKeys="4"
|
||||
latin:moreKeys="໔"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EB8: "ຸ" LAO VOWEL SIGN U -->
|
||||
<Key
|
||||
latin:keyLabel="ຸ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EB9: "ູ" LAO VOWEL SIGN UU -->
|
||||
<Key
|
||||
latin:keyLabel="ູ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E84: "ຄ" LAO LETTER KHO TAM
|
||||
U+0ED5: "໕" LAO DIGIT FIVE -->
|
||||
<Key
|
||||
latin:keyLabel="ຄ"
|
||||
latin:keyHintLabel="5"
|
||||
latin:additionalMoreKeys="5"
|
||||
latin:moreKeys="໕"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E95: "ຕ" LAO LETTER TO
|
||||
U+0ED6: "໖" LAO DIGIT SIX -->
|
||||
<Key
|
||||
latin:keyLabel="ຕ"
|
||||
latin:keyHintLabel="6"
|
||||
latin:additionalMoreKeys="6"
|
||||
latin:moreKeys="໖"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E88: "ຈ" LAO LETTER CO
|
||||
U+0ED7: "໗" LAO DIGIT SEVEN -->
|
||||
<Key
|
||||
latin:keyLabel="ຈ"
|
||||
latin:keyHintLabel="7"
|
||||
latin:additionalMoreKeys="7"
|
||||
latin:moreKeys="໗"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E82: "ຂ" LAO LETTER KHO SUNG
|
||||
U+0ED8: "໘" LAO DIGIT EIGHT -->
|
||||
<Key
|
||||
latin:keyLabel="ຂ"
|
||||
latin:keyHintLabel="8"
|
||||
latin:additionalMoreKeys="8"
|
||||
latin:moreKeys="໘"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E8A: "ຊ" LAO LETTER SO TAM
|
||||
U+0ED9: "໙" LAO DIGIT NINE -->
|
||||
<Key
|
||||
latin:keyLabel="ຊ"
|
||||
latin:keyHintLabel="9"
|
||||
latin:additionalMoreKeys="9"
|
||||
latin:moreKeys="໙"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0ECD: "ໍ" LAO NIGGAHITA -->
|
||||
<Key
|
||||
latin:keyLabel="ໍ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
</default>
|
||||
</switch>
|
||||
</merge>
|
127
java/res/xml/rowkeys_lao2.xml
Normal file
127
java/res/xml/rowkeys_lao2.xml
Normal 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="ົ້"
|
||||
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||
<!-- U+0ED0: "໐" LAO DIGIT ZERO -->
|
||||
<Key
|
||||
latin:keyLabel="໐"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EB3/U+0EC9: "ຳ້" LAO VOWEL SIGN AM/LAO TONE MAI THO -->
|
||||
<Key
|
||||
latin:keyLabel="ຳ້"
|
||||
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="ິ້"
|
||||
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||
<!-- U+0EB5/U+0EC9: "ີ້" LAO VOWEL SIGN II/LAO TONE MAI THO -->
|
||||
<Key
|
||||
latin:keyLabel="ີ້"
|
||||
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||
<!-- U+0EA3: "ຣ" LAO LETTER LO LING -->
|
||||
<Key
|
||||
latin:keyLabel="ຣ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EDC: "ໜ" LAO HO NO -->
|
||||
<Key
|
||||
latin:keyLabel="ໜ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EBD: "ຽ" LAO SEMIVOWEL SIGN NYO -->
|
||||
<Key
|
||||
latin:keyLabel="ຽ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EAB/U+0EBC: "" LAO LETTER HO SUNG/LAO SEMIVOWEL SIGN LO -->
|
||||
<Key
|
||||
latin:keyLabel="ຫຼ"
|
||||
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||
<!-- U+201D: "”" RIGHT DOUBLE QUOTATION MARK -->
|
||||
<Key
|
||||
latin:keyLabel="”" />
|
||||
</case>
|
||||
<default>
|
||||
<!-- U+0EBB: "ົ" LAO VOWEL SIGN MAI KON -->
|
||||
<Key
|
||||
latin:keyLabel="ົ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EC4: "ໄ" LAO VOWEL SIGN AI
|
||||
U+0ED0: "໐" LAO DIGIT ZERO -->
|
||||
<Key
|
||||
latin:keyLabel="ໄ"
|
||||
latin:keyHintLabel="0"
|
||||
latin:additionalMoreKeys="0"
|
||||
latin:moreKeys="໐"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EB3: "ຳ" LAO VOWEL SIGN AM -->
|
||||
<Key
|
||||
latin:keyLabel="ຳ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E9E: "ພ" LAO LETTER PHO TAM -->
|
||||
<Key
|
||||
latin:keyLabel="ພ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EB0: "ະ" LAO VOWEL SIGN A -->
|
||||
<Key
|
||||
latin:keyLabel="ະ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EB4: "ິ" LAO VOWEL SIGN I -->
|
||||
<Key
|
||||
latin:keyLabel="ິ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EB5: "ີ" LAO VOWEL SIGN II -->
|
||||
<Key
|
||||
latin:keyLabel="ີ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EAE: "ຮ" LAO LETTER HO TAM -->
|
||||
<Key
|
||||
latin:keyLabel="ຮ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E99: "ນ" LAO LETTER NO -->
|
||||
<Key
|
||||
latin:keyLabel="ນ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E8D: "ຍ" LAO LETTER NYO -->
|
||||
<Key
|
||||
latin:keyLabel="ຍ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E9A: "ບ" LAO LETTER BO -->
|
||||
<Key
|
||||
latin:keyLabel="ບ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EA5: "ລ" LAO LETTER LO LOOT -->
|
||||
<Key
|
||||
latin:keyLabel="ລ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
</default>
|
||||
</switch>
|
||||
</merge>
|
110
java/res/xml/rowkeys_lao3.xml
Normal file
110
java/res/xml/rowkeys_lao3.xml
Normal 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="ັ້"
|
||||
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="໊"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0ECB: "໋" LAO TONE MAI CATAWA -->
|
||||
<Key
|
||||
latin:keyLabel="໋"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<Key
|
||||
latin:keyLabel="!" />
|
||||
<Key
|
||||
latin:keyLabel="\?" />
|
||||
<Key
|
||||
latin:keyLabel="%" />
|
||||
<Key
|
||||
latin:keyLabel="=" />
|
||||
<!-- U+201C: "“" LEFT DOUBLE QUOTATION MARK -->
|
||||
<Key
|
||||
latin:keyLabel="“" />
|
||||
</case>
|
||||
<default>
|
||||
<!-- U+0EB1: "ັ" LAO VOWEL SIGN MAI KAN -->
|
||||
<Key
|
||||
latin:keyLabel="ັ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EAB: "ຫ" LAO LETTER HO SUNG -->
|
||||
<Key
|
||||
latin:keyLabel="ຫ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E81: "ກ" LAO LETTER KO -->
|
||||
<Key
|
||||
latin:keyLabel="ກ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E94: "ດ" LAO LETTER DO -->
|
||||
<Key
|
||||
latin:keyLabel="ດ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EC0: "ເ" LAO VOWEL SIGN E -->
|
||||
<Key
|
||||
latin:keyLabel="ເ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EC9: "້" LAO TONE MAI THO -->
|
||||
<Key
|
||||
latin:keyLabel="້"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EC8: "່" LAO TONE MAI EK -->
|
||||
<Key
|
||||
latin:keyLabel="່"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EB2: "າ" LAO VOWEL SIGN AA -->
|
||||
<Key
|
||||
latin:keyLabel="າ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EAA: "ສ" LAO LETTER SO SUNG -->
|
||||
<Key
|
||||
latin:keyLabel="ສ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EA7: "ວ" LAO LETTER WO -->
|
||||
<Key
|
||||
latin:keyLabel="ວ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E87: "ງ" LAO LETTER NGO -->
|
||||
<Key
|
||||
latin:keyLabel="ງ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+201C: "“" LEFT DOUBLE QUOTATION MARK -->
|
||||
<Key
|
||||
latin:keyLabel="“" />
|
||||
</default>
|
||||
</switch>
|
||||
</merge>
|
103
java/res/xml/rowkeys_lao4.xml
Normal file
103
java/res/xml/rowkeys_lao4.xml
Normal 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="₭" />
|
||||
<Key
|
||||
latin:keyLabel="(" />
|
||||
<!-- U+0EAF: "ຯ" LAO ELLIPSIS -->
|
||||
<Key
|
||||
latin:keyLabel="ຯ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<Key
|
||||
latin:keyLabel="\@" />
|
||||
<!-- U+0EB6/U+0EC9: "ຶ້" LAO VOWEL SIGN Y/LAO TONE MAI THO -->
|
||||
<Key
|
||||
latin:keyLabel="ຶ້"
|
||||
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||
<!-- U+0EB7/U+0EC9: "ື້" LAO VOWEL SIGN YY/LAO TONE MAI THO -->
|
||||
<Key
|
||||
latin:keyLabel="ື້"
|
||||
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||
<!-- U+0EC6: "ໆ" LAO KO LA -->
|
||||
<Key
|
||||
latin:keyLabel="ໆ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EDD: "ໝ" LAO HO MO -->
|
||||
<Key
|
||||
latin:keyLabel="ໝ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<Key
|
||||
latin:keyLabel="$" />
|
||||
<Key
|
||||
latin:keyLabel=")" />
|
||||
</case>
|
||||
<default>
|
||||
<!-- U+0E9C: "ຜ" LAO LETTER PHO SUNG -->
|
||||
<Key
|
||||
latin:keyLabel="ຜ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E9B: "ປ" LAO LETTER PO -->
|
||||
<Key
|
||||
latin:keyLabel="ປ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EC1: "ແ" LAO VOWEL SIGN EI -->
|
||||
<Key
|
||||
latin:keyLabel="ແ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EAD: "ອ" LAO LETTER O -->
|
||||
<Key
|
||||
latin:keyLabel="ອ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EB6: "ຶ" LAO VOWEL SIGN Y -->
|
||||
<Key
|
||||
latin:keyLabel="ຶ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EB7: "ື" LAO VOWEL SIGN YY -->
|
||||
<Key
|
||||
latin:keyLabel="ື"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E97: "ທ" LAO LETTER THO TAM -->
|
||||
<Key
|
||||
latin:keyLabel="ທ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EA1: "ມ" LAO LETTER MO -->
|
||||
<Key
|
||||
latin:keyLabel="ມ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0EC3: "ໃ" LAO VOWEL SIGN AY -->
|
||||
<Key
|
||||
latin:keyLabel="ໃ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0E9D: "ຝ" LAO LETTER FO TAM -->
|
||||
<Key
|
||||
latin:keyLabel="ຝ"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
</default>
|
||||
</switch>
|
||||
</merge>
|
56
java/res/xml/rows_lao.xml
Normal file
56
java/res/xml/rows_lao.xml
Normal 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>
|
@ -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 */
|
||||
|
@ -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">ກຂຄ</string>
|
||||
<!-- U+20AD: "₭" KIP SIGN -->
|
||||
<string name="keylabel_for_currency">₭</string>
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user