My 1st layout is showing nothing. There is a 2nd layout above of it that is showing an image. How can I add a onTouchEvent to the 2nd layout? (I am asking this because OnTouchEvent just affects my 1st layout...) Its a relative layout overlaying another relative layout
Thank you very much.
<RelativeLayout 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/camera_layout"
android:background="#000000">
<RelativeLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/camera_preview"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_alignWithParentIfMissing="false"
android:layout_alignParentBottom="true"
android:layout_marginBottom="1dp"
android:visibility="visible">
</RelativeLayout>
</RelativeLayout>