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.
When changing the user dot color or accuracy color, it sometimes wont immediately show the change. Maybe this has to do with location becoming stale or invalidate needing to be called?
Great find, I'm guessing that we are missing a invalidate somewhere. The invalidate method will result in calling onDraw which should change the color.
Activity
tobrun commentedon May 4, 2016
Great find, I'm guessing that we are missing a
invalidatesomewhere. The invalidate method will result in callingonDrawwhich should change the color.tobrun commentedon May 4, 2016
Refs #4897
[android] #4930 - removed style url from layout xml, was running into #…
[android] #4930 - introduced a ViewUtils class to remove the lint war…
[android] #4930 - consistent formatting
[android] #4930 - made sure that we are not getting a null pointer ex…
[android] #4930 - reuse MyLocationSettings instance instead of creati…
[android] #4930 - renamed MyLocationDotColor to MyLocationColorActivity.
[android] #4930 - renamed Color to tint and Customisation to Drawable…
[android] #4930 - added invalidate to update the tint directly when r…
tobrun commentedon May 4, 2016
My hunch was right, I added an invalidate and everything is working as designed.
bleege commentedon May 6, 2016
@tobrun Is this ready to be merged via #4940 and closed then?
tobrun commentedon May 10, 2016
@bleege, I was holding off on doing that so I could talk through the changes with @cammace.
That happened yesterday so going to merge it now.
[android] #4930 - added invalidate to change tint colors
bleege commentedon May 10, 2016
👍