2013-05-24

Android stop EditText to gain focus when Activity startup

In my case, add these into the layout
<LinearLayout
    android:descendantFocusability="beforeDescendants"
    android:focusableInTouchMode="true"
So your layout will gain focus before EditText.

No comments: