I have an activity with a search box (EditText) on the top, and a ListView below. Whenever the activity starts, the EditText always has focus and bring up the keybo
EditText
Try this
On your Activity Declaration in AndroidManifest.xml add the below code :
Activity
AndroidManifest.xml
android:windowSoftInputMode="stateHidden"
It will prevent the keyboard to popup up when activity becomes visible.
Happy coding :)