1
0
forked from GitHub/gf-core

fix in the GF keyboard for Android

This commit is contained in:
kr.angelov
2013-11-22 13:37:12 +00:00
parent 8cc6be0152
commit 22fe61b533

View File

@@ -510,15 +510,19 @@ public class TranslatorInputMethodService extends InputMethodService
updateLanguageKeyboard(newSource);
mSymbolsKeyboard.updateLanguageKeyLabels();
mSymbolsShiftedKeyboard.updateLanguageKeyLabels();
if (mInputView != null) {
mInputView.setKeyboard(mCurKeyboard);
}
}
void handleChangeTargetLanguage(Language newTarget) {
mLanguageKeyboard.updateLanguageKeyLabels();
mSymbolsKeyboard.updateLanguageKeyLabels();
mSymbolsShiftedKeyboard.updateLanguageKeyLabels();
if (mInputView != null) {
mInputView.invalidateAllKeys();
}
}
void handleSwitchLanguages() {
Language newSource = mTranslator.getSourceLanguage();