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

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

Merge "Add Akkhor Layout for Bengali Bangladesh"

parents f41c11a5 76150b81
Loading
Loading
Loading
Loading
+50 −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:keyLabelFlags="fontNormal"
        latin:keyWidth="8.182%p" >
        <include latin:keyboardLayout="@xml/rowkeys_bengali_akkhor1" />
        <Key
            latin:keyStyle="deleteKeyStyle"
            latin:keyWidth="fillRight" />
    </Row>
    <Row
        latin:keyLabelFlags="fontNormal"
        latin:keyWidth="8.182%p" >
        <include latin:keyboardLayout="@xml/rowkeys_bengali_akkhor2" />
        <Key
            latin:keyStyle="enterKeyStyle"
            latin:keyWidth="fillRight" />
    </Row>
    <Row
        latin:keyLabelFlags="fontNormal"
        latin:keyWidth="8.182%p" >
        <Key
            latin:keyStyle="shiftKeyStyle"
            latin:keyWidth="10.0%p" />

        <include latin:keyboardLayout="@xml/rowkeys_bengali_akkhor3" />
        <include latin:keyboardLayout="@xml/keys_exclamation_question" />
    </Row>
    <include latin:keyboardLayout="@xml/row_qwerty4" />
</merge>
+23 −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_bengali_akkhor" />
</Keyboard>
+3 −2
Original line number Diff line number Diff line
@@ -98,8 +98,9 @@
            <include latin:keyboardLayout="@xml/key_styles_currency_generic" />
        </case>
        <!-- si_LK: Sinhala (Sri Lanka) (Sri Lanka Rupee)
             ta_LK: Tamil (Sri Lanka) (Sri Lanka Rupee) -->
        <case latin:countryCode="LK">
             ta_LK: Tamil (Sri Lanka) (Sri Lanka Rupee)
             bn_BD: Bengali (Bangladesh) (Taka) -->
        <case latin:countryCode="LK|BD">
            <include latin:keyboardLayout="@xml/key_styles_currency_generic" />
        </case>
        <!-- bn_IN: Bengali (India) (Indian Rupee)
+58 −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" >
    <Feature latin:supportedScript="devanagari" />
    <Element
        latin:elementKeyboard="@xml/kbd_bengali_akkhor"
        latin:elementName="alphabet"
        latin:enableProximityCharsCorrection="true" />
    <Element
        latin:elementKeyboard="@xml/kbd_bengali_akkhor"
        latin:elementName="alphabetAutomaticShifted"
        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:elementKeyboard="@xml/kbd_bengali_akkhor"
        latin:elementName="alphabetManualShifted" />
    <Element
        latin:elementKeyboard="@xml/kbd_bengali_akkhor"
        latin:elementName="alphabetShiftLocked" />
    <Element
        latin:elementKeyboard="@xml/kbd_bengali_akkhor"
        latin:elementName="alphabetShiftLockShifted" />
    <Element
        latin:elementKeyboard="@xml/kbd_symbols"
        latin:elementName="symbols" />
    <Element
        latin:elementKeyboard="@xml/kbd_symbols_shift"
        latin:elementName="symbolsShifted" />
    <Element
        latin:elementKeyboard="@xml/kbd_phone"
        latin:elementName="phone" />
    <Element
        latin:elementKeyboard="@xml/kbd_phone_symbols"
        latin:elementName="phoneSymbols" />
    <Element
        latin:elementKeyboard="@xml/kbd_number"
        latin:elementName="number" />
</KeyboardLayoutSet>
+11 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@
    be_BY: Belarusian (Belarus)/east_slavic
    bg: Bulgarian/bulgarian
    bg: Bulgarian/bulgarian_bds
    (bn_BD: Bengali (Bangladesh)/bengali_akkhor) # This is a preliminary keyboard layout.
    bn_IN: Bengali (India)/bengali
    ca: Catalan/spanish
    cs: Czech/qwertz
@@ -179,6 +180,16 @@
            android:imeSubtypeExtraValue="KeyboardLayoutSet=bulgarian_bds,EmojiCapable"
            android:isAsciiCapable="false"
    />
    <!-- TODO: This Bengali (Bangladesh) 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="0xa2144b0c"
            android:imeSubtypeLocale="bn_BD"
            android:imeSubtypeMode="keyboard"
            android:imeSubtypeExtraValue="KeyboardLayoutSet=bengali_akkhor,EmojiCapable"
            android:isAsciiCapable="false"
    />
    <subtype android:icon="@drawable/ic_ime_switcher_dark"
            android:label="@string/subtype_generic"
            android:subtypeId="0xbff5986c"
Loading