You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
@ljbade
Setting margins to negative values is considered bad practice..
Personally I find it acceptable to get 2.1.0 out the door but should be fixed in 2.2.0.
I'm thinking about creating 1 shape for the whole background,
then we can also implement same rounded bordes as iOS.
Activity
tobrun commentedon Oct 16, 2015
@ljbade well spotted ;)
ljbade commentedon Oct 17, 2015
I found a quick fix (nothing else seemed to work) of setting the
topMarginfor the tip view to -1 px.[android] Use -1px topMargin on InfoWindowTipView to avoid occasional…
tobrun commentedon Oct 18, 2015
@ljbade
Setting margins to negative values is considered bad practice..
Personally I find it acceptable to get 2.1.0 out the door but should be fixed in 2.2.0.
I'm thinking about creating 1 shape for the whole background,
then we can also implement same rounded bordes as iOS.
Update: I created #2658 to track this
ljbade commentedon Oct 18, 2015
@tobrun Yeah I did some Googling on negative margins, and found a comment from one of the Android engineers that it is supported on relative layout.
I agree correct way to address this would be to combine everything into just one custom view.
tobrun commentedon Oct 18, 2015
@ljbade Didn't know about support for relative layout. Interesting.
Do we want the same design for our InfoWindow as iOS?
ljbade commentedon Oct 18, 2015
@tobrun Hmm, not sure can you take screenshots that compare our current InfoWindows with iOS and Google Maps?
[android] Use -1px topMargin on InfoWindowTipView to avoid occasional…
[android] Use -1px topMargin on InfoWindowTipView to avoid occasional…
[android] Use -1px topMargin on InfoWindowTipView to avoid occasional…