Not request focus EditText if startup Android

Not request focus EditText if startup Android – hide keyboard if startup.

Remove: from EditText

Create a LinearLayout and set the:
attributes android:focusable=”true” android:focusableInTouchMode=”true”

   <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:focusable="true" 
        android:focusableInTouchMode="true"
        android:orientation="vertical" >
</LinearLayout>
This entry was posted in Android Examples Code and tagged , , . Bookmark the permalink.


Comments are closed.

4,077 views