I’ve read the other questions discussing this, and all of them work for my layouts, except for the very first one created. At the moment, this is at the top of my onCreate method: ^ That makes it so at least the keyboard doesn’t pop up on startup, but the EditText is still focused on. This is the XML for
Tag: focus
Prevent the keyboard from displaying on activity start
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 focuses the input? Answer I think the following may work I’ve used it for this sort of thing before.