-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed visibility of the location crosshair in mapbox #4867
Conversation
@@ -3,7 +3,9 @@ | |||
android:height="48dp" | |||
android:viewportWidth="48" | |||
android:viewportHeight="48"> | |||
|
|||
<!-- Do not use theme attributes to define the color https://github.com/mapbox/mapbox-gl-native-android/issues/716 --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow that's annoying!
@grzesiek2010 I have noticed that crosshair disappears when changing offline layers, see gif: A similar issue is visible when an offline layer is selected and minimize app. When go back to app crosshair is not visible. Issue does not occur when minimize app when offline layer is not selected. It was hard to find Collect version where crosshair was visible. I tried 1.26 where both cases that I am describing works well. Could you please take a look? |
This is a different bug, please report a separate issue for it. |
Tested with success! Tested cases:
|
Tested with success on Android 8.1, 9.0, 10.0 |
Closes #4858
What has been done to verify that this works as intended?
I tested the fix manually.
Why is this the best possible solution? Were any other approaches considered?
This seems to be a bug in mapbox which I reported here mapbox/mapbox-gl-native-android#716 so this seems to be the only solution for now.
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
Please just verify that the issue is fixed. Nothing else should be affected.
Do we need any specific form for testing your changes? If so, please attach one.
No.
Does this change require updates to documentation? If so, please file an issue here and include the link below.
No.
Before submitting this PR, please make sure you have:
./gradlew checkAll
and confirmed all checks still pass OR confirm CircleCI build passes and run./gradlew connectedDebugAndroidTest
locally.