[IME] fix again.....

This commit is contained in:
khanhduytran0 2020-11-27 21:19:03 +07:00
parent d41bbce8ad
commit 6fc9420c20
2 changed files with 4 additions and 4 deletions

View file

@ -197,12 +197,12 @@ public class BaseMainActivity extends LoggableActivity {
// toggleGui(null); // toggleGui(null);
this.drawerLayout.closeDrawers(); this.drawerLayout.closeDrawers();
/*
mKeyHandlerView = findViewById(R.id.main_key_handler); mKeyHandlerView = findViewById(R.id.main_key_handler);
mKeyHandlerView.setSingleLine(false); mKeyHandlerView.setSingleLine(false);
mKeyHandlerView.clearFocus(); mKeyHandlerView.clearFocus();
mKeyHandlerView.setVisibility(View.GONE); mKeyHandlerView.setVisibility(View.GONE);
*/
AndroidLWJGLKeycode.isBackspaceAfterChar = true; // mVersionInfo.minimumLauncherVersion >= 18; AndroidLWJGLKeycode.isBackspaceAfterChar = true; // mVersionInfo.minimumLauncherVersion >= 18;
placeMouseAt(CallbackBridge.windowWidth / 2, CallbackBridge.windowHeight / 2); placeMouseAt(CallbackBridge.windowWidth / 2, CallbackBridge.windowHeight / 2);

View file

@ -17,12 +17,12 @@
android:id="@+id/main_control_layout" android:id="@+id/main_control_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<!--
<net.kdt.pojavlaunch.CapturedEditText <net.kdt.pojavlaunch.CapturedEditText
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_width="match_parent" android:layout_width="match_parent"
android:id="@+id/main_key_handler"/> android:id="@+id/main_key_handler"/>
-->
<net.kdt.pojavlaunch.MinecraftGLView <net.kdt.pojavlaunch.MinecraftGLView
android:id="@+id/main_game_render_view" android:id="@+id/main_game_render_view"
android:layout_width="fill_parent" android:layout_width="fill_parent"