I have a created a mapview with markers on it.
Looking at this picture below:Grandparent
is a filling ViewParent
is my MarkerViewChild
is a marker which is clickable
Parent has clipChildren(false) and thus the children are visible.
My problem is that the children are clickable, except for the part where Child 2
is outside the Parent
.
Parent
also has the appropriate TouchDelegate
(and I also tried this for the children).
How can I make the complete child clickable?
I couldn't make it work without changing the elements.
I ended up enlarging the parent and using setTranslationY for the markers to keep them in place like this:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With