diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/res/xml-sw600dp/key_space_5kw.xml | 4 | ||||
-rw-r--r-- | java/res/xml/method.xml | 8 | ||||
-rw-r--r-- | java/src/com/android/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java | 3 |
3 files changed, 8 insertions, 7 deletions
diff --git a/java/res/xml-sw600dp/key_space_5kw.xml b/java/res/xml-sw600dp/key_space_5kw.xml index 86af89f50..71ae5fd8f 100644 --- a/java/res/xml-sw600dp/key_space_5kw.xml +++ b/java/res/xml-sw600dp/key_space_5kw.xml @@ -23,7 +23,7 @@ > <switch> <case - latin:languageCode="fa" + latin:languageCode="fa|ne" latin:languageSwitchKeyEnabled="true" > <Key @@ -35,7 +35,7 @@ latin:keyStyle="zwnjKeyStyle" /> </case> <case - latin:languageCode="fa" + latin:languageCode="fa|ne" latin:languageSwitchKeyEnabled="false" > <Key diff --git a/java/res/xml/method.xml b/java/res/xml/method.xml index 94327f9e9..05cb2938b 100644 --- a/java/res/xml/method.xml +++ b/java/res/xml/method.xml @@ -50,10 +50,10 @@ hr: Croatian/qwertz hu: Hungarian/qwertz hy_AM: Armenian (Armenia) Phonetic/armenian_phonetic - in: Indonesian/qwerty # "id" is official language code of Indonesian. + in: Indonesian/qwerty # "id" is the official language code of Indonesian. is: Icelandic/qwerty it: Italian/qwerty - iw: Hebrew/hebrew # "he" is official language code of Hebrew. + iw: Hebrew/hebrew # "he" is the official language code of Hebrew. ka_GE: Georgian (Georgia)/georgian kk: Kazakh/east_slavic km_KH: Khmer (Cambodia)/khmer @@ -65,8 +65,8 @@ mn_MN: Mongolian (Mongolia)/mongolian ms_MY: Malay (Malaysia)/qwerty nb: Norwegian Bokmål/nordic - ne_NP: Nepali (Nepal) Romanized/nepali_romanized) - ne_NP: Nepali (Nepal) Traditional/nepali_traditional) + ne_NP: Nepali (Nepal) Romanized/nepali_romanized + ne_NP: Nepali (Nepal) Traditional/nepali_traditional nl: Dutch/qwerty nl_BE: Dutch (Belgium)/azerty pl: Polish/qwerty diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java index afa8fe3a8..c26e223c9 100644 --- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java +++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java @@ -511,7 +511,8 @@ final class SuggestionStripLayoutHelper { final String importantNoticeTitle) { final TextView titleView = (TextView)importantNoticeStrip.findViewById( R.id.important_notice_title); - final int width = stripWidth - titleView.getPaddingLeft() - titleView.getPaddingRight(); + final int width = titleView.getWidth() - titleView.getPaddingLeft() + - titleView.getPaddingRight(); titleView.setTextColor(mColorAutoCorrect); titleView.setText(importantNoticeTitle); titleView.setTextScaleX(1.0f); // Reset textScaleX. |