mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 08:35:37 -04:00
[Text input] Try to use EditText again
This commit is contained in:
parent
16725dac1c
commit
a0bc431b44
@ -5,7 +5,7 @@ import android.util.*;
|
||||
import android.widget.*;
|
||||
import android.view.*;
|
||||
|
||||
public class CapturedEditText extends TextView
|
||||
public class CapturedEditText extends EditText
|
||||
{
|
||||
public CapturedEditText(Context ctx) {
|
||||
this(ctx, null);
|
||||
@ -14,11 +14,6 @@ public class CapturedEditText extends TextView
|
||||
public CapturedEditText(Context ctx, AttributeSet attrs) {
|
||||
super(ctx, attrs);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getDefaultEditable() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onKeyDown(int keyCode, KeyEvent event) {
|
||||
|
@ -19,6 +19,7 @@
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<net.kdt.pojavlaunch.CapturedEditText
|
||||
android:imeOptions="flagNoExtractUi"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:id="@+id/main_key_handler"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user