Java does not automatically pop up input methods when using the EditText control

  • 2020-04-01 03:45:20
  • OfStack

The one with the EditText control gets the focus automatically the first time it's displayed and pops up the keyboard,
If you don't want the keyboard to pop up automatically, you can


in mainfest Let's put the corresponding in the file activity Set up the
android:windowSoftInputMode="stateHidden"
or android:windowSoftInputMode="stateUnchanged" .

That's all for this article, I hope you enjoy it.


Related articles: