I have an activity with an Edit Text
input. When the activity is initialized, the Android keyboard is shown. How can the keyboard remain hidden until the user
You can also write these lines of code in the direct parent layout of the .xml layout file in which you have the "problem":
android:focusable="true"
android:focusableInTouchMode="true"
For example:
EDIT :
Example if the EditText is contained in another layout:
...
The key is to make sure that the EditText is not directly focusable.
Bye! ;-)