mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Add Central Kurdish layout
Closes #194 on GitHub Signed-off-by: Aleksandras Kostarevas <aleks076@protonmail.com>
This commit is contained in:
parent
856bbb4609
commit
0eb8d28c1b
@ -85,6 +85,8 @@
|
|||||||
<item>qwerty</item>
|
<item>qwerty</item>
|
||||||
<item>ar:SupportTouchPositionCorrection,EmojiCapable</item>
|
<item>ar:SupportTouchPositionCorrection,EmojiCapable</item>
|
||||||
<item>arabic</item>
|
<item>arabic</item>
|
||||||
|
<item>ckb:SupportTouchPositionCorrection,EmojiCapable</item>
|
||||||
|
<item>Kurdish</item>
|
||||||
<item>cs:AsciiCapable,SupportTouchPositionCorrection,EmojiCapable</item>
|
<item>cs:AsciiCapable,SupportTouchPositionCorrection,EmojiCapable</item>
|
||||||
<item>qwertz</item>
|
<item>qwertz</item>
|
||||||
<item>da:AsciiCapable,SupportTouchPositionCorrection,EmojiCapable</item>
|
<item>da:AsciiCapable,SupportTouchPositionCorrection,EmojiCapable</item>
|
||||||
|
@ -613,5 +613,6 @@ Tip: You can download and remove dictionaries by going to <b>Languages &
|
|||||||
<string name="layout_telugu">Telugu</string>
|
<string name="layout_telugu">Telugu</string>
|
||||||
<string name="layout_thai">Thai</string>
|
<string name="layout_thai">Thai</string>
|
||||||
<string name="layout_uzbek">Uzbek</string>
|
<string name="layout_uzbek">Uzbek</string>
|
||||||
|
<string name="layout_kurdish">Kurdish</string>
|
||||||
<string name="layout_default">Default</string>
|
<string name="layout_default">Default</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
26
java/res/xml/kbd_kurdish.xml
Normal file
26
java/res/xml/kbd_kurdish.xml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
**
|
||||||
|
** Copyright 2011, 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-auto"
|
||||||
|
>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rows_kurdish" />
|
||||||
|
</Keyboard>
|
@ -45,6 +45,14 @@
|
|||||||
latin:keySpec="\@"
|
latin:keySpec="\@"
|
||||||
latin:keyStyle="settingsMoreKeysStyle" />
|
latin:keyStyle="settingsMoreKeysStyle" />
|
||||||
</case>
|
</case>
|
||||||
|
<case
|
||||||
|
latin:keyboardLayoutSet="kurdish|arabic|farsi"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keySpec="،"
|
||||||
|
latin:keyLabelFlags="hasPopupHint"
|
||||||
|
latin:keyStyle="settingsMoreKeysStyle" />
|
||||||
|
</case>
|
||||||
<default>
|
<default>
|
||||||
<Key
|
<Key
|
||||||
latin:keySpec="!text/keyspec_comma"
|
latin:keySpec="!text/keyspec_comma"
|
||||||
|
@ -30,6 +30,14 @@
|
|||||||
latin:keyLabelFlags="hasPopupHint"
|
latin:keyLabelFlags="hasPopupHint"
|
||||||
latin:moreKeys="!text/morekeys_punctuation,!text/morekeys_z" />
|
latin:moreKeys="!text/morekeys_punctuation,!text/morekeys_z" />
|
||||||
</case>
|
</case>
|
||||||
|
<case
|
||||||
|
latin:keyboardLayoutSet="kurdish|arabic|farsi"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keySpec="."
|
||||||
|
latin:keyLabelFlags="hasPopupHint"
|
||||||
|
latin:moreKeys="؟" />
|
||||||
|
</case>
|
||||||
<default>
|
<default>
|
||||||
<Key
|
<Key
|
||||||
latin:keySpec="!text/keyspec_period"
|
latin:keySpec="!text/keyspec_period"
|
||||||
|
44
java/res/xml/keyboard_layout_set_kurdish.xml
Normal file
44
java/res/xml/keyboard_layout_set_kurdish.xml
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<KeyboardLayoutSet
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res-auto">
|
||||||
|
<Feature
|
||||||
|
latin:supportedScript="arabic" />
|
||||||
|
<Element
|
||||||
|
latin:elementName="alphabet"
|
||||||
|
latin:elementKeyboard="@xml/kbd_kurdish"
|
||||||
|
latin:enableProximityCharsCorrection="true" />
|
||||||
|
<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>
|
27
java/res/xml/keys_kurdish_left.xml
Normal file
27
java/res/xml/keys_kurdish_left.xml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<?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-auto"
|
||||||
|
>
|
||||||
|
<!-- U+0630: "ذ" ARABIC LETTER THAL -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ذ" />
|
||||||
|
</merge>
|
17
java/res/xml/row_number_arabic_switch.xml
Normal file
17
java/res/xml/row_number_arabic_switch.xml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res-auto"
|
||||||
|
>
|
||||||
|
<switch>
|
||||||
|
<case latin:numberRow="true">
|
||||||
|
<Row
|
||||||
|
latin:keyWidth="10%p"
|
||||||
|
>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_numbers_arabic" />
|
||||||
|
</Row>
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
169
java/res/xml/rowkeys_kurdish1.xml
Normal file
169
java/res/xml/rowkeys_kurdish1.xml
Normal file
@ -0,0 +1,169 @@
|
|||||||
|
<?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-auto">
|
||||||
|
|
||||||
|
<switch>
|
||||||
|
<case
|
||||||
|
latin:keyboardLayoutSetElement="alphabet|alphabetAutomaticShifted|alphabetShiftLocked"
|
||||||
|
>
|
||||||
|
<!-- U+0642: "ق" ARABIC LETTER QAF
|
||||||
|
U+x0060 "`" SYMBOL BACKTICK -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ق"
|
||||||
|
latin:keyHintLabel="1"
|
||||||
|
latin:additionalMoreKeys="`,١,1"
|
||||||
|
|
||||||
|
/>
|
||||||
|
<!-- U+0648: "و" ARABIC LETTER WAW
|
||||||
|
U+0648: "وو" ARABIC LETTER DOUBLE WAW -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="و"
|
||||||
|
latin:keyHintLabel="2"
|
||||||
|
latin:additionalMoreKeys="وو,٢,2" />
|
||||||
|
<!-- U+06D5: "ە" ARABIC LETTER BZWEN
|
||||||
|
U+064A: "ی" ARABIC LETTER YA WITH DOUBLE DOT -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ە"
|
||||||
|
latin:keyHintLabel="3"
|
||||||
|
latin:additionalMoreKeys="ي,٣,3" />
|
||||||
|
<!-- U+0631: "ر" ARABIC LETTER REH
|
||||||
|
U+0695: "ڕ" KURDISH LETTER RAA -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ر"
|
||||||
|
latin:keyHintLabel="4"
|
||||||
|
latin:additionalMoreKeys="ڕ,٤,4" />
|
||||||
|
<!-- U+062A: "ت" ARABIC LETTER TEH
|
||||||
|
U+0637: "ط" ARABIC LETTER TA -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ت"
|
||||||
|
latin:keyHintLabel="5"
|
||||||
|
latin:additionalMoreKeys="ط,٥,5" />
|
||||||
|
<!-- U+06CC: "ی" ARABIC LETTER KURDISH YEH
|
||||||
|
U+06CE: "ێ" KURDISH LETTER KURDISH YE -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ی"
|
||||||
|
latin:keyHintLabel="6"
|
||||||
|
latin:additionalMoreKeys="ێ,٦,6" />
|
||||||
|
<!-- U+0626: "ئ" ARABIC LETTER YEH WITH HAMZA ABOVE
|
||||||
|
U+0621: "ء" ARABIC LETTER A -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ئ"
|
||||||
|
latin:keyHintLabel="7"
|
||||||
|
latin:additionalMoreKeys="ء,٧,7" />
|
||||||
|
<!-- U+062D: "ح" ARABIC LETTER HA
|
||||||
|
U+0639: "ع" ARABIC LETTER AA -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ح"
|
||||||
|
latin:keyHintLabel="8"
|
||||||
|
latin:additionalMoreKeys="ع,٨,8" />
|
||||||
|
<!-- U+06C6: "ۆ" KURDISH LETTER WO
|
||||||
|
U+0624: "ؤ" ARABIC LETTER WA-->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ۆ"
|
||||||
|
latin:keyHintLabel="9"
|
||||||
|
latin:additionalMoreKeys="ؤ,٩,9" />
|
||||||
|
<!-- U+067E: "پ" KURDISH LETTER PA
|
||||||
|
U+062B: "ث" ARABIC LETTER THA -->
|
||||||
|
|
||||||
|
<Key
|
||||||
|
latin:keySpec="پ"
|
||||||
|
latin:keyHintLabel="0"
|
||||||
|
latin:additionalMoreKeys="ث,٠,0" />
|
||||||
|
</case>
|
||||||
|
<!-- reverse layout additional keys is spec and spec is addicat-->
|
||||||
|
<default>
|
||||||
|
<!-- U+x0060 "`" SYMBOL BACKTICK
|
||||||
|
U+0642: "ق" ARABIC LETTER QAF-->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="`"
|
||||||
|
latin:keyHintLabel="1"
|
||||||
|
latin:additionalMoreKeys="ق,١,1" />
|
||||||
|
<!-- U+0648: "وو" ARABIC LETTER DOUBLE WAW
|
||||||
|
U+0648: "و" ARABIC LETTER WAW -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="وو"
|
||||||
|
latin:keyHintLabel="2"
|
||||||
|
latin:additionalMoreKeys="و,٢,2" />
|
||||||
|
<!-- U+064A: "ی" ARABIC LETTER YA WITH DOUBLE DOT
|
||||||
|
U+06D5: "ە" ARABIC LETTER BZWEN -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ي"
|
||||||
|
latin:keyHintLabel="3"
|
||||||
|
latin:additionalMoreKeys="
|
||||||
|
ە,٣,3" />
|
||||||
|
<!-- U+0695: "ڕ" KURDISH LETTER RAA
|
||||||
|
U+0631: "ر" ARABIC LETTER REH -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ڕ"
|
||||||
|
latin:keyHintLabel="4"
|
||||||
|
latin:additionalMoreKeys="
|
||||||
|
ر,٤,4" />
|
||||||
|
<!-- U+0637: "ط" ARABIC LETTER TA
|
||||||
|
U+062A: "ت" ARABIC LETTER TEH -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ط"
|
||||||
|
latin:keyHintLabel="5"
|
||||||
|
latin:additionalMoreKeys="
|
||||||
|
ت,٥,5" />
|
||||||
|
<!-- U+06CE: "ێ" KURDISH LETTER KURDISH YE
|
||||||
|
U+06CC: "ی" ARABIC LETTER KURDISH YEH -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ێ"
|
||||||
|
latin:keyHintLabel="6"
|
||||||
|
latin:additionalMoreKeys="
|
||||||
|
ی,٦,6" />
|
||||||
|
<!-- U+0621: "ء" ARABIC LETTER A
|
||||||
|
U+0626: "ئ" ARABIC LETTER YEH WITH HAMZA ABOVE -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ء"
|
||||||
|
latin:keyHintLabel="7"
|
||||||
|
latin:additionalMoreKeys="
|
||||||
|
ئ,٧,7" />
|
||||||
|
<!-- U+0639: "ع" ARABIC LETTER AA
|
||||||
|
U+062D: "ح" ARABIC LETTER HA -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ع"
|
||||||
|
latin:keyHintLabel="8"
|
||||||
|
latin:additionalMoreKeys="
|
||||||
|
ح,٨,8" />
|
||||||
|
<!-- U+0624: "ؤ" ARABIC LETTER WA
|
||||||
|
U+06C6: "ۆ" KURDISH LETTER WO -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ؤ"
|
||||||
|
latin:keyHintLabel="9"
|
||||||
|
latin:additionalMoreKeys="
|
||||||
|
ۆ,٩,9" />
|
||||||
|
<!-- U+062B: "ث" ARABIC LETTER THA
|
||||||
|
U+067E: "پ" KURDISH LETTER PA -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ث"
|
||||||
|
latin:keyHintLabel="0"
|
||||||
|
latin:additionalMoreKeys="
|
||||||
|
پ,٠,0" />
|
||||||
|
|
||||||
|
|
||||||
|
</default>
|
||||||
|
|
||||||
|
</switch>
|
||||||
|
|
||||||
|
|
||||||
|
</merge>
|
||||||
|
|
123
java/res/xml/rowkeys_kurdish2.xml
Normal file
123
java/res/xml/rowkeys_kurdish2.xml
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
<?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-auto">
|
||||||
|
<switch>
|
||||||
|
<case
|
||||||
|
latin:keyboardLayoutSetElement="alphabet|alphabetAutomaticShifted|alphabetShiftLocked"
|
||||||
|
>
|
||||||
|
<!-- U+x0627: "ا" ARABIC LETTER ALF
|
||||||
|
U+x0622: "آ" ARABIC LETTER ALF WITH SHADA -->
|
||||||
|
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ا"
|
||||||
|
latin:moreKeys="آ" />
|
||||||
|
<!-- U+0633: "س" ARABIC LETTER SEEN
|
||||||
|
U+0634: "ش" ARABIC LETTER SHA -->
|
||||||
|
<Key latin:keySpec="س"
|
||||||
|
latin:moreKeys="ش"
|
||||||
|
/>
|
||||||
|
<!-- U+062F: "د" ARABIC LETTER DAL
|
||||||
|
U+0630: "ذ" ARABIC LETTER THAL
|
||||||
|
-->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="د"
|
||||||
|
latin:moreKeys="ذ" />
|
||||||
|
<!-- U+0641: "ف" ARABIC LETTER FAH
|
||||||
|
U+0625: "إ" ARABIC LETTER ALF WITH KASRA -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ف"
|
||||||
|
latin:moreKeys="إ" />
|
||||||
|
<!-- U+06AF: "گ" KURDISH LETTER G
|
||||||
|
U+063A: "غ" ARABIC LETTER GH
|
||||||
|
-->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="گ"
|
||||||
|
latin:moreKeys="غ" />
|
||||||
|
<!-- U+0627: "ه" KURDISH LETTER HA
|
||||||
|
U+200C: "" KURDISH LETTER NO SPACE BREAK -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ه"
|
||||||
|
latin:moreKeys="‌" />
|
||||||
|
<!-- U+062A: "ژ" KURDISH LETTER ZH
|
||||||
|
U+0623: "أ" ARABIC LETTER ALF WITH HAMZA ABOVE
|
||||||
|
-->
|
||||||
|
<Key latin:keySpec="ژ"
|
||||||
|
latin:moreKeys="أ" />
|
||||||
|
<!-- U+06A9: "ک" ARABIC LETTER KAF
|
||||||
|
U+0643: "ك" ARABIC LETTER ISOLATE KAF
|
||||||
|
-->
|
||||||
|
<Key latin:keySpec="ک"
|
||||||
|
latin:moreKeys="ك" />
|
||||||
|
<!-- U+0644: "ل" ARABIC LETTER LAM
|
||||||
|
U+06B5: "ل" KURDISH LETTER LAA -->
|
||||||
|
<Key latin:keySpec="ل"
|
||||||
|
latin:moreKeys="ڵ" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<!-- swap keyspec with morekeys -->
|
||||||
|
<!-- U+x0622: "آ" ARABIC LETTER ALF WITH SHADA
|
||||||
|
U+x0627: "ا" ARABIC LETTER ALF -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="آ"
|
||||||
|
latin:moreKeys="ا" />
|
||||||
|
<!-- U+0634: "ش" ARABIC LETTER SHA
|
||||||
|
U+0633: "س" ARABIC LETTER SEEN -->
|
||||||
|
<Key latin:keySpec="ش"
|
||||||
|
latin:moreKeys="س"
|
||||||
|
/>
|
||||||
|
<!-- U+0630: "ذ" ARABIC LETTER THAL
|
||||||
|
U+062F: "د" ARABIC LETTER DAL -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ذ"
|
||||||
|
latin:moreKeys="د" />
|
||||||
|
<!-- U+0625: "إ" ARABIC LETTER ALF WITH KASRA
|
||||||
|
U+0641: "ف" ARABIC LETTER FAH -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="إ"
|
||||||
|
latin:moreKeys="ف" />
|
||||||
|
<!-- U+063A: "غ" ARABIC LETTER GH
|
||||||
|
U+06AF: "گ" KURDISH LETTER G -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="غ"
|
||||||
|
latin:moreKeys="گ" />
|
||||||
|
<!-- U+200C: "" KURDISH LETTER NO SPACE BREAK
|
||||||
|
U+0647: "ه" KURDISH LETTER HA -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="‌"
|
||||||
|
latin:moreKeys="ه" />
|
||||||
|
<!-- U+0623: "أ" ARABIC LETTER ALF WITH HAMZA ABOVE
|
||||||
|
U+0698: "ژ" KURDISH LETTER ZH -->
|
||||||
|
<Key latin:keySpec="أ"
|
||||||
|
latin:moreKeys="ژ" />
|
||||||
|
<!-- U+0643: "ك" ARABIC LETTER ISOLATE KAF
|
||||||
|
U+06A9: "ک" ARABIC LETTER KAF -->
|
||||||
|
<Key latin:keySpec="ك"
|
||||||
|
latin:moreKeys="ک" />
|
||||||
|
<!-- U+06B5: "ل" KURDISH LETTER LAA
|
||||||
|
U+0644: "ل" ARABIC LETTER LAM -->
|
||||||
|
<Key latin:keySpec="ڵ"
|
||||||
|
latin:moreKeys="ل" />
|
||||||
|
</default>
|
||||||
|
|
||||||
|
|
||||||
|
</switch>
|
||||||
|
|
||||||
|
</merge>
|
111
java/res/xml/rowkeys_kurdish3.xml
Normal file
111
java/res/xml/rowkeys_kurdish3.xml
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
<?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-auto">
|
||||||
|
<switch>
|
||||||
|
<case
|
||||||
|
latin:keyboardLayoutSetElement="alphabet|alphabetAutomaticShifted|alphabetShiftLocked"
|
||||||
|
>
|
||||||
|
<!-- U+0632: "ز" ARABIC LETTER Z
|
||||||
|
U+0636: "ض" ARABIC LETTER THAD -->
|
||||||
|
<Key latin:keySpec="ز"
|
||||||
|
latin:moreKeys="ض"
|
||||||
|
/>
|
||||||
|
<!-- U+0624: "خ" ARABIC LETTER XA
|
||||||
|
U+0635: "ص" ARABIC LETTER THAD
|
||||||
|
-->
|
||||||
|
<Key latin:keySpec="خ"
|
||||||
|
latin:moreKeys="ص"
|
||||||
|
/>
|
||||||
|
<!-- U+0631: "ج" ARABIC LETTER JIM
|
||||||
|
U+0686: "چ" KURDISH LETTER CH -->
|
||||||
|
<Key latin:keySpec="ج"
|
||||||
|
latin:moreKeys="چ" />
|
||||||
|
|
||||||
|
<!-- U+0649: "ڤ" KURDISH LETTER V
|
||||||
|
U+0638: "ظ" ARABIC LETTER THA -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ڤ"
|
||||||
|
latin:moreKeys="ظ" />
|
||||||
|
<!-- U+0629: "ب" ARABIC LETTER BA
|
||||||
|
U+0649: "ى" ARABIC LETTER YA
|
||||||
|
-->
|
||||||
|
<Key latin:keySpec="ب"
|
||||||
|
latin:moreKeys="ى"/>
|
||||||
|
<!-- U+0648: "ن" ARABIC LETTER NUN
|
||||||
|
U+0648: "ة" ARABIC LETTER TA
|
||||||
|
-->
|
||||||
|
<Key latin:keySpec="ن"
|
||||||
|
latin:moreKeys="و"/>
|
||||||
|
<!-- U+0632: "م" ARABIC LETTER MEEM
|
||||||
|
U+0698: "-" SYMBOL Dash -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="م"
|
||||||
|
latin:moreKeys="ـ" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<!-- swap keyspec with morekeys -->
|
||||||
|
<!-- U+0636: "ض" ARABIC LETTER THAD
|
||||||
|
U+0632: "ز" ARABIC LETTER Z -->
|
||||||
|
<Key latin:keySpec="ض"
|
||||||
|
latin:moreKeys="ز"
|
||||||
|
/>
|
||||||
|
<!-- U+0635: "ص" ARABIC LETTER THAD
|
||||||
|
U+062E: "خ" ARABIC LETTER XA
|
||||||
|
-->
|
||||||
|
<Key latin:keySpec="ص"
|
||||||
|
latin:moreKeys="خ"
|
||||||
|
/>
|
||||||
|
<!-- U+0686: "چ" KURDISH LETTER CH
|
||||||
|
U+062C: "ج" ARABIC LETTER JIM -->
|
||||||
|
<Key latin:keySpec="چ"
|
||||||
|
latin:moreKeys="ج" />
|
||||||
|
|
||||||
|
<!-- U+0638: "ظ" ARABIC LETTER THA
|
||||||
|
U+06A4: "ڤ" KURDISH LETTER V -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ظ"
|
||||||
|
latin:moreKeys="ڤ"
|
||||||
|
/>
|
||||||
|
<!-- U+0649: "ى" ARABIC LETTER YA
|
||||||
|
U+0628: "ب" ARABIC LETTER BA
|
||||||
|
-->
|
||||||
|
<Key latin:keySpec="ى"
|
||||||
|
latin:moreKeys="ب"/>
|
||||||
|
<!-- U+0648: "ة" ARABIC LETTER TA
|
||||||
|
U+0646: "ن" ARABIC LETTER NUN
|
||||||
|
-->
|
||||||
|
<Key latin:keySpec="و"
|
||||||
|
latin:moreKeys="ن"/>
|
||||||
|
<!-- U+0640: "-" SYMBOL Dash
|
||||||
|
U+0645: "م" ARABIC LETTER MEEM -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ـ"
|
||||||
|
latin:moreKeys="م"
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
|
||||||
|
</merge>
|
128
java/res/xml/rowkeys_numbers_arabic.xml
Normal file
128
java/res/xml/rowkeys_numbers_arabic.xml
Normal file
@ -0,0 +1,128 @@
|
|||||||
|
<?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-auto">
|
||||||
|
<switch>
|
||||||
|
<case latin:keyboardLayoutSetElement="alphabet|alphabetAutomaticShifted|alphabetShiftLocked">
|
||||||
|
<!-- U+0661: "١" ARABIC LETTER One -->
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="!,!text/morekeys_exclamation"
|
||||||
|
latin:keySpec="١"
|
||||||
|
latin:moreKeys="1,!text/morekeys_symbols_1" />
|
||||||
|
|
||||||
|
<!-- U+0662: "٢" ARABIC LETTER Two -->
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="\@"
|
||||||
|
latin:keySpec="٢"
|
||||||
|
latin:moreKeys="2,!text/morekeys_symbols_2" />
|
||||||
|
|
||||||
|
<!-- U+0663: "٣" ARABIC LETTER Three -->
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="\#"
|
||||||
|
latin:keySpec="٣"
|
||||||
|
latin:moreKeys="3,!text/morekeys_symbols_3" />
|
||||||
|
|
||||||
|
<!-- U+0664: "٤" ARABIC LETTER Four -->
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="$"
|
||||||
|
latin:keySpec="٤"
|
||||||
|
latin:moreKeys="4,!text/morekeys_symbols_4" />
|
||||||
|
|
||||||
|
<!-- U+0665: "٥" ARABIC LETTER Five -->
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="\\%"
|
||||||
|
latin:keySpec="٥"
|
||||||
|
latin:moreKeys="5,!text/morekeys_symbols_5" />
|
||||||
|
|
||||||
|
<!-- U+0666: "٦" ARABIC LETTER Six -->
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="^"
|
||||||
|
latin:keySpec="٦"
|
||||||
|
latin:moreKeys="6,!text/morekeys_symbols_6" />
|
||||||
|
|
||||||
|
<!-- U+0667: "٧" ARABIC LETTER Seven -->
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="&"
|
||||||
|
latin:keySpec="٧"
|
||||||
|
latin:moreKeys="7,!text/morekeys_symbols_7" />
|
||||||
|
|
||||||
|
<!-- U+0668: "٨" ARABIC LETTER Eight -->
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="*"
|
||||||
|
latin:keySpec="٨"
|
||||||
|
latin:moreKeys="8,!text/morekeys_symbols_8" />
|
||||||
|
|
||||||
|
<!-- U+0669: "٩" ARABIC LETTER Nine -->
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="("
|
||||||
|
latin:keySpec="٩"
|
||||||
|
latin:moreKeys="9,!text/morekeys_symbols_9" />
|
||||||
|
|
||||||
|
<!-- U+0660: "٠" ARABIC LETTER Zero -->
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys=")"
|
||||||
|
latin:keySpec="٠"
|
||||||
|
latin:moreKeys="0,!text/morekeys_symbols_0" />
|
||||||
|
|
||||||
|
</case>
|
||||||
|
<!-- keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLockShifted" -->
|
||||||
|
<default>
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="!,!text/morekeys_exclamation"
|
||||||
|
latin:keySpec="1"
|
||||||
|
latin:moreKeys="!text/morekeys_symbols_1" />
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="\@"
|
||||||
|
latin:keySpec="2"
|
||||||
|
latin:moreKeys="!text/morekeys_symbols_2" />
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="\#"
|
||||||
|
latin:keySpec="3"
|
||||||
|
latin:moreKeys="!text/morekeys_symbols_3" />
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="$"
|
||||||
|
latin:keySpec="4"
|
||||||
|
latin:moreKeys="!text/morekeys_symbols_4" />
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="\\%"
|
||||||
|
latin:keySpec="5"
|
||||||
|
latin:moreKeys="!text/morekeys_symbols_5" />
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="^"
|
||||||
|
latin:keySpec="6"
|
||||||
|
latin:moreKeys="!text/morekeys_symbols_6" />
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="&"
|
||||||
|
latin:keySpec="7"
|
||||||
|
latin:moreKeys="!text/morekeys_symbols_7" />
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="*"
|
||||||
|
latin:keySpec="8"
|
||||||
|
latin:moreKeys="!text/morekeys_symbols_8" />
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys="("
|
||||||
|
latin:keySpec="9"
|
||||||
|
latin:moreKeys="!text/morekeys_symbols_9" />
|
||||||
|
<Key
|
||||||
|
latin:additionalMoreKeys=")"
|
||||||
|
latin:keySpec="0"
|
||||||
|
latin:moreKeys="!text/morekeys_symbols_0" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
54
java/res/xml/rows_kurdish.xml
Normal file
54
java/res/xml/rows_kurdish.xml
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
**
|
||||||
|
** Copyright 2011, 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-auto">
|
||||||
|
<include latin:keyboardLayout="@xml/key_styles_common" />
|
||||||
|
<include latin:keyboardLayout="@xml/row_number_arabic_switch" />
|
||||||
|
<Row
|
||||||
|
latin:keyWidth="10%p"
|
||||||
|
latin:keyLabelFlags="fontNormal"
|
||||||
|
>
|
||||||
|
<include latin:keyboardLayout="@xml/rowkeys_kurdish1" />
|
||||||
|
</Row>
|
||||||
|
<Row
|
||||||
|
latin:keyWidth="10%p"
|
||||||
|
latin:keyLabelFlags="fontNormal"
|
||||||
|
>
|
||||||
|
<include latin:keyboardLayout="@xml/rowkeys_kurdish2"
|
||||||
|
latin:keyXPos="5%p"/>
|
||||||
|
|
||||||
|
</Row>
|
||||||
|
<Row
|
||||||
|
latin:keyWidth="10%p"
|
||||||
|
latin:keyLabelFlags="fontNormal"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="shiftKeyStyle"
|
||||||
|
latin:keyWidth="15%p"
|
||||||
|
latin:visualInsetsRight="1%p" />
|
||||||
|
<include latin:keyboardLayout="@xml/rowkeys_kurdish3"
|
||||||
|
/>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="deleteKeyStyle"
|
||||||
|
latin:keyWidth="fillRight"
|
||||||
|
/>
|
||||||
|
</Row>
|
||||||
|
<include latin:keyboardLayout="@xml/row_qwerty4" />
|
||||||
|
</merge>
|
@ -58,6 +58,7 @@ val LocaleLayoutMap = mapOf(
|
|||||||
"et_EE" to makeQwertyWithPrimary("nordic"),
|
"et_EE" to makeQwertyWithPrimary("nordic"),
|
||||||
"eu_ES" to makeQwertyWithPrimary("spanish"),
|
"eu_ES" to makeQwertyWithPrimary("spanish"),
|
||||||
"fa" to listOf("farsi"),
|
"fa" to listOf("farsi"),
|
||||||
|
"ckb" to listOf("kurdish"),
|
||||||
"fi" to makeQwertyWithPrimary("nordic"),
|
"fi" to makeQwertyWithPrimary("nordic"),
|
||||||
"fr" to makeQwertyWithPrimary("azerty", "swiss"),
|
"fr" to makeQwertyWithPrimary("azerty", "swiss"),
|
||||||
"fr_CA" to makeQwertyWithPrimary("qwerty", "swiss"),
|
"fr_CA" to makeQwertyWithPrimary("qwerty", "swiss"),
|
||||||
|
@ -19,7 +19,7 @@ data class ContributorInfo(
|
|||||||
private fun contributor(name: String, vararg features: String) = ContributorInfo(name, features.toList())
|
private fun contributor(name: String, vararg features: String) = ContributorInfo(name, features.toList())
|
||||||
|
|
||||||
val contributors = listOf<ContributorInfo>(
|
val contributors = listOf<ContributorInfo>(
|
||||||
|
contributor("Ravyar Tahir (@ravarage)", "Central Kurdish keyboard layout")
|
||||||
)
|
)
|
||||||
|
|
||||||
@Preview(showBackground = true)
|
@Preview(showBackground = true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user