aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-07-04 12:27:43 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-07-02 21:09:42 +0000
commit013ea9d57aafa4623b13d0bb94de7bd2d6bfb008 (patch)
treec83890e386c0c33062485c0a199bea1f8135dea4 /java/res
parentc4571a2e29d8e8ae299c0377f65f6425574103c0 (diff)
parent0205fb220d02a674bfafc3bcefe619d26514bf34 (diff)
downloadlatinime-013ea9d57aafa4623b13d0bb94de7bd2d6bfb008.tar.gz
latinime-013ea9d57aafa4623b13d0bb94de7bd2d6bfb008.tar.xz
latinime-013ea9d57aafa4623b13d0bb94de7bd2d6bfb008.zip
Merge "Add Bengali keyboard layout"
Diffstat (limited to 'java/res')
-rw-r--r--java/res/xml-sw600dp/rows_bengali.xml54
-rw-r--r--java/res/xml/kbd_bengali.xml26
-rw-r--r--java/res/xml/key_styles_currency.xml43
-rw-r--r--java/res/xml/keyboard_layout_set_bengali.xml42
-rw-r--r--java/res/xml/method.xml11
-rw-r--r--java/res/xml/rowkeys_bengali1.xml109
-rw-r--r--java/res/xml/rowkeys_bengali2.xml94
-rw-r--r--java/res/xml/rowkeys_bengali3.xml82
-rw-r--r--java/res/xml/rows_bengali.xml49
9 files changed, 489 insertions, 21 deletions
diff --git a/java/res/xml-sw600dp/rows_bengali.xml b/java/res/xml-sw600dp/rows_bengali.xml
new file mode 100644
index 000000000..b1e787849
--- /dev/null
+++ b/java/res/xml-sw600dp/rows_bengali.xml
@@ -0,0 +1,54 @@
+<?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"
+ >
+ <include
+ latin:keyboardLayout="@xml/rowkeys_bengali1" />
+ <Key
+ latin:keyStyle="deleteKeyStyle"
+ latin:keyWidth="fillRight" />
+ </Row>
+ <Row
+ latin:keyWidth="8.182%p"
+ >
+ <include
+ latin:keyboardLayout="@xml/rowkeys_bengali2" />
+ <Key
+ latin:keyStyle="enterKeyStyle"
+ latin:keyWidth="fillRight" />
+ </Row>
+ <Row
+ latin:keyWidth="8.182%p"
+ >
+ <include
+ latin:keyboardLayout="@xml/rowkeys_bengali3" />
+ <include
+ latin:keyboardLayout="@xml/keys_exclamation_question" />
+ </Row>
+ <include
+ latin:keyboardLayout="@xml/row_qwerty4" />
+</merge>
diff --git a/java/res/xml/kbd_bengali.xml b/java/res/xml/kbd_bengali.xml
new file mode 100644
index 000000000..879a897df
--- /dev/null
+++ b/java/res/xml/kbd_bengali.xml
@@ -0,0 +1,26 @@
+<?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" />
+</Keyboard>
diff --git a/java/res/xml/key_styles_currency.xml b/java/res/xml/key_styles_currency.xml
index 0bb2bb408..f576d0465 100644
--- a/java/res/xml/key_styles_currency.xml
+++ b/java/res/xml/key_styles_currency.xml
@@ -92,28 +92,17 @@
<include
latin:keyboardLayout="@xml/key_styles_currency_euro" />
</case>
- <!-- fa: Persian (Rial and Afgahni)
- hi: Hindi (Indian Rupee)
- iw: Hebrew (New Sheqel)
- lo: Lao (Kip)
- mn: Mongolian (Tugrik)
- ne: Nepali (Nepalese Rupee)
- th: Thai (Baht)
- uk: Ukrainian (Hryvnia)
- vi: Vietnamese (Dong) -->
- <!-- TODO: The currency sign of Turkish Lira was created in 2012 and assigned U+20BA for
- its unicode, although there is no font glyph for it as of November 2012. -->
- <!-- TODO: The currency sign of Armenian Dram was created in 2012 and assigned U+058F for
- its unicode, although there is no font glyph for it as of September 2013. -->
+ <!-- IN: India (Rupee) -->
<case
- latin:languageCode="fa|hi|iw|lo|mn|ne|th|uk|vi"
+ latin:countryCode="IN"
>
- <!-- U+00A3: "£" POUND SIGN
+ <!-- U+20B9: "₹" INDIAN RUPEE SIGN
+ U+00A3: "£" POUND SIGN
U+20AC: "€" EURO SIGN
U+00A2: "¢" CENT SIGN -->
<key-style
latin:styleName="currencyKeyStyle"
- latin:keySpec="!text/keyspec_currency"
+ latin:keySpec="&#x20B9;"
latin:moreKeys="!text/morekeys_currency" />
<key-style
latin:styleName="moreCurrency1KeyStyle"
@@ -129,17 +118,29 @@
latin:styleName="moreCurrency4KeyStyle"
latin:keySpec="&#x00A2;" />
</case>
- <!-- IN: India (Rupee) -->
+ <!-- bn: Bengali (Bangladesh Taka)
+ fa: Persian (Rial and Afgahni)
+ hi: Hindi (Indian Rupee)
+ iw: Hebrew (New Sheqel)
+ lo: Lao (Kip)
+ mn: Mongolian (Tugrik)
+ ne: Nepali (Nepalese Rupee)
+ th: Thai (Baht)
+ uk: Ukrainian (Hryvnia)
+ vi: Vietnamese (Dong) -->
+ <!-- TODO: The currency sign of Turkish Lira was created in 2012 and assigned U+20BA for
+ its unicode, although there is no font glyph for it as of November 2012. -->
+ <!-- TODO: The currency sign of Armenian Dram was created in 2012 and assigned U+058F for
+ its unicode, although there is no font glyph for it as of September 2013. -->
<case
- latin:countryCode="IN"
+ latin:languageCode="bn|fa|hi|iw|lo|mn|ne|th|uk|vi"
>
- <!-- U+20B9: "₹" INDIAN RUPEE SIGN
- U+00A3: "£" POUND SIGN
+ <!-- U+00A3: "£" POUND SIGN
U+20AC: "€" EURO SIGN
U+00A2: "¢" CENT SIGN -->
<key-style
latin:styleName="currencyKeyStyle"
- latin:keySpec="&#x20B9;"
+ latin:keySpec="!text/keyspec_currency"
latin:moreKeys="!text/morekeys_currency" />
<key-style
latin:styleName="moreCurrency1KeyStyle"
diff --git a/java/res/xml/keyboard_layout_set_bengali.xml b/java/res/xml/keyboard_layout_set_bengali.xml
new file mode 100644
index 000000000..6e40e6de4
--- /dev/null
+++ b/java/res/xml/keyboard_layout_set_bengali.xml
@@ -0,0 +1,42 @@
+<?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_bengali"
+ 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>
diff --git a/java/res/xml/method.xml b/java/res/xml/method.xml
index 68dce8abc..67be24256 100644
--- a/java/res/xml/method.xml
+++ b/java/res/xml/method.xml
@@ -28,6 +28,7 @@
be_BY: Belarusian (Belarus)/east_slavic
bg: Bulgarian/bulgarian
bg: Bulgarian/bulgarian_bds
+ (bn_IN: Bengali (India)/bengali) # This is a preliminary keyboard layout.
ca: Catalan/spanish
cs: Czech/qwertz
da: Danish/nordic
@@ -171,6 +172,16 @@
android:imeSubtypeExtraValue="KeyboardLayoutSet=bulgarian_bds,EmojiCapable"
android:isAsciiCapable="false"
/>
+ <!-- TODO: This bengali 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="0xbff5986c"
+ android:imeSubtypeLocale="bn_IN"
+ android:imeSubtypeMode="keyboard"
+ android:imeSubtypeExtraValue="KeyboardLayoutSet=bengali,EmojiCapable"
+ android:isAsciiCapable="false"
+ />
<subtype android:icon="@drawable/ic_ime_switcher_dark"
android:label="@string/subtype_generic"
android:subtypeId="0xd2e520d5"
diff --git a/java/res/xml/rowkeys_bengali1.xml b/java/res/xml/rowkeys_bengali1.xml
new file mode 100644
index 000000000..c137d12e0
--- /dev/null
+++ b/java/res/xml/rowkeys_bengali1.xml
@@ -0,0 +1,109 @@
+<?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+0994: "ঔ" BENGALI LETTER AU
+ U+09E7: "১" BENGALI DIGIT ONE -->
+ <Key
+ latin:keySpec="&#x0994;"
+ latin:keyHintLabel="&#x09E7;"
+ latin:additionalMoreKeys="&#x09E7;,1"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+0990: "ঐ" BENGALI LETTER AI
+ U+09E8: "২" BENGALI DIGIT TWO -->
+ <Key
+ latin:keySpec="&#x0990;"
+ latin:keyHintLabel="&#x09E8;"
+ latin:additionalMoreKeys="&#x09E8;,2"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+0986: "আ" BENGALI LETTER AA
+ U+09E9: "৩" BENGALI DIGIT THREE -->
+ <Key
+ latin:keySpec="&#x0986;"
+ latin:keyHintLabel="&#x09E9;"
+ latin:additionalMoreKeys="&#x09E9;,3"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+0988: "ঈ" BENGALI LETTER II
+ U+09EA: "৪" BENGALI DIGIT FOUR -->
+ <Key
+ latin:keySpec="&#x0988;"
+ latin:keyHintLabel="&#x09EA;"
+ latin:additionalMoreKeys="&#x09EA;,4"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+098A: "ঊ" BENGALI LETTER UU
+ U+09EB: "৫" BENGALI DIGIT FIVE -->
+ <Key
+ latin:keySpec="&#x098A;"
+ latin:keyHintLabel="&#x09EB;"
+ latin:additionalMoreKeys="&#x09EB;,5"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+09AC: "ব" BENGALI LETTER BA
+ U+09AD: "ভ" BENGALI LETTER BHA
+ U+09EC: "৬" BENGALI DIGIT SIX -->
+ <Key
+ latin:keySpec="&#x09AC;"
+ latin:moreKeys="&#x09AD;,%"
+ latin:keyHintLabel="&#x09EC;"
+ latin:additionalMoreKeys="&#x09EC;,6"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+09B9: "হ" BENGALI LETTER HA
+ U+09ED: "৭" BENGALI DIGIT SEVEN -->
+ <Key
+ latin:keySpec="&#x09B9;"
+ latin:keyHintLabel="&#x09ED;"
+ latin:additionalMoreKeys="&#x09ED;,7"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+0997: "গ" BENGALI LETTER GA
+ U+0998: "ঘ" BENGALI LETTER GHA
+ U+09EE: "৮" BENGALI DIGIT EIGHT -->
+ <Key
+ latin:keySpec="&#x0997;"
+ latin:moreKeys="&#x0998;,%"
+ latin:keyHintLabel="&#x09EE;"
+ latin:additionalMoreKeys="&#x09EE;,8"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+09A6: "দ" BENGALI LETTER DA
+ U+09A7: "ধ" BENGALI LETTER DHA
+ U+09EF: "৯" BENGALI DIGIT NINE -->
+ <Key
+ latin:keySpec="&#x09A6;"
+ latin:moreKeys="&#x09A7;,%"
+ latin:keyHintLabel="&#x09EF;"
+ latin:additionalMoreKeys="&#x09EF;,9"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+099C: "জ" BENGALI LETTER JA
+ U+099D: "ঝ" BENGALI LETTER JHA
+ U+099C/U+09CD/U+099E: "জ্ঞ" BENGALI LETTER JA/BENGALI SIGN VIRAMA/BENGALI LETTER NYA
+ U+09E6: "০" BENGALI DIGIT ZERO -->
+ <Key
+ latin:keySpec="&#x099C;"
+ latin:moreKeys="&#x099D;,&#x099C;&#x09CD;&#x099E;,%"
+ latin:keyHintLabel="&#x09E6;"
+ latin:additionalMoreKeys="&#x09E6;,0"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+09A1: "ড" BENGALI LETTER DDA
+ U+09A1/U+09BC: "ড়" BENGALI LETTER DDA/BENGALI SIGN NUKTA -->
+ <Key
+ latin:keySpec="&#x09A1;"
+ latin:moreKeys="&#x09A1;&#x09BC;"
+ latin:keyLabelFlags="fontNormal" />
+</merge>
diff --git a/java/res/xml/rowkeys_bengali2.xml b/java/res/xml/rowkeys_bengali2.xml
new file mode 100644
index 000000000..589ce017d
--- /dev/null
+++ b/java/res/xml/rowkeys_bengali2.xml
@@ -0,0 +1,94 @@
+<?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+0993: "ও" BENGALI LETTER O
+ U+09CB: "ো" BENGALI VOWEL SIGN O -->
+ <Key
+ latin:keySpec="&#x0993;"
+ latin:moreKeys="&#x09CB;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+098F: "এ" BENGALI LETTER E
+ U+09C7: "ে" BENGALI VOWEL SIGN E -->
+ <Key
+ latin:keySpec="&#x098F;"
+ latin:moreKeys="&#x09C7;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+0985: "অ" BENGALI LETTER A
+ U+09CD: "্" BENGALI SIGN VIRAMA -->
+ <Key
+ latin:keySpec="&#x0985;"
+ latin:moreKeys="&#x09CD;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+0987: "ই" BENGALI LETTER I
+ U+09BF: "ি" BENGALI VOWEL SIGN I -->
+ <Key
+ latin:keySpec="&#x0987;"
+ latin:moreKeys="&#x09BF;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+0989: "উ" BENGALI LETTER U
+ U+09C1: "ু" BENGALI VOWEL SIGN U -->
+ <Key
+ latin:keySpec="&#x0989;"
+ latin:moreKeys="&#x09C1;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+09AA: "প" BENGALI LETTER PA
+ U+09AB: "ফ" BENGALI LETTER PHA -->
+ <Key
+ latin:keySpec="&#x09AA;"
+ latin:moreKeys="&#x09AB;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+09B0: "র" BENGALI LETTER RA
+ U+09C3: "ৃ" BENGALI VOWEL SIGN VOCALIC R
+ U+098B: "ঋ" BENGALI LETTER VOCALIC R
+ U+09A4/U+09CD/U+09B0: "ত্র" BENGALI LETTER TA/BENGALI SIGN VIRAMA/BENGALI LETTER RA -->
+ <Key
+ latin:keySpec="&#x09B0;"
+ latin:moreKeys="&#x09C3;,&#x098B;,&#x09A4;&#x09CD;&#x09B0;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+0995: "ক" BENGALI LETTER KA
+ U+0996: "খ" BENGALI LETTER KHA -->
+ <Key
+ latin:keySpec="&#x0995;"
+ latin:moreKeys="&#x0996;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+09A4: "ত" BENGALI LETTER TA
+ U+09CE: "ৎ" BENGALI LETTER KHANDA TA
+ U+09A5: "থ" BENGALI LETTER THA
+ U+09A4/U+09CD/U+09A4: "ত্ত" BENGALI LETTER TA/BENGALI SIGN VIRAMA/BENGALI LETTER TA -->
+ <Key
+ latin:keySpec="&#x09A4;"
+ latin:moreKeys="&#x09CE;,&#x09A5;,&#x09A4;&#x09CD;&#x09A4;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+099A: "চ" BENGALI LETTER CA
+ U+099B: "ছ" BENGALI LETTER CHA -->
+ <Key
+ latin:keySpec="&#x099A;"
+ latin:moreKeys="&#x099B;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+099F: "ট" BENGALI LETTER TTA
+ U+09A0: "ঠ" BENGALI LETTER TTHA -->
+ <Key
+ latin:keySpec="&#x099F;"
+ latin:moreKeys="&#x09A0;"
+ latin:keyLabelFlags="fontNormal" />
+</merge>
diff --git a/java/res/xml/rowkeys_bengali3.xml b/java/res/xml/rowkeys_bengali3.xml
new file mode 100644
index 000000000..b6d46850f
--- /dev/null
+++ b/java/res/xml/rowkeys_bengali3.xml
@@ -0,0 +1,82 @@
+<?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+0981: "ঁ" BENGALI SIGN CANDRABINDU
+ U+0983: "ঃ" BENGALI SIGN VISARGA
+ U+0982: "ং" BENGALI SIGN ANUSVARA -->
+ <Key
+ latin:keySpec="&#x0981;"
+ latin:moreKeys="&#x0983;,&#x0982;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+09A2: "ঢ" BENGALI LETTER DDHA
+ U+09A2/U+09BC: "ঢ়" BENGALI LETTER DDHA/BENGALI SIGN NUKTA -->
+ <Key
+ latin:keySpec="&#x09A2;"
+ latin:moreKeys="&#x09A2;&#x09BC;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+09AE: "ম" BENGALI LETTER MA -->
+ <Key
+ latin:keySpec="&#x09AE;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+09A8: "ন" BENGALI LETTER NA
+ U+09A3: "ণ" BENGALI LETTER NNA -->
+ <Key
+ latin:keySpec="&#x09A8;"
+ latin:moreKeys="&#x09A3;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+099E: "ঞ" BENGALI LETTER NYA
+ U+0999: "ঙ" BENGALI LETTER NGA
+ U+099E/U+09CD/U+099C: "ঞ্জ" BENGALI LETTER NYA/BENGALI SIGN VIRAMA/BENGALI LETTER JA -->
+ <Key
+ latin:keySpec="&#x099E;"
+ latin:moreKeys="&#x0999;,&#x099E;&#x09CD;&#x099C;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+09B2: "ল" BENGALI LETTER LA -->
+ <Key
+ latin:keySpec="&#x09B2;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+09B7: "ষ" BENGALI LETTER SSA
+ U+0995/U+09CD/U+09B7: "ক্ষ" BENGALI LETTER KA/BENGALI SIGN VIRAMA/BENGALI LETTER SSA -->
+ <Key
+ latin:keySpec="&#x09B7;"
+ latin:moreKeys="&#x0995;&#x09CD;&#x09B7;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+09B8: "স" BENGALI LETTER SA
+ U+09B6: "শ" BENGALI LETTER SHA -->
+ <Key
+ latin:keySpec="&#x09B8;"
+ latin:moreKeys="&#x09B6;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+09DF: "য়" BENGALI LETTER YYA
+ U+09AF: "য" BENGALI LETTER YA -->
+ <Key
+ latin:keySpec="&#x09DF;"
+ latin:moreKeys="&#x09AF;"
+ latin:keyLabelFlags="fontNormal" />
+ <!-- U+0964: "।" DEVANAGARI DANDA
+ U+0965: "॥" DEVANAGARI DOUBLE DANDA -->
+ <Key
+ latin:keySpec="&#x0964;"
+ latin:moreKeys="&#x0965;"
+ latin:keyLabelFlags="fontNormal" />
+</merge>
diff --git a/java/res/xml/rows_bengali.xml b/java/res/xml/rows_bengali.xml
new file mode 100644
index 000000000..890f9352f
--- /dev/null
+++ b/java/res/xml/rows_bengali.xml
@@ -0,0 +1,49 @@
+<?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="9.091%p"
+ >
+ <include
+ latin:keyboardLayout="@xml/rowkeys_bengali1" />
+ </Row>
+ <Row
+ latin:keyWidth="9.091%p"
+ >
+ <include
+ latin:keyboardLayout="@xml/rowkeys_bengali2" />
+ </Row>
+ <Row
+ latin:keyWidth="9.091%p"
+ >
+ <include
+ latin:keyboardLayout="@xml/rowkeys_bengali3" />
+ <Key
+ latin:keyStyle="deleteKeyStyle"
+ latin:keyWidth="fillRight" />
+ </Row>
+ <include
+ latin:keyboardLayout="@xml/row_qwerty4" />
+</merge>