Issue
in my Android app I have a LinearLayout partially over a MapView and dragging on the layout causes the map to pan.
How can this be avoided? Of course I can't disable pan because dragging on the map itself should move it. See this screenshot for clarification:

Dunno if it's relevant (don't think so): both MapView and LinearLayout are inside a RelativeLayout.
Thanks, Maurizio
Solution
Have your LinearLayout be clickable? Either android:clickable="true" in XML or setClickable(true); in code.
Answered By - Brian Dupuis
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.