mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 13:30:15 -07:00
[Text input] remove CapturedEditText and supports "dead chars"
This commit is contained in:
parent
77bfd121ea
commit
5c74b1038b
4 changed files with 11 additions and 44 deletions
|
|
@ -74,7 +74,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
private DrawerLayout drawerLayout;
|
||||
private NavigationView navDrawer;
|
||||
|
||||
protected CapturedEditText mKeyHandlerView;
|
||||
// protected CapturedEditText mKeyHandlerView;
|
||||
|
||||
private LinearLayout contentLog;
|
||||
private TextView textLog;
|
||||
|
|
@ -197,13 +197,13 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
|
||||
// toggleGui(null);
|
||||
this.drawerLayout.closeDrawers();
|
||||
|
||||
/*
|
||||
mKeyHandlerView = findViewById(R.id.main_key_handler);
|
||||
mKeyHandlerView.setSingleLine(false);
|
||||
mKeyHandlerView.clearFocus();
|
||||
|
||||
AndroidLWJGLKeycode.isBackspaceAfterChar = true; // mVersionInfo.minimumLauncherVersion >= 18;
|
||||
|
||||
*/
|
||||
placeMouseAt(CallbackBridge.windowWidth / 2, CallbackBridge.windowHeight / 2);
|
||||
new Thread(new Runnable(){
|
||||
|
||||
|
|
@ -719,7 +719,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
Tools.showError(this, e, true);
|
||||
}
|
||||
}
|
||||
/*
|
||||
|
||||
@Override
|
||||
public boolean onKeyUp(int keyCode, KeyEvent event) {
|
||||
AndroidLWJGLKeycode.execKey(event, keyCode, false);
|
||||
|
|
@ -731,7 +731,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
AndroidLWJGLKeycode.execKey(event, keyCode, true);
|
||||
return super.onKeyDown(keyCode, event);
|
||||
}
|
||||
*/
|
||||
|
||||
//private Dialog menuDial;
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue