In my application I have a single EditText together with some TextViews, button and a spinner. My EditText receives focus since it is the only focu
EditText
TextViews
For me this worked
Add these attributes to your EditText
android:focusable="true" android:focusableInTouchMode="true"
After this in your code you can simply write
editText.clearFocus()