buildSettingsAction
fun buildSettingsAction(screen: Screen, icon: CarIcon = defaultSettingsIcon(screen), title: CharSequence? = null): Action
Builds a settings action for any navigation mode.
Shows settings inline on MapboxScreen.NAVIGATION, or opens the dedicated settings screen on legacy screens. The title is subject to the host's action-strip text limits.
Parameters
screen
the screen that owns the action.
icon
the settings action icon, defaulting to the built-in settings icon.
title
the settings action title, or null for an icon-only action.