Answer the question
In order to leave comments, you need to log in
How to disable the automatic appearance of the virtual keyboard in Android?
I have Lineageos. Is there a way to somehow set it up so that when you click on the text field, the keyboard, for example, does not automatically jump out to a third of the screen, but some small button appears, by clicking on which the keyboard would already appear or even somehow disable it?
Answer the question
In order to leave comments, you need to log in
Create your own class that extends EditText and override onCheckIsTextEditor
public class NoImeEditText extends EditText {
public NoImeEditText(Context context, AttributeSet attrs) {
super(context, attrs);
}
@Override
public boolean onCheckIsTextEditor() {
return false;
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question