I have the following xml
file in my android app
. When user opens the app, the keyboard becomes active at the same time. Even though user has not even started in the EditText
.
How could I control keyboard? I want keyboard to appear when a user tap on the EditText
.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/mList"
android:minWidth="25px"
android:minHeight="25px">
<EditText
android:minWidth="25px"
android:minHeight="25px"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/search" />
<ListView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:id="@+id/mListView" />
</LinearLayout>