I'm trying to overlay EditText with another view. My Layout seems to work, however the EditText is still clickable. What am I missing?
Here is my basic layout:
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/editText"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:inputType="text"/>
<LinearLayout
android:orientation="vertical"
android:background="#00aa00"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true">
</LinearLayout>
and here is the emulator view:
Update: I'm animating the LinearLayout to show or hide the EditText