Skip to main content

Settings screen

The Navigation SDK UX Framework provides out of the box Settings screen, where a user can adjust the behavior of the UX Framework manually.

You can hide route options item or speed limits options item from the Settings screen:

Dash.init(
applicationContext = applicationContext,
accessToken = getString(R.string.mapbox_access_token)
) {
uiSettings {
showRouteOptions = false
showSpeedLimitsOptions = false
}
}

It is also possible to make the update in runtime:

Dash.applyUpdate {
uiSettings {
showRouteOptions = true
showSpeedLimitsOptions = true
}
}
Was this page helpful?