ANDROID: Hide on-screen buttons while native code is not started

This commit is contained in:
Le Philousophe 2024-04-13 19:12:01 +02:00
parent aa406ba5f3
commit 298c970fca

View File

@ -956,6 +956,8 @@ public class ScummVMActivity extends Activity implements OnKeyboardVisibilityLis
_toggleTouchModeKeyboardBtnIcon = new ImageView(this);
// Hide by default all buttons, they will be shown when native code will start
showToggleOnScreenBtnIcons(0);
layoutButtonLayout(getResources().getConfiguration().orientation, true);
_main_surface.setFocusable(true);