Issue
Hello everyone I'm developing an app. I want to overlap a layout with map like image show. I added framelayout but when i playing my hand over the framelayout it affect my map. How can i solve this issue ?
Thanks in advance.
PS: No matter context. My xml like this. But my touch on framelayout affect map too.
My Main.XML ;
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity$PlaceholderFragment">
<com.esri.android.map.MapView
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent">
</com.esri.android.map.MapView>
<FrameLayout
android:layout_width="240dp"
android:layout_height="400dp"
android:background="#fcccff"
>
</FrameLayout>
</RelativeLayout>
Solution
Inside your Frame layout set this attribute and let me know
<FrameLayout
android:layout_width="240dp"
android:layout_height="400dp"
android:background="#fcccff"
android:setClickable="true"
>
</FrameLayout>
Answered By - williamj949
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.