am 11cdcf60: Fix missing ZWNJ key of BengaliAkhhor keyboard

* commit '11cdcf604cd97055f50f88f48b19b91b72346412':
  Fix missing ZWNJ key of BengaliAkhhor keyboard
main
Tadashi G. Takaoka 2014-11-04 10:07:14 +00:00 committed by Android Git Automerger
commit aefe8880bd
5 changed files with 12 additions and 19 deletions

View File

@ -22,12 +22,8 @@
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
<switch>
<!-- fa: Perisan
kn: Kannada
ne: Nepali
te: Telugu -->
<case
latin:languageCode="fa|kn|ne|te"
latin:keyboardLayoutSet="bengali_akkhor|farsi|kannada|nepali_romanized|nepali_traditional|telugu"
latin:languageSwitchKeyEnabled="true"
>
<Key
@ -39,7 +35,7 @@
latin:keyStyle="zwnjKeyStyle" />
</case>
<case
latin:languageCode="fa|kn|ne|te"
latin:keyboardLayoutSet="bengali_akkhor|farsi|kannada|nepali_romanized|nepali_traditional|telugu"
latin:languageSwitchKeyEnabled="false"
>
<Key

View File

@ -22,12 +22,8 @@
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
<switch>
<!-- fa: Perisan
kn: Kannada
ne: Nepali
te: Telugu -->
<case
latin:languageCode="fa|kn|ne|te"
latin:keyboardLayoutSet="bengali_akkhor|farsi|kannada|nepali_romanized|nepali_traditional|telugu"
latin:languageSwitchKeyEnabled="true"
>
<Key
@ -39,7 +35,7 @@
latin:keyStyle="zwnjKeyStyle" />
</case>
<case
latin:languageCode="fa|kn|ne|te"
latin:keyboardLayoutSet="bengali_akkhor|farsi|kannada|nepali_romanized|nepali_traditional|telugu"
latin:languageSwitchKeyEnabled="false"
>
<Key

View File

@ -22,12 +22,8 @@
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
<switch>
<!-- fa: Perisan
kn: Kannada
ne: Nepali
te: Telugu -->
<case
latin:languageCode="fa|kn|ne|te"
latin:keyboardLayoutSet="bengali_akkhor|farsi|kannada|nepali_romanized|nepali_traditional|telugu"
latin:languageSwitchKeyEnabled="true"
>
<Key
@ -39,7 +35,7 @@
latin:keyStyle="zwnjKeyStyle" />
</case>
<case
latin:languageCode="fa|kn|ne|te"
latin:keyboardLayoutSet="bengali_akkhor|farsi|kannada|nepali_romanized|nepali_traditional|telugu"
latin:languageSwitchKeyEnabled="false"
>
<Key

View File

@ -19,7 +19,7 @@
-->
<KeyboardLayoutSet xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" >
<Feature latin:supportedScript="devanagari" />
<Feature latin:supportedScript="bengali" />
<Element
latin:elementKeyboard="@xml/kbd_bengali_akkhor"
latin:elementName="alphabet"

View File

@ -45,6 +45,11 @@ public final class TestsBengaliBD extends LayoutTestsBase {
return isPhone ? EMPTY_KEYS : EXCLAMATION_AND_QUESTION_MARKS;
}
@Override
public ExpectedKey[] getSpaceKeys(final boolean isPhone) {
return joinKeys(LANGUAGE_SWITCH_KEY, SPACE_KEY, key(ZWNJ_KEY, ZWJ_KEY));
}
@Override
public ExpectedKey getCurrencyKey() { return CURRENCY_RUPEE; }