mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-22 15:23:11 +01:00
Fix layout not updating after rotation
Reset the layout on onStartInputView.
This commit is contained in:
parent
a036ebc47b
commit
1e6e3ab22a
@ -103,6 +103,7 @@ public class Keyboard2 extends InputMethodService
|
||||
refreshSubtypeImm();
|
||||
if ((info.inputType & InputType.TYPE_CLASS_NUMBER) != 0)
|
||||
_keyboardView.setKeyboard(getLayout(R.xml.numeric));
|
||||
_keyboardView.reset(); // Layout might need to change due to rotation
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user