TextBox Inside TabHost isn't clickable
- by agam360
Here is my code:(main.xml -layout)
<TabHost
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<LinearLayout
android:id="@+id/linearLayout2"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
>
<TabWidget
android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
</TabWidget>
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<MultiAutoCompleteTextView
android:id="@+id/txtCode"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="0.25"
android:capitalize="none"
android:focusable="true"
android:focusableInTouchMode="false"
android:gravity="top|left"
android:text="@string/strtxtCode"
android:textSize="26dp"
android:textStyle="bold"
android:typeface="normal" />
<MultiAutoCompleteTextView
android:id="@+id/txtCodeHTML"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="0.25"
android:capitalize="none"
android:focusable="true"
android:focusableInTouchMode="false"
android:gravity="top|left"
android:text="@string/strtxtCode2"
android:textSize="26dp"
android:textStyle="bold"
android:typeface="normal" />
</FrameLayout>
</LinearLayout>
</TabHost>
When I try to click(touch) the text-box, it does nothing.
What should I do in order to fix this?