mirror of
https://github.com/etlegacy/etlegacy-android.git
synced 2025-04-12 04:00:48 +00:00
java: there was issue on some Android devices with Android 9
There was issue when trying to create profile softkeyboard input was ignored
This commit is contained in:
parent
1fa1c6d2c2
commit
513c3ed97b
1 changed files with 2 additions and 0 deletions
|
@ -357,6 +357,8 @@ public class ETLActivity extends SDLActivity implements JoyStickListener {
|
|||
protected void onPostCreate(Bundle savedInstanceState) {
|
||||
super.onPostCreate(savedInstanceState);
|
||||
|
||||
mLayout.requestFocus();
|
||||
|
||||
btn = new ImageButton(getApplicationContext());
|
||||
btn.setImageBitmap(getBitmapFromAsset("btn_keyboard.png"));
|
||||
btn.setBackgroundResource(0);
|
||||
|
|
Loading…
Reference in a new issue