android - Not focus edittext the first time -


this question has answer here:

i've got trouble show keyboard when has focus in edittext. want remove focus @ first time after im showing screen. can pro me. tks much.

set properties of parent layout

android:focusable="true"   android:focusableintouchmode="true" 

like this:

<linearlayout      android:layout_width="match_parent"     android:layout_height="match_parent"     android:orientation="vertical"     android:background="@color/black"     android:gravity="center_horizontal"      android:focusable="true"       android:focusableintouchmode="true">      <imageview         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:id="@+id/logo"         android:background="@drawable/dictionary_logo"/>      <relativelayout          android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:background="@drawable/searchbar_bg"         android:gravity="center_vertical">          <edittext            android:layout_width="match_parent"            android:layout_height="wrap_content"            android:id="@+id/et_search"            android:background="@null"            android:hint="search"            android:singleline="true"/>      </relativelayout>  </linearlayout>