mapbox / mapbox-navigation-android

Mapbox Navigation SDK for Android
https://docs.mapbox.com/android/navigation/overview/
Other
622 stars 319 forks source link

Feedback button hide not working as espected #3792

Open P-Zenker opened 3 years ago

P-Zenker commented 3 years ago

Android API: 30 Mapbox Navigation SDK version: com.mapbox.navigation:ui:1.1.2 & com.mapbox.mapboxsdk:mapbox-sdk-services:5.7.0

Steps to trigger behavior

Use mapboxNavigationView.retrieveFeedbackButton().hide()

Expected behavior

Only the feedback button disappears

Actual behavior

The feedback disappears. But the recenter button disappears also...

2020-11-18 15 18 30

My fix

If I use requireView().findViewById<View>(R.id.feedbackFab).visibility = View.GONE the recenter button is available

2020-11-18 15 18 24

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.