Hide soft keyboard on pressing back
问题 I have an EditText in an Activity and I want it to be active and soft-keyboard be open when I open that Activity . Here is my xml for EditText : <EditText android:background="@null" android:cursorVisible="true" android:elegantTextHeight="true" android:enabled="true" android:focusable="true" android:hint="Search" android:id="@+id/editText11" android:inputType="textNoSuggestions|textCapSentences" android:layout_centerVertical="true" android:layout_height="wrap_content" android:layout_width=