Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc8f4491 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android (Google) Code Review
Browse files

Merge "Add Malayalam keyboard"

parents e81ef9d3 59e795ca
Loading
Loading
Loading
Loading
+49 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2014, 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.182%p"
        latin:keyLabelFlags="fontNormal|autoXScale"
    >
        <include latin:keyboardLayout="@xml/rowkeys_malayalam1" />
        <Key
            latin:keyStyle="deleteKeyStyle"
            latin:keyWidth="fillRight" />
    </Row>
    <Row
        latin:keyWidth="8.182%p"
        latin:keyLabelFlags="fontNormal|autoXScale"
    >
        <include latin:keyboardLayout="@xml/rowkeys_malayalam2" />
        <Key
            latin:keyStyle="enterKeyStyle"
            latin:keyWidth="fillRight" />
    </Row>
    <Row
        latin:keyWidth="8.182%p"
        latin:keyLabelFlags="fontNormal|autoXScale"
    >
        <include latin:keyboardLayout="@xml/rowkeys_malayalam3" />
        <include latin:keyboardLayout="@xml/keys_exclamation_question" />
    </Row>
    <include latin:keyboardLayout="@xml/row_qwerty4" />
</merge>
+26 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2014, 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_malayalam" />
</Keyboard>
+42 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2014, 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_malayalam"
        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>
+11 −0
Original line number Diff line number Diff line
@@ -68,6 +68,7 @@
    lt: Lithuanian/qwerty
    lv: Latvian/qwerty
    mk: Macedonian/south_slavic
    (ml_IN: Malayalam (India)/malayalam) # This is a preliminary keyboard layout.
    mn_MN: Mongolian (Mongolia)/mongolian
    (mr_IN: Marathi (India)/marathi) # This is a preliminary keyboard layout.
    ms_MY: Malay (Malaysia)/qwerty
@@ -483,6 +484,16 @@
            android:imeSubtypeExtraValue="KeyboardLayoutSet=south_slavic,EmojiCapable"
            android:isAsciiCapable="false"
    />
    <!-- TODO: This malayalam keyboard is a preliminary layout.
               This isn't based on the final specification. -->
    <subtype android:icon="@drawable/ic_ime_switcher_dark"
            android:label="@string/subtype_generic"
            android:subtypeId="0xc182ebd4"
            android:imeSubtypeLocale="ml_IN"
            android:imeSubtypeMode="keyboard"
            android:imeSubtypeExtraValue="KeyboardLayoutSet=malayalam,EmojiCapable"
            android:isAsciiCapable="false"
    />
    <subtype android:icon="@drawable/ic_ime_switcher_dark"
            android:label="@string/subtype_generic"
            android:subtypeId="0xcdcfc3ab"
+100 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2014, 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+0D4D: "്" MALAYALAM SIGN VIRAMA
         U+0D05: "അ" MALAYALAM LETTER A -->
    <Key
        latin:keySpec="&#x0D4D;"
        latin:moreKeys="&#x0D05;,%"
        latin:keyHintLabel="1"
        latin:additionalMoreKeys="1" />
    <!-- U+0D3E: "ാ" MALAYALAM VOWEL SIGN AA
         U+0D06: "ആ" MALAYALAM LETTER AA -->
    <Key
        latin:keySpec="&#x0D3E;"
        latin:moreKeys="&#x0D06;,%"
        latin:keyHintLabel="2"
        latin:additionalMoreKeys="2" />
    <!-- U+0D3F: "ി" MALAYALAM VOWEL SIGN I
         U+0D07: "ഇ" MALAYALAM LETTER I -->
    <Key
        latin:keySpec="&#x0D3F;"
        latin:moreKeys="&#x0D07;,%"
        latin:keyHintLabel="3"
        latin:additionalMoreKeys="3" />
    <!-- U+0D40: "ീ" MALAYALAM VOWEL SIGN II
         U+0D08: "ഈ" MALAYALAM LETTER II -->
    <Key
        latin:keySpec="&#x0D40;"
        latin:moreKeys="&#x0D08;,%"
        latin:keyHintLabel="4"
        latin:additionalMoreKeys="4" />
    <!-- U+0D41: "ു" MALAYALAM VOWEL SIGN U
         U+0D09: "ഉ" MALAYALAM LETTER U -->
    <Key
        latin:keySpec="&#x0D41;"
        latin:moreKeys="&#x0D09;,%"
        latin:keyHintLabel="5"
        latin:additionalMoreKeys="5" />
    <!-- U+0D42: "ൂ" MALAYALAM VOWEL SIGN UU
         U+0D0A: "ഊ" MALAYALAM LETTER UU -->
    <Key
        latin:keySpec="&#x0D42;"
        latin:moreKeys="&#x0D0A;,%"
        latin:keyHintLabel="6"
        latin:additionalMoreKeys="6" />
    <!-- U+0D43: "ൃ" MALAYALAM VOWEL SIGN VOCALIC R
         U+0D0B: "ഋ" MALAYALAM LETTER VOCALIC R -->
    <Key
        latin:keySpec="&#x0D43;"
        latin:moreKeys="&#x0D0B;,%"
        latin:keyHintLabel="7"
        latin:additionalMoreKeys="7" />
    <!-- U+0D46: "െ" MALAYALAM VOWEL SIGN E
         U+0D0E: "എ" MALAYALAM LETTER E
         U+0D10: "ഐ" MALAYALAM LETTER AI
         U+0D48: "ൈ" MALAYALAM VOWEL SIGN AI -->
    <Key
        latin:keySpec="&#x0D46;"
        latin:moreKeys="&#x0D0E;,&#x0D10;,&#x0D48;,%"
        latin:keyHintLabel="8"
        latin:additionalMoreKeys="8" />
    <!-- U+0D47: "േ" MALAYALAM VOWEL SIGN EE
         U+0D0F: "ഏ" MALAYALAM LETTER EE -->
    <Key
        latin:keySpec="&#x0D47;"
        latin:moreKeys="&#x0D0F;,%"
        latin:keyHintLabel="9"
        latin:additionalMoreKeys="9" />
    <!-- U+0D4A: "ൊ" MALAYALAM VOWEL SIGN O
         U+0D12: "ഒ" MALAYALAM LETTER O -->
    <Key
        latin:keySpec="&#x0D4A;"
        latin:moreKeys="&#x0D12;,%"
        latin:keyHintLabel="0"
        latin:additionalMoreKeys="0" />
    <!-- U+0D4B: "ോ" MALAYALAM VOWEL SIGN OO
         U+0D13: "ഓ" MALAYALAM LETTER OO
         U+0D14: "ഔ" MALAYALAM LETTER AU
         U+0D57: "ൗ" MALAYALAM AU LENGTH MARK -->
    <Key latin:keySpec="&#x0D4B;"
         latin:moreKeys="&#x0D13;,&#x0D14;,&#x0D57;" />
</merge>
Loading