I am writing an android application with two EditText on the main activity. My problem is that once the main activity starts the soft keyboad automatically appears. I want the soft keyboard to appear only when the user clicks on the EditText component. How can I accomplish this?
Share
In your activity, in your
onCreatemethod, put the followingAnd then afterwards (in a different method, maybe an
onClickListenerfor your edittext) putAlso you could put the below line in you manifest, in the the activity section, just below the
android:nameattribute