Appolica / InteractiveInfoWindowAndroid

Library project, developed and maintained by Appolica, offering an interactive info window for Google maps on Android.
249 stars 56 forks source link

Incorrect horizontal infowindow background scale #29

Closed dmz9 closed 5 years ago

dmz9 commented 6 years ago

While running on emulator i noticed that infowindow background is displayed wrong. apo It looks like the arrow has some wrong bias to the left, shifting more if window has larger horizontal size. I found that this issue is related to 9-patch markup of the png background infowindow_background.9.png Android studio shows that the background has wrong patches on both sides of horizontal stretching areas. apo2 So i tried to fix that by making the stretch area 1px-wide. It did help. This issue is created for purpose - if somebody like me will get into it - here is the solution: copy all /res/drawable-***dpi-v4/infowindow_background.9.png in your project's /res/ folder and resize horizontal stretch areas to 1px apo3

deangenovski commented 6 years ago

Would be keen on creating a PR for the fix

rapperskull commented 6 years ago

Any news on merging this?

deangenovski commented 5 years ago

Merged will be release with 1.0.8