ViewStyleCustomization

class ViewStyleCustomization

A class that allows you to style the default standalone components used by NavigationView. If not specified, NavigationView uses the default styles defined for each of the standalone components.

Constructors

Link copied to clipboard
fun ViewStyleCustomization()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var audioGuidanceButtonStyle: Int? = null

Provide custom MapboxAudioGuidanceButton style. Use defaultAudioGuidanceButtonStyle to reset to default.

Link copied to clipboard
var cameraModeButtonStyle: Int? = null

Provide custom MapboxCameraModeButton style. Use defaultCameraModeButtonStyle to reset to default.

Link copied to clipboard
var destinationMarker: Int? = null

Provide custom destination marker icon. Use defaultDestinationMarker to reset to default.

Link copied to clipboard
var endNavigationButtonStyle: Int? = null

Provide custom MapboxExtendableButton style for end navigation button. Use defaultEndNavigationButtonStyle to reset to default.

Link copied to clipboard
var infoPanelBackground: Int? = null

Specify info panel background drawable. Use defaultInfoPanelBackground to reset to default.

Link copied to clipboard
var infoPanelMarginEnd: Int? = null

Specify info panel end margin. Use defaultInfoPanelMarginEnd to reset to default.

Link copied to clipboard
var infoPanelMarginStart: Int? = null

Specify info panel start margin. Use defaultInfoPanelMarginStart to reset to default.

Link copied to clipboard
var infoPanelPeekHeight: Int? = null

Specify info panel peek height. Use defaultInfoPanelPeekHeight to reset to default.

Link copied to clipboard
var maneuverViewOptions: ManeuverViewOptions? = null

Provide custom ManeuverViewOptions to style MapboxManeuverView. Use defaultManeuverViewOptions to reset to default.

Link copied to clipboard
var recenterButtonStyle: Int? = null

Provide custom MapboxExtendableButton style for re-center button. Use defaultRecenterButtonStyle to reset to default.

Link copied to clipboard
var roadNameBackground: Int? = null

Provide custom MapboxRoadNameView background. Use defaultRoadNameBackground to reset to default.

Link copied to clipboard
var roadNameTextAppearance: Int? = null

Provide custom MapboxRoadNameView. Use defaultRoadNameTextAppearance to reset to default.

Link copied to clipboard
var routePreviewButtonStyle: Int? = null

Provide custom MapboxExtendableButton style for route preview button. Use defaultRoutePreviewButtonStyle to reset to default.

Link copied to clipboard
var speedLimitStyle: Int? = null

Provide custom MapboxSpeedLimitView style. Use defaultSpeedLimitStyle to reset to default.

Link copied to clipboard
var speedLimitTextAppearance: Int? = null

Provide custom MapboxSpeedLimitView. Use defaultSpeedLimitTextAppearance to reset to default.

Link copied to clipboard
var startNavigationButtonStyle: Int? = null

Provide custom MapboxExtendableButton style for start navigation button. Use defaultStartNavigationButtonStyle to reset to default.

Link copied to clipboard
var tripProgressStyle: Int? = null

Provide custom MapboxTripProgressView style. Use defaultTripProgressStyle to reset to default.