mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-20 17:00:30 +00:00
Split keyboard for Bengali (Bangladesh) (#18)
* Split keyboard for Bengali (Bangladesh) * character correction * supportedScript="bengali"
This commit is contained in:
parent
965038744b
commit
000f312bd6
14 changed files with 825 additions and 411 deletions
|
@ -799,9 +799,9 @@ public final class KeyboardTextsTable {
|
||||||
null, null, null, null,
|
null, null, null, null,
|
||||||
/* ~ morekeys_u */
|
/* ~ morekeys_u */
|
||||||
// Label for "switch to alphabetic" key.
|
// Label for "switch to alphabetic" key.
|
||||||
// U+0995: "क" BENGALI LETTER KA
|
// U+0995: "ক" BENGALI LETTER KA
|
||||||
// U+0996: "ख" BENGALI LETTER KHA
|
// U+0996: "খ" BENGALI LETTER KHA
|
||||||
// U+0997: "ग" BENGALI LETTER GA
|
// U+0997: "গ" BENGALI LETTER GA
|
||||||
/* keylabel_to_alpha */ "\u0995\u0996\u0997",
|
/* keylabel_to_alpha */ "\u0995\u0996\u0997",
|
||||||
/* morekeys_i ~ */
|
/* morekeys_i ~ */
|
||||||
null, null, null, null, null, null,
|
null, null, null, null, null, null,
|
||||||
|
|
135
app/src/main/res/xml-sw600dp-land/rows_bengali_unijoy.xml
Normal file
135
app/src/main/res/xml-sw600dp-land/rows_bengali_unijoy.xml
Normal file
|
@ -0,0 +1,135 @@
|
||||||
|
<?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_optional_number_row" />
|
||||||
|
<!-- First row -->
|
||||||
|
<Row>
|
||||||
|
<switch>
|
||||||
|
<!-- Split keyboard layout for the first row -->
|
||||||
|
<case
|
||||||
|
latin:isSplitLayout="true"
|
||||||
|
>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy1_left5"
|
||||||
|
latin:keyWidth="7.0%p" />
|
||||||
|
<Spacer
|
||||||
|
latin:keyWidth="20.0%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy1_right5"
|
||||||
|
latin:keyWidth="7.0%p" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="deleteKeyStyle"
|
||||||
|
latin:keyWidth="10.0%p" />
|
||||||
|
</case>
|
||||||
|
<!-- Regular layout for the first row -->
|
||||||
|
<default>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy1"
|
||||||
|
latin:keyWidth="9.0%p" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="deleteKeyStyle"
|
||||||
|
latin:keyWidth="fillRight" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</Row>
|
||||||
|
<!-- Second row -->
|
||||||
|
<Row>
|
||||||
|
<switch>
|
||||||
|
<!-- Split keyboard layout for the second row -->
|
||||||
|
<case
|
||||||
|
latin:isSplitLayout="true"
|
||||||
|
>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy2_left5"
|
||||||
|
latin:keyXPos="4.0%p"
|
||||||
|
latin:keyWidth="7.0%p" />
|
||||||
|
<Spacer
|
||||||
|
latin:keyWidth="23.0%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy2_right4"
|
||||||
|
latin:keyWidth="7.0%p" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="enterKeyStyle"
|
||||||
|
latin:keyWidth="10.0%p" />
|
||||||
|
</case>
|
||||||
|
<!-- Regular layout for the second row -->
|
||||||
|
<default>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy2"
|
||||||
|
latin:keyXPos="4.5%p"
|
||||||
|
latin:keyWidth="9.0%p" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="enterKeyStyle"
|
||||||
|
latin:keyWidth="fillRight" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</Row>
|
||||||
|
<!-- Third row -->
|
||||||
|
<Row>
|
||||||
|
<switch>
|
||||||
|
<!-- Split keyboard layout for the third row -->
|
||||||
|
<case
|
||||||
|
latin:isSplitLayout="true"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="shiftKeyStyle"
|
||||||
|
latin:keyWidth="10.0%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy3_left4"
|
||||||
|
latin:keyWidth="7.0%p" />
|
||||||
|
<Spacer
|
||||||
|
latin:keyWidth="17.0%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy3_right3"
|
||||||
|
latin:keyWidth="7.0%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/keys_exclamation_question"
|
||||||
|
latin:keyWidth="7.0%p" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="shiftKeyStyle"
|
||||||
|
latin:keyWidth="10.0%p" />
|
||||||
|
</case>
|
||||||
|
<!-- Regular layout for the third row -->
|
||||||
|
<default>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="shiftKeyStyle"
|
||||||
|
latin:keyWidth="10.0%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy3"
|
||||||
|
latin:keyWidth="9.0%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/keys_exclamation_question"
|
||||||
|
latin:keyWidth="9.0%p" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="shiftKeyStyle"
|
||||||
|
latin:keyWidth="fillRight" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</Row>
|
||||||
|
<!-- Fourth row -->
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/row_qwerty4" />
|
||||||
|
</merge>
|
|
@ -2,7 +2,7 @@
|
||||||
<!--
|
<!--
|
||||||
/*
|
/*
|
||||||
**
|
**
|
||||||
** Copyright 2014, The Android Open Source Project
|
** Copyright 2011, The Android Open Source Project
|
||||||
**
|
**
|
||||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
** you may not use this file except in compliance with the License.
|
** you may not use this file except in compliance with the License.
|
||||||
|
@ -18,39 +18,121 @@
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
|
<merge
|
||||||
<include latin:keyboardLayout="@xml/key_styles_common"/>
|
xmlns:latin="http://schemas.android.com/apk/res-auto"
|
||||||
<include latin:keyboardLayout="@xml/row_optional_number_row" />
|
>
|
||||||
<Row
|
<include
|
||||||
latin:keyLabelFlags="fontNormal"
|
latin:keyboardLayout="@xml/key_styles_common" />
|
||||||
latin:keyWidth="9.0%p">
|
<!-- TODO: Consolidate the layout specification between protrait and landscape.
|
||||||
<include latin:keyboardLayout="@xml/rowkeys_bengali_unijoy1"/>
|
Ideally just the keyWidth should be different and the spacer should adjust to fill
|
||||||
|
the available space. -->
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/row_optional_number_row" />
|
||||||
|
<!-- First row -->
|
||||||
|
<Row>
|
||||||
|
<switch>
|
||||||
|
<!-- Split keyboard layout for the first row -->
|
||||||
|
<case
|
||||||
|
latin:isSplitLayout="true"
|
||||||
|
>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy1_left5"
|
||||||
|
latin:keyWidth="8.0%p" />
|
||||||
|
<Spacer
|
||||||
|
latin:keyWidth="10.0%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy1_right5"
|
||||||
|
latin:keyWidth="8.0%p" />
|
||||||
<Key
|
<Key
|
||||||
latin:keyStyle="deleteKeyStyle"
|
latin:keyStyle="deleteKeyStyle"
|
||||||
latin:keyWidth="fillRight"/>
|
latin:keyWidth="10.0%p" />
|
||||||
|
</case>
|
||||||
|
<!-- Regular layout for the first row -->
|
||||||
|
<default>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy1"
|
||||||
|
latin:keyWidth="9.0%p" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="deleteKeyStyle"
|
||||||
|
latin:keyWidth="fillRight" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
</Row>
|
</Row>
|
||||||
<Row latin:keyLabelFlags="fontNormal">
|
<!-- Second row -->
|
||||||
|
<Row>
|
||||||
|
<switch>
|
||||||
|
<!-- Split keyboard layout for the second row -->
|
||||||
|
<case
|
||||||
|
latin:isSplitLayout="true"
|
||||||
|
>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy2_left5"
|
||||||
|
latin:keyXPos="4.0%p"
|
||||||
|
latin:keyWidth="8.0%p" />
|
||||||
|
<Spacer
|
||||||
|
latin:keyWidth="14.0%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy2_right4"
|
||||||
|
latin:keyWidth="8.0%p" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="enterKeyStyle"
|
||||||
|
latin:keyWidth="10.0%p" />
|
||||||
|
</case>
|
||||||
|
<!-- Regular layout for the second row -->
|
||||||
|
<default>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy2"
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy2"
|
||||||
latin:keyXPos="4.5%p"
|
latin:keyXPos="4.5%p"
|
||||||
latin:keyWidth="9.0%p"/>
|
latin:keyWidth="9.0%p" />
|
||||||
<Key
|
<Key
|
||||||
latin:keyStyle="enterKeyStyle"
|
latin:keyStyle="enterKeyStyle"
|
||||||
latin:keyWidth="fillRight"/>
|
latin:keyWidth="fillRight" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
</Row>
|
</Row>
|
||||||
<Row latin:keyLabelFlags="fontNormal">
|
<!-- Third row -->
|
||||||
|
<Row>
|
||||||
|
<switch>
|
||||||
|
<!-- Split keyboard layout for the third row -->
|
||||||
|
<case
|
||||||
|
latin:isSplitLayout="true"
|
||||||
|
>
|
||||||
<Key
|
<Key
|
||||||
latin:keyStyle="shiftKeyStyle"
|
latin:keyStyle="shiftKeyStyle"
|
||||||
latin:keyWidth="10.0%p"/>
|
latin:keyWidth="10.0%p" />
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy3"
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy3_left4"
|
||||||
latin:keyWidth="9.0%p"/>
|
latin:keyWidth="8.0%p" />
|
||||||
|
<Spacer
|
||||||
|
latin:keyWidth="8.0%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy3_right3"
|
||||||
|
latin:keyWidth="8.0%p" />
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/keys_exclamation_question"
|
latin:keyboardLayout="@xml/keys_exclamation_question"
|
||||||
latin:keyWidth="9.0%p"/>
|
latin:keyWidth="8.0%p" />
|
||||||
<Key
|
<Key
|
||||||
latin:keyStyle="shiftKeyStyle"
|
latin:keyStyle="shiftKeyStyle"
|
||||||
latin:keyWidth="fillRight"/>
|
latin:keyWidth="10.0%p" />
|
||||||
|
</case>
|
||||||
|
<!-- Regular layout for the third row -->
|
||||||
|
<default>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="shiftKeyStyle"
|
||||||
|
latin:keyWidth="10.0%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy3"
|
||||||
|
latin:keyWidth="9.0%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/keys_exclamation_question"
|
||||||
|
latin:keyWidth="9.0%p" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="shiftKeyStyle"
|
||||||
|
latin:keyWidth="fillRight" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
</Row>
|
</Row>
|
||||||
<include latin:keyboardLayout="@xml/row_qwerty4"/>
|
<!-- Fourth row -->
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/row_qwerty4" />
|
||||||
</merge>
|
</merge>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<!--
|
<!--
|
||||||
/*
|
/*
|
||||||
**
|
**
|
||||||
** Copyright 2014, The Android Open Source Project
|
** Copyright 2012, The Android Open Source Project
|
||||||
**
|
**
|
||||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
** you may not use this file except in compliance with the License.
|
** you may not use this file except in compliance with the License.
|
||||||
|
@ -18,41 +18,28 @@
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<KeyboardLayoutSet xmlns:latin="http://schemas.android.com/apk/res-auto" >
|
<KeyboardLayoutSet
|
||||||
<Feature latin:supportedScript="bengali" />
|
xmlns:latin="http://schemas.android.com/apk/res-auto">
|
||||||
|
<Feature
|
||||||
|
latin:supportedScript="bengali" />
|
||||||
<Element
|
<Element
|
||||||
latin:elementKeyboard="@xml/kbd_bengali_unijoy"
|
|
||||||
latin:elementName="alphabet"
|
latin:elementName="alphabet"
|
||||||
latin:enableProximityCharsCorrection="true" />
|
|
||||||
<Element
|
|
||||||
latin:elementKeyboard="@xml/kbd_bengali_unijoy"
|
latin:elementKeyboard="@xml/kbd_bengali_unijoy"
|
||||||
latin:elementName="alphabetAutomaticShifted"
|
latin:enableProximityCharsCorrection="true"
|
||||||
latin:enableProximityCharsCorrection="true" />
|
latin:supportsSplitLayout="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
|
<Element
|
||||||
latin:elementKeyboard="@xml/kbd_bengali_unijoy"
|
latin:elementName="symbols"
|
||||||
latin:elementName="alphabetManualShifted" />
|
latin:elementKeyboard="@xml/kbd_symbols" />
|
||||||
<Element
|
<Element
|
||||||
latin:elementKeyboard="@xml/kbd_bengali_unijoy"
|
latin:elementName="symbolsShifted"
|
||||||
latin:elementName="alphabetShiftLocked" />
|
latin:elementKeyboard="@xml/kbd_symbols_shift" />
|
||||||
<Element
|
<Element
|
||||||
latin:elementKeyboard="@xml/kbd_bengali_unijoy"
|
latin:elementName="phone"
|
||||||
latin:elementName="alphabetShiftLockShifted" />
|
latin:elementKeyboard="@xml/kbd_phone" />
|
||||||
<Element
|
<Element
|
||||||
latin:elementKeyboard="@xml/kbd_symbols"
|
latin:elementName="phoneSymbols"
|
||||||
latin:elementName="symbols" />
|
latin:elementKeyboard="@xml/kbd_phone_symbols" />
|
||||||
<Element
|
<Element
|
||||||
latin:elementKeyboard="@xml/kbd_symbols_shift"
|
latin:elementName="number"
|
||||||
latin:elementName="symbolsShifted" />
|
latin:elementKeyboard="@xml/kbd_number" />
|
||||||
<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>
|
</KeyboardLayoutSet>
|
||||||
|
|
|
@ -2,137 +2,29 @@
|
||||||
<!--
|
<!--
|
||||||
/*
|
/*
|
||||||
**
|
**
|
||||||
** bn-unijoy Bengali input method simulating Unijoy keyboard.
|
** Copyright 2012, The Android Open Source Project
|
||||||
** Copyright (C) 2005, 2008
|
**
|
||||||
** National Institute of Advanced Industrial Science and Technology (AIST)
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
** Registration Number H15PRO112
|
** you may not use this file except in compliance with the License.
|
||||||
|
** You may obtain a copy of the License at
|
||||||
** This file is part of the m17n database; a sub-part of the m17n
|
**
|
||||||
** library.
|
** http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
**
|
||||||
** The m17n library is free software; you can redistribute it and/or
|
** Unless required by applicable law or agreed to in writing, software
|
||||||
** modify it under the terms of the GNU Lesser General Public License
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
** as published by the Free Software Foundation; either version 2.1 of
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
** the License, or (at your option) any later version.
|
** See the License for the specific language governing permissions and
|
||||||
|
** limitations under the License.
|
||||||
** The m17n library is distributed in the hope that it will be useful,
|
|
||||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
** Lesser General Public License for more details.
|
|
||||||
|
|
||||||
** You should have received a copy of the GNU Lesser General Public
|
|
||||||
** License along with the m17n library; if not, write to the Free
|
|
||||||
** Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
||||||
** Boston, MA 02110-1301, USA.
|
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<merge
|
||||||
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
|
xmlns:latin="http://schemas.android.com/apk/res-auto"
|
||||||
<switch>
|
>
|
||||||
<case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted">
|
<!-- nga, ya, dda, pa, tta -->
|
||||||
<!-- bengali sign anusvara -->
|
<include
|
||||||
<Key latin:keySpec="ং" />
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy1_left5" />
|
||||||
<!-- bengali letter yya -->
|
<!-- cha, jha, nya, gha, rha -->
|
||||||
<Key latin:keySpec="য়" />
|
<include
|
||||||
<!-- bengali letter ddha -->
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy1_right5" />
|
||||||
<Key latin:keySpec="ঢ" />
|
|
||||||
<!-- bengali letter pha -->
|
|
||||||
<Key latin:keySpec="ফ" />
|
|
||||||
<!-- bengali letter ttha -->
|
|
||||||
<Key latin:keySpec="ঠ" />
|
|
||||||
<!-- bengali letter cha -->
|
|
||||||
<Key latin:keySpec="ছ" />
|
|
||||||
<!-- bengali letter jha -->
|
|
||||||
<Key latin:keySpec="ঝ" />
|
|
||||||
<!-- bengali letter nya -->
|
|
||||||
<Key latin:keySpec="ঞ" />
|
|
||||||
<!-- bengali letter gha -->
|
|
||||||
<Key latin:keySpec="ঘ" />
|
|
||||||
<!-- bengali letter rha -->
|
|
||||||
<Key latin:keySpec="ঢ়" />
|
|
||||||
</case>
|
|
||||||
<default>
|
|
||||||
<!-- bengali letter nga
|
|
||||||
bengali sign anusvara
|
|
||||||
bengali digit one -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="ঙ"
|
|
||||||
latin:keyHintLabel="ং"
|
|
||||||
latin:additionalMoreKeys="ং"
|
|
||||||
latin:moreKeys="১" />
|
|
||||||
<!-- bengali letter ya
|
|
||||||
bengali letter yya
|
|
||||||
bengali digit two -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="য"
|
|
||||||
latin:keyHintLabel="য়"
|
|
||||||
latin:additionalMoreKeys="য়"
|
|
||||||
latin:moreKeys="২" />
|
|
||||||
<!-- bengali letter dda
|
|
||||||
bengali letter ddha
|
|
||||||
bengali digit three -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="ড"
|
|
||||||
latin:keyHintLabel="ঢ"
|
|
||||||
latin:additionalMoreKeys="ঢ"
|
|
||||||
latin:moreKeys="৩" />
|
|
||||||
<!-- bengali letter pa
|
|
||||||
bengali letter pha
|
|
||||||
bengali digit four -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="প"
|
|
||||||
latin:keyHintLabel="ফ"
|
|
||||||
latin:additionalMoreKeys="ফ"
|
|
||||||
latin:moreKeys="৪" />
|
|
||||||
<!-- bengali letter tta
|
|
||||||
bengali letter ttha
|
|
||||||
bengali digit five -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="ট"
|
|
||||||
latin:keyHintLabel="ঠ"
|
|
||||||
latin:additionalMoreKeys="ঠ"
|
|
||||||
latin:moreKeys="৫" />
|
|
||||||
<!-- bengali letter ca
|
|
||||||
bengali letter cha
|
|
||||||
bengali digit six -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="চ"
|
|
||||||
latin:keyHintLabel="ছ"
|
|
||||||
latin:additionalMoreKeys="ছ"
|
|
||||||
latin:moreKeys="৬" />
|
|
||||||
<!-- bengali letter ja
|
|
||||||
bengali letter jha
|
|
||||||
bengali digit seven -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="জ"
|
|
||||||
latin:keyHintLabel="ঝ"
|
|
||||||
latin:additionalMoreKeys="ঝ"
|
|
||||||
latin:moreKeys="৭" />
|
|
||||||
<!-- bengali letter ha
|
|
||||||
bengali letter nya
|
|
||||||
bengali digit eight -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="হ"
|
|
||||||
latin:keyHintLabel="ঞ"
|
|
||||||
latin:additionalMoreKeys="ঞ"
|
|
||||||
latin:moreKeys="৮" />
|
|
||||||
<!-- bengali letter ga
|
|
||||||
bengali letter gha
|
|
||||||
bengali digit nine -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="গ"
|
|
||||||
latin:keyHintLabel="ঘ"
|
|
||||||
latin:additionalMoreKeys="ঘ"
|
|
||||||
latin:moreKeys="৯" />
|
|
||||||
<!-- bengali letter rra
|
|
||||||
bengali letter rha
|
|
||||||
bengali digit zero -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="ড়"
|
|
||||||
latin:keyHintLabel="ঢ়"
|
|
||||||
latin:additionalMoreKeys="ঢ়"
|
|
||||||
latin:moreKeys="০" />
|
|
||||||
</default>
|
|
||||||
</switch>
|
|
||||||
</merge>
|
</merge>
|
88
app/src/main/res/xml/rowkeys_bengali_unijoy1_left5.xml
Normal file
88
app/src/main/res/xml/rowkeys_bengali_unijoy1_left5.xml
Normal file
|
@ -0,0 +1,88 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
**
|
||||||
|
** bn-unijoy Bengali input method simulating Unijoy keyboard.
|
||||||
|
** Copyright (C) 2005, 2008
|
||||||
|
** National Institute of Advanced Industrial Science and Technology (AIST)
|
||||||
|
** Registration Number H15PRO112
|
||||||
|
|
||||||
|
** This file is part of the m17n database; a sub-part of the m17n
|
||||||
|
** library.
|
||||||
|
|
||||||
|
** The m17n library is free software; you can redistribute it and/or
|
||||||
|
** modify it under the terms of the GNU Lesser General Public License
|
||||||
|
** as published by the Free Software Foundation; either version 2.1 of
|
||||||
|
** the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
** The m17n library is distributed in the hope that it will be useful,
|
||||||
|
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
** Lesser General Public License for more details.
|
||||||
|
|
||||||
|
** You should have received a copy of the GNU Lesser General Public
|
||||||
|
** License along with the m17n library; if not, write to the Free
|
||||||
|
** Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
** Boston, MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
|
||||||
|
<switch>
|
||||||
|
<case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted">
|
||||||
|
<!-- bengali sign anusvara -->
|
||||||
|
<Key latin:keySpec="ং" />
|
||||||
|
<!-- bengali letter yya -->
|
||||||
|
<Key latin:keySpec="য়" />
|
||||||
|
<!-- bengali letter ddha -->
|
||||||
|
<Key latin:keySpec="ঢ" />
|
||||||
|
<!-- bengali letter pha -->
|
||||||
|
<Key latin:keySpec="ফ" />
|
||||||
|
<!-- bengali letter ttha -->
|
||||||
|
<Key latin:keySpec="ঠ" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<!-- bengali letter nga
|
||||||
|
bengali sign anusvara
|
||||||
|
bengali digit one -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ঙ"
|
||||||
|
latin:keyHintLabel="ং"
|
||||||
|
latin:additionalMoreKeys="ং"
|
||||||
|
latin:moreKeys="১" />
|
||||||
|
<!-- bengali letter ya
|
||||||
|
bengali letter yya
|
||||||
|
bengali digit two -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="য"
|
||||||
|
latin:keyHintLabel="য়"
|
||||||
|
latin:additionalMoreKeys="য়"
|
||||||
|
latin:moreKeys="২" />
|
||||||
|
<!-- bengali letter dda
|
||||||
|
bengali letter ddha
|
||||||
|
bengali digit three -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ড"
|
||||||
|
latin:keyHintLabel="ঢ"
|
||||||
|
latin:additionalMoreKeys="ঢ"
|
||||||
|
latin:moreKeys="৩" />
|
||||||
|
<!-- bengali letter pa
|
||||||
|
bengali letter pha
|
||||||
|
bengali digit four -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="প"
|
||||||
|
latin:keyHintLabel="ফ"
|
||||||
|
latin:additionalMoreKeys="ফ"
|
||||||
|
latin:moreKeys="৪" />
|
||||||
|
<!-- bengali letter tta
|
||||||
|
bengali letter ttha
|
||||||
|
bengali digit five -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ট"
|
||||||
|
latin:keyHintLabel="ঠ"
|
||||||
|
latin:additionalMoreKeys="ঠ"
|
||||||
|
latin:moreKeys="৫" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
88
app/src/main/res/xml/rowkeys_bengali_unijoy1_right5.xml
Normal file
88
app/src/main/res/xml/rowkeys_bengali_unijoy1_right5.xml
Normal file
|
@ -0,0 +1,88 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
**
|
||||||
|
** bn-unijoy Bengali input method simulating Unijoy keyboard.
|
||||||
|
** Copyright (C) 2005, 2008
|
||||||
|
** National Institute of Advanced Industrial Science and Technology (AIST)
|
||||||
|
** Registration Number H15PRO112
|
||||||
|
|
||||||
|
** This file is part of the m17n database; a sub-part of the m17n
|
||||||
|
** library.
|
||||||
|
|
||||||
|
** The m17n library is free software; you can redistribute it and/or
|
||||||
|
** modify it under the terms of the GNU Lesser General Public License
|
||||||
|
** as published by the Free Software Foundation; either version 2.1 of
|
||||||
|
** the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
** The m17n library is distributed in the hope that it will be useful,
|
||||||
|
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
** Lesser General Public License for more details.
|
||||||
|
|
||||||
|
** You should have received a copy of the GNU Lesser General Public
|
||||||
|
** License along with the m17n library; if not, write to the Free
|
||||||
|
** Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
** Boston, MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
|
||||||
|
<switch>
|
||||||
|
<case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted">
|
||||||
|
<!-- bengali letter cha -->
|
||||||
|
<Key latin:keySpec="ছ" />
|
||||||
|
<!-- bengali letter jha -->
|
||||||
|
<Key latin:keySpec="ঝ" />
|
||||||
|
<!-- bengali letter nya -->
|
||||||
|
<Key latin:keySpec="ঞ" />
|
||||||
|
<!-- bengali letter gha -->
|
||||||
|
<Key latin:keySpec="ঘ" />
|
||||||
|
<!-- bengali letter rha -->
|
||||||
|
<Key latin:keySpec="ঢ়" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<!-- bengali letter ca
|
||||||
|
bengali letter cha
|
||||||
|
bengali digit six -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="চ"
|
||||||
|
latin:keyHintLabel="ছ"
|
||||||
|
latin:additionalMoreKeys="ছ"
|
||||||
|
latin:moreKeys="৬" />
|
||||||
|
<!-- bengali letter ja
|
||||||
|
bengali letter jha
|
||||||
|
bengali digit seven -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="জ"
|
||||||
|
latin:keyHintLabel="ঝ"
|
||||||
|
latin:additionalMoreKeys="ঝ"
|
||||||
|
latin:moreKeys="৭" />
|
||||||
|
<!-- bengali letter ha
|
||||||
|
bengali letter nya
|
||||||
|
bengali digit eight -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="হ"
|
||||||
|
latin:keyHintLabel="ঞ"
|
||||||
|
latin:additionalMoreKeys="ঞ"
|
||||||
|
latin:moreKeys="৮" />
|
||||||
|
<!-- bengali letter ga
|
||||||
|
bengali letter gha
|
||||||
|
bengali digit nine -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="গ"
|
||||||
|
latin:keyHintLabel="ঘ"
|
||||||
|
latin:additionalMoreKeys="ঘ"
|
||||||
|
latin:moreKeys="৯" />
|
||||||
|
<!-- bengali letter rra
|
||||||
|
bengali letter rha
|
||||||
|
bengali digit zero -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ড়"
|
||||||
|
latin:keyHintLabel="ঢ়"
|
||||||
|
latin:additionalMoreKeys="ঢ়"
|
||||||
|
latin:moreKeys="০" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
|
@ -2,129 +2,29 @@
|
||||||
<!--
|
<!--
|
||||||
/*
|
/*
|
||||||
**
|
**
|
||||||
** bn-unijoy Bengali input method simulating Unijoy keyboard.
|
** Copyright 2012, The Android Open Source Project
|
||||||
** Copyright (C) 2005, 2008
|
**
|
||||||
** National Institute of Advanced Industrial Science and Technology (AIST)
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
** Registration Number H15PRO112
|
** you may not use this file except in compliance with the License.
|
||||||
|
** You may obtain a copy of the License at
|
||||||
** This file is part of the m17n database; a sub-part of the m17n
|
**
|
||||||
** library.
|
** http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
**
|
||||||
** The m17n library is free software; you can redistribute it and/or
|
** Unless required by applicable law or agreed to in writing, software
|
||||||
** modify it under the terms of the GNU Lesser General Public License
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
** as published by the Free Software Foundation; either version 2.1 of
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
** the License, or (at your option) any later version.
|
** See the License for the specific language governing permissions and
|
||||||
|
** limitations under the License.
|
||||||
** The m17n library is distributed in the hope that it will be useful,
|
|
||||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
** Lesser General Public License for more details.
|
|
||||||
|
|
||||||
** You should have received a copy of the GNU Lesser General Public
|
|
||||||
** License along with the m17n library; if not, write to the Free
|
|
||||||
** Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
||||||
** Boston, MA 02110-1301, USA.
|
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
|
<merge
|
||||||
<switch>
|
xmlns:latin="http://schemas.android.com/apk/res-auto"
|
||||||
<case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted">
|
>
|
||||||
<!-- bengali ligature reph -->
|
<!-- r, u, i, aa, virama -->
|
||||||
<Key
|
<include
|
||||||
latin:keySpec="⸍|র্"
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy2_left5" />
|
||||||
latin:keyHintLabel="⋯"
|
<!-- ba, ka, ta, da -->
|
||||||
latin:additionalMoreKeys="ৠ"
|
<include
|
||||||
latin:moreKeys="ঌ,ৡ,ৄ,ৢ,ৣ" />
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy2_right4" />
|
||||||
<!-- bengali vowel sign uu
|
|
||||||
bengali letter uu -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="ূ"
|
|
||||||
latin:keyHintLabel="ঊ"
|
|
||||||
latin:moreKeys="ঊ" />
|
|
||||||
<!-- bengali vowel sign ii
|
|
||||||
bengali letter ii -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="ী"
|
|
||||||
latin:keyHintLabel="ঈ"
|
|
||||||
latin:moreKeys="ঈ" />
|
|
||||||
<!-- bengali vowel sign a -->
|
|
||||||
<Key latin:keySpec="অ" />
|
|
||||||
<!-- bengali sign candrabindu -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="ঁ"
|
|
||||||
latin:keyHintLabel="⋯"
|
|
||||||
latin:additionalMoreKeys="৺"
|
|
||||||
latin:moreKeys="ৗ,়,ৰ,ৱ,ঽ" />
|
|
||||||
<!-- bengali letter bha -->
|
|
||||||
<Key latin:keySpec="ভ" />
|
|
||||||
<!-- bengali letter kha -->
|
|
||||||
<Key latin:keySpec="খ" />
|
|
||||||
<!-- bengali letter tha -->
|
|
||||||
<Key latin:keySpec="থ" />
|
|
||||||
<!-- bengali letter dha -->
|
|
||||||
<Key latin:keySpec="ধ" />
|
|
||||||
</case>
|
|
||||||
<default>
|
|
||||||
<!-- bengali vowel sign vocalic r
|
|
||||||
bengali letter vocalic r -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="ৃ"
|
|
||||||
latin:keyHintLabel="ঋ"
|
|
||||||
latin:moreKeys="ঋ" />
|
|
||||||
<!-- bengali vowel sign u
|
|
||||||
bengali letter u -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="ু"
|
|
||||||
latin:keyHintLabel="উ"
|
|
||||||
latin:moreKeys="উ" />
|
|
||||||
<!-- bengali vowel sign i
|
|
||||||
bengali letter i -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="ি"
|
|
||||||
latin:keyHintLabel="ই"
|
|
||||||
latin:moreKeys="ই" />
|
|
||||||
<!-- bengali vowel sign aa
|
|
||||||
bengali letter aa -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="া"
|
|
||||||
latin:keyHintLabel="আ"
|
|
||||||
latin:additionalMoreKeys="আ"
|
|
||||||
latin:moreKeys="অ" />
|
|
||||||
<!-- bengali sign virama
|
|
||||||
bengali sign candrabindu -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="্"
|
|
||||||
latin:keyHintLabel="ঁ"
|
|
||||||
latin:additionalMoreKeys="ঁ"
|
|
||||||
latin:moreKeys="ঃ" />
|
|
||||||
<!-- bengali letter ba
|
|
||||||
bengali letter bha -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="ব"
|
|
||||||
latin:keyHintLabel="ভ"
|
|
||||||
latin:moreKeys="ভ" />
|
|
||||||
<!-- bengali letter ka
|
|
||||||
bengali letter kha -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="ক"
|
|
||||||
latin:keyHintLabel="খ"
|
|
||||||
latin:moreKeys="খ" />
|
|
||||||
<!-- bengali letter ta
|
|
||||||
bengali letter tha
|
|
||||||
bengali letter khanda ta -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="ত"
|
|
||||||
latin:keyHintLabel="থ"
|
|
||||||
latin:additionalMoreKeys="থ"
|
|
||||||
latin:moreKeys="ৎ" />
|
|
||||||
<!-- bengali letter da
|
|
||||||
bengali letter dha -->
|
|
||||||
<Key
|
|
||||||
latin:keySpec="দ"
|
|
||||||
latin:keyHintLabel="ধ"
|
|
||||||
latin:moreKeys="ধ" />
|
|
||||||
</default>
|
|
||||||
</switch>
|
|
||||||
</merge>
|
</merge>
|
||||||
|
|
||||||
|
|
96
app/src/main/res/xml/rowkeys_bengali_unijoy2_left5.xml
Normal file
96
app/src/main/res/xml/rowkeys_bengali_unijoy2_left5.xml
Normal file
|
@ -0,0 +1,96 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
**
|
||||||
|
** bn-unijoy Bengali input method simulating Unijoy keyboard.
|
||||||
|
** Copyright (C) 2005, 2008
|
||||||
|
** National Institute of Advanced Industrial Science and Technology (AIST)
|
||||||
|
** Registration Number H15PRO112
|
||||||
|
|
||||||
|
** This file is part of the m17n database; a sub-part of the m17n
|
||||||
|
** library.
|
||||||
|
|
||||||
|
** The m17n library is free software; you can redistribute it and/or
|
||||||
|
** modify it under the terms of the GNU Lesser General Public License
|
||||||
|
** as published by the Free Software Foundation; either version 2.1 of
|
||||||
|
** the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
** The m17n library is distributed in the hope that it will be useful,
|
||||||
|
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
** Lesser General Public License for more details.
|
||||||
|
|
||||||
|
** You should have received a copy of the GNU Lesser General Public
|
||||||
|
** License along with the m17n library; if not, write to the Free
|
||||||
|
** Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
** Boston, MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
|
||||||
|
<switch>
|
||||||
|
<case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted">
|
||||||
|
<!-- bengali ligature reph -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="⸍|র্"
|
||||||
|
latin:keyHintLabel="⋯"
|
||||||
|
latin:additionalMoreKeys="ৠ"
|
||||||
|
latin:moreKeys="ঌ,ৡ,ৄ,ৢ,ৣ" />
|
||||||
|
<!-- bengali vowel sign uu
|
||||||
|
bengali letter uu -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ূ"
|
||||||
|
latin:keyHintLabel="ঊ"
|
||||||
|
latin:moreKeys="ঊ" />
|
||||||
|
<!-- bengali vowel sign ii
|
||||||
|
bengali letter ii -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ী"
|
||||||
|
latin:keyHintLabel="ঈ"
|
||||||
|
latin:moreKeys="ঈ" />
|
||||||
|
<!-- bengali vowel sign a -->
|
||||||
|
<Key latin:keySpec="অ" />
|
||||||
|
<!-- bengali sign candrabindu -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ঁ"
|
||||||
|
latin:keyHintLabel="⋯"
|
||||||
|
latin:additionalMoreKeys="৺"
|
||||||
|
latin:moreKeys="ৗ,়,ৰ,ৱ,ঽ" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<!-- bengali vowel sign vocalic r
|
||||||
|
bengali letter vocalic r -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ৃ"
|
||||||
|
latin:keyHintLabel="ঋ"
|
||||||
|
latin:moreKeys="ঋ" />
|
||||||
|
<!-- bengali vowel sign u
|
||||||
|
bengali letter u -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ু"
|
||||||
|
latin:keyHintLabel="উ"
|
||||||
|
latin:moreKeys="উ" />
|
||||||
|
<!-- bengali vowel sign i
|
||||||
|
bengali letter i -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ি"
|
||||||
|
latin:keyHintLabel="ই"
|
||||||
|
latin:moreKeys="ই" />
|
||||||
|
<!-- bengali vowel sign aa
|
||||||
|
bengali letter aa -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="া"
|
||||||
|
latin:keyHintLabel="আ"
|
||||||
|
latin:additionalMoreKeys="আ"
|
||||||
|
latin:moreKeys="অ" />
|
||||||
|
<!-- bengali sign virama
|
||||||
|
bengali sign candrabindu -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="্"
|
||||||
|
latin:keyHintLabel="ঁ"
|
||||||
|
latin:additionalMoreKeys="ঁ"
|
||||||
|
latin:moreKeys="ঃ" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
||||||
|
|
72
app/src/main/res/xml/rowkeys_bengali_unijoy2_right4.xml
Normal file
72
app/src/main/res/xml/rowkeys_bengali_unijoy2_right4.xml
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
**
|
||||||
|
** bn-unijoy Bengali input method simulating Unijoy keyboard.
|
||||||
|
** Copyright (C) 2005, 2008
|
||||||
|
** National Institute of Advanced Industrial Science and Technology (AIST)
|
||||||
|
** Registration Number H15PRO112
|
||||||
|
|
||||||
|
** This file is part of the m17n database; a sub-part of the m17n
|
||||||
|
** library.
|
||||||
|
|
||||||
|
** The m17n library is free software; you can redistribute it and/or
|
||||||
|
** modify it under the terms of the GNU Lesser General Public License
|
||||||
|
** as published by the Free Software Foundation; either version 2.1 of
|
||||||
|
** the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
** The m17n library is distributed in the hope that it will be useful,
|
||||||
|
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
** Lesser General Public License for more details.
|
||||||
|
|
||||||
|
** You should have received a copy of the GNU Lesser General Public
|
||||||
|
** License along with the m17n library; if not, write to the Free
|
||||||
|
** Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
** Boston, MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
|
||||||
|
<switch>
|
||||||
|
<case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted">
|
||||||
|
<!-- bengali letter bha -->
|
||||||
|
<Key latin:keySpec="ভ" />
|
||||||
|
<!-- bengali letter kha -->
|
||||||
|
<Key latin:keySpec="খ" />
|
||||||
|
<!-- bengali letter tha -->
|
||||||
|
<Key latin:keySpec="থ" />
|
||||||
|
<!-- bengali letter dha -->
|
||||||
|
<Key latin:keySpec="ধ" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<!-- bengali letter ba
|
||||||
|
bengali letter bha -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ব"
|
||||||
|
latin:keyHintLabel="ভ"
|
||||||
|
latin:moreKeys="ভ" />
|
||||||
|
<!-- bengali letter ka
|
||||||
|
bengali letter kha -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ক"
|
||||||
|
latin:keyHintLabel="খ"
|
||||||
|
latin:moreKeys="খ" />
|
||||||
|
<!-- bengali letter ta
|
||||||
|
bengali letter tha
|
||||||
|
bengali letter khanda ta -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="ত"
|
||||||
|
latin:keyHintLabel="থ"
|
||||||
|
latin:additionalMoreKeys="থ"
|
||||||
|
latin:moreKeys="ৎ" />
|
||||||
|
<!-- bengali letter da
|
||||||
|
bengali letter dha -->
|
||||||
|
<Key
|
||||||
|
latin:keySpec="দ"
|
||||||
|
latin:keyHintLabel="ধ"
|
||||||
|
latin:moreKeys="ধ" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
||||||
|
|
|
@ -2,83 +2,29 @@
|
||||||
<!--
|
<!--
|
||||||
/*
|
/*
|
||||||
**
|
**
|
||||||
** bn-unijoy Bengali input method simulating Unijoy keyboard.
|
** Copyright 2012, The Android Open Source Project
|
||||||
** Copyright (C) 2005, 2008
|
**
|
||||||
** National Institute of Advanced Industrial Science and Technology (AIST)
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
** Registration Number H15PRO112
|
** you may not use this file except in compliance with the License.
|
||||||
|
** You may obtain a copy of the License at
|
||||||
** This file is part of the m17n database; a sub-part of the m17n
|
**
|
||||||
** library.
|
** http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
**
|
||||||
** The m17n library is free software; you can redistribute it and/or
|
** Unless required by applicable law or agreed to in writing, software
|
||||||
** modify it under the terms of the GNU Lesser General Public License
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
** as published by the Free Software Foundation; either version 2.1 of
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
** the License, or (at your option) any later version.
|
** See the License for the specific language governing permissions and
|
||||||
|
** limitations under the License.
|
||||||
** The m17n library is distributed in the hope that it will be useful,
|
|
||||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
** Lesser General Public License for more details.
|
|
||||||
|
|
||||||
** You should have received a copy of the GNU Lesser General Public
|
|
||||||
** License along with the m17n library; if not, write to the Free
|
|
||||||
** Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
||||||
** Boston, MA 02110-1301, USA.
|
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
|
<merge
|
||||||
<switch>
|
xmlns:latin="http://schemas.android.com/apk/res-auto"
|
||||||
<case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted">
|
>
|
||||||
<!-- bengali ligature ya-phala -->
|
<!-- ra-phala, o, e, ra -->
|
||||||
<Key latin:keySpec="্য" />
|
<include
|
||||||
<!-- bengali vowel sign au -->
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy3_left4" />
|
||||||
<Key latin:keySpec="ৌ"
|
<!-- na, sa, ma -->
|
||||||
latin:keyHintLabel="ঔ"
|
<include
|
||||||
latin:moreKeys="ঔ" />
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy3_right3" />
|
||||||
<!-- bengali vowel sign ai -->
|
|
||||||
<Key latin:keySpec="ৈ"
|
|
||||||
latin:keyHintLabel="ঐ"
|
|
||||||
latin:moreKeys="ঐ" />
|
|
||||||
<!-- bengali letter la -->
|
|
||||||
<Key latin:keySpec="ল" />
|
|
||||||
<!-- bengali letter nna -->
|
|
||||||
<Key latin:keySpec="ণ" />
|
|
||||||
<!-- bengali letter ssa -->
|
|
||||||
<Key latin:keySpec="ষ" />
|
|
||||||
<!-- bengali letter sha -->
|
|
||||||
<Key latin:keySpec="শ" />
|
|
||||||
</case>
|
|
||||||
<default>
|
|
||||||
<!-- bengali ligature ra-phala -->
|
|
||||||
<Key latin:keySpec="্র"
|
|
||||||
latin:keyHintLabel="্য"
|
|
||||||
latin:moreKeys="্য" />
|
|
||||||
<!-- bengali vowel sign o -->
|
|
||||||
<Key latin:keySpec="ো"
|
|
||||||
latin:keyHintLabel="ও"
|
|
||||||
latin:moreKeys="ও" />
|
|
||||||
<!-- bengali vowel sign e -->
|
|
||||||
<Key latin:keySpec="ে"
|
|
||||||
latin:keyHintLabel="এ"
|
|
||||||
latin:moreKeys="এ" />
|
|
||||||
<!-- bengali letter ra -->
|
|
||||||
<Key latin:keySpec="র"
|
|
||||||
latin:keyHintLabel="ল"
|
|
||||||
latin:additionalMoreKeys="ল"
|
|
||||||
latin:moreKeys="র‍্য" />
|
|
||||||
<!-- bengali letter na -->
|
|
||||||
<Key latin:keySpec="ন"
|
|
||||||
latin:keyHintLabel="ণ"
|
|
||||||
latin:moreKeys="ণ" />
|
|
||||||
<!-- bengali letter sa -->
|
|
||||||
<Key latin:keySpec="স"
|
|
||||||
latin:keyHintLabel="ষ"
|
|
||||||
latin:moreKeys="ষ" />
|
|
||||||
<!-- bengali letter ma -->
|
|
||||||
<Key latin:keySpec="ম"
|
|
||||||
latin:keyHintLabel="শ"
|
|
||||||
latin:moreKeys="শ" />
|
|
||||||
</default>
|
|
||||||
</switch>
|
|
||||||
</merge>
|
</merge>
|
||||||
|
|
66
app/src/main/res/xml/rowkeys_bengali_unijoy3_left4.xml
Normal file
66
app/src/main/res/xml/rowkeys_bengali_unijoy3_left4.xml
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
**
|
||||||
|
** bn-unijoy Bengali input method simulating Unijoy keyboard.
|
||||||
|
** Copyright (C) 2005, 2008
|
||||||
|
** National Institute of Advanced Industrial Science and Technology (AIST)
|
||||||
|
** Registration Number H15PRO112
|
||||||
|
|
||||||
|
** This file is part of the m17n database; a sub-part of the m17n
|
||||||
|
** library.
|
||||||
|
|
||||||
|
** The m17n library is free software; you can redistribute it and/or
|
||||||
|
** modify it under the terms of the GNU Lesser General Public License
|
||||||
|
** as published by the Free Software Foundation; either version 2.1 of
|
||||||
|
** the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
** The m17n library is distributed in the hope that it will be useful,
|
||||||
|
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
** Lesser General Public License for more details.
|
||||||
|
|
||||||
|
** You should have received a copy of the GNU Lesser General Public
|
||||||
|
** License along with the m17n library; if not, write to the Free
|
||||||
|
** Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
** Boston, MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
|
||||||
|
<switch>
|
||||||
|
<case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted">
|
||||||
|
<!-- bengali ligature ya-phala -->
|
||||||
|
<Key latin:keySpec="্য" />
|
||||||
|
<!-- bengali vowel sign au -->
|
||||||
|
<Key latin:keySpec="ৌ"
|
||||||
|
latin:keyHintLabel="ঔ"
|
||||||
|
latin:moreKeys="ঔ" />
|
||||||
|
<!-- bengali vowel sign ai -->
|
||||||
|
<Key latin:keySpec="ৈ"
|
||||||
|
latin:keyHintLabel="ঐ"
|
||||||
|
latin:moreKeys="ঐ" />
|
||||||
|
<!-- bengali letter la -->
|
||||||
|
<Key latin:keySpec="ল" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<!-- bengali ligature ra-phala -->
|
||||||
|
<Key latin:keySpec="্র"
|
||||||
|
latin:keyHintLabel="্য"
|
||||||
|
latin:moreKeys="্য" />
|
||||||
|
<!-- bengali vowel sign o -->
|
||||||
|
<Key latin:keySpec="ো"
|
||||||
|
latin:keyHintLabel="ও"
|
||||||
|
latin:moreKeys="ও" />
|
||||||
|
<!-- bengali vowel sign e -->
|
||||||
|
<Key latin:keySpec="ে"
|
||||||
|
latin:keyHintLabel="এ"
|
||||||
|
latin:moreKeys="এ" />
|
||||||
|
<!-- bengali letter ra -->
|
||||||
|
<Key latin:keySpec="র"
|
||||||
|
latin:keyHintLabel="ল"
|
||||||
|
latin:additionalMoreKeys="ল"
|
||||||
|
latin:moreKeys="র‍্য" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
55
app/src/main/res/xml/rowkeys_bengali_unijoy3_right3.xml
Normal file
55
app/src/main/res/xml/rowkeys_bengali_unijoy3_right3.xml
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
**
|
||||||
|
** bn-unijoy Bengali input method simulating Unijoy keyboard.
|
||||||
|
** Copyright (C) 2005, 2008
|
||||||
|
** National Institute of Advanced Industrial Science and Technology (AIST)
|
||||||
|
** Registration Number H15PRO112
|
||||||
|
|
||||||
|
** This file is part of the m17n database; a sub-part of the m17n
|
||||||
|
** library.
|
||||||
|
|
||||||
|
** The m17n library is free software; you can redistribute it and/or
|
||||||
|
** modify it under the terms of the GNU Lesser General Public License
|
||||||
|
** as published by the Free Software Foundation; either version 2.1 of
|
||||||
|
** the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
** The m17n library is distributed in the hope that it will be useful,
|
||||||
|
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
** Lesser General Public License for more details.
|
||||||
|
|
||||||
|
** You should have received a copy of the GNU Lesser General Public
|
||||||
|
** License along with the m17n library; if not, write to the Free
|
||||||
|
** Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
** Boston, MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
|
||||||
|
<switch>
|
||||||
|
<case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted">
|
||||||
|
<!-- bengali letter nna -->
|
||||||
|
<Key latin:keySpec="ণ" />
|
||||||
|
<!-- bengali letter ssa -->
|
||||||
|
<Key latin:keySpec="ষ" />
|
||||||
|
<!-- bengali letter sha -->
|
||||||
|
<Key latin:keySpec="শ" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<!-- bengali letter na -->
|
||||||
|
<Key latin:keySpec="ন"
|
||||||
|
latin:keyHintLabel="ণ"
|
||||||
|
latin:moreKeys="ণ" />
|
||||||
|
<!-- bengali letter sa -->
|
||||||
|
<Key latin:keySpec="স"
|
||||||
|
latin:keyHintLabel="ষ"
|
||||||
|
latin:moreKeys="ষ" />
|
||||||
|
<!-- bengali letter ma -->
|
||||||
|
<Key latin:keySpec="ম"
|
||||||
|
latin:keyHintLabel="শ"
|
||||||
|
latin:moreKeys="শ" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
|
@ -2,7 +2,7 @@
|
||||||
<!--
|
<!--
|
||||||
/*
|
/*
|
||||||
**
|
**
|
||||||
** Copyright 2014, The Android Open Source Project
|
** Copyright 2010, The Android Open Source Project
|
||||||
**
|
**
|
||||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
** you may not use this file except in compliance with the License.
|
** you may not use this file except in compliance with the License.
|
||||||
|
@ -18,33 +18,40 @@
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
|
<merge
|
||||||
<include latin:keyboardLayout="@xml/key_styles_common"/>
|
xmlns:latin="http://schemas.android.com/apk/res-auto"
|
||||||
<include latin:keyboardLayout="@xml/row_optional_number_row" />
|
>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/key_styles_common" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/row_optional_number_row" />
|
||||||
<Row
|
<Row
|
||||||
latin:keyLabelFlags="fontNormal"
|
latin:keyWidth="10%p"
|
||||||
latin:keyWidth="10%p">
|
>
|
||||||
<include latin:keyboardLayout="@xml/rowkeys_bengali_unijoy1"/>
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy1" />
|
||||||
</Row>
|
</Row>
|
||||||
<Row
|
<Row
|
||||||
latin:keyLabelFlags="fontNormal"
|
latin:keyWidth="10%p"
|
||||||
latin:keyWidth="10%p">
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy2"
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy2"
|
||||||
latin:keyXPos="5%p"/>
|
latin:keyXPos="5%p" />
|
||||||
</Row>
|
</Row>
|
||||||
<Row
|
<Row
|
||||||
latin:keyLabelFlags="fontNormal"
|
latin:keyWidth="10%p"
|
||||||
latin:keyWidth="10%p">
|
>
|
||||||
<Key
|
<Key
|
||||||
latin:keyStyle="shiftKeyStyle"
|
latin:keyStyle="shiftKeyStyle"
|
||||||
latin:keyWidth="15%p"
|
latin:keyWidth="15%p"
|
||||||
latin:visualInsetsRight="1%p"/>
|
latin:visualInsetsRight="1%p" />
|
||||||
<include latin:keyboardLayout="@xml/rowkeys_bengali_unijoy3"/>
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy3" />
|
||||||
<Key
|
<Key
|
||||||
latin:keyStyle="deleteKeyStyle"
|
latin:keyStyle="deleteKeyStyle"
|
||||||
latin:keyWidth="fillRight"
|
latin:keyWidth="fillRight"
|
||||||
latin:visualInsetsLeft="1%p"/>
|
latin:visualInsetsLeft="1%p" />
|
||||||
</Row>
|
</Row>
|
||||||
<include latin:keyboardLayout="@xml/row_qwerty4"/>
|
<include
|
||||||
|
latin:keyboardLayout="@xml/row_qwerty4" />
|
||||||
</merge>
|
</merge>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue