diff options
author | 2009-09-04 15:30:43 -0700 | |
---|---|---|
committer | 2009-09-08 15:55:17 -0700 | |
commit | d9688c77a95dc548c68d57ba2c6f30bb27fc69dc (patch) | |
tree | f69fe540fd6cc2b7671e48f1f6f1822790d6f7f7 /src | |
parent | f265392f7fd3705c9c00fad72f938bb9f8565306 (diff) | |
download | latinime-d9688c77a95dc548c68d57ba2c6f30bb27fc69dc.tar.gz latinime-d9688c77a95dc548c68d57ba2c6f30bb27fc69dc.tar.xz latinime-d9688c77a95dc548c68d57ba2c6f30bb27fc69dc.zip |
Adjust the size of bottom row of keys for email mode. Fix for 2099889
Also recreate the keyboards when locale changes.
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/inputmethod/latin/LatinIME.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/inputmethod/latin/LatinIME.java b/src/com/android/inputmethod/latin/LatinIME.java index 49ae93e48..965656db2 100644 --- a/src/com/android/inputmethod/latin/LatinIME.java +++ b/src/com/android/inputmethod/latin/LatinIME.java @@ -209,6 +209,10 @@ public class LatinIME extends InputMethodService public void onConfigurationChanged(Configuration conf) { if (!TextUtils.equals(conf.locale.toString(), mLocale)) { initSuggest(conf.locale.toString()); + if (mKeyboardSwitcher == null) { + mKeyboardSwitcher = new KeyboardSwitcher(this); + } + mKeyboardSwitcher.makeKeyboards(); } // If orientation changed while predicting, commit the change if (conf.orientation != mOrientation) { |