I have an issue when the activity starts, android automatically places focus on the first edittext. How do I prevent android from doing that?
Have a look here
Or you could just hide the keyboard, focus remains on the EditText upon starting the activity:
android:windowSoftInputMode="stateHidden"
use setFocusable (boolean focusable) to prevent. http://developer.android.com/reference/android/view/View.html#setFocusable(boolean)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With