ViewOptionsCustomization
A class that allows you to define values for various different properties used by the NavigationView. If not specified, NavigationView uses the default values defined for each of these properties.
Constructors
Types
Properties
Set to override DistanceFormatterOptions
Set to false if you don't want NavigationView to intercept OnMapLongClickListener events. Set to true
as the default behavior.
Set to override Info Panel BottomSheet state. Setting this value to one of BottomSheetBehavior.STATE_COLLAPSED, BottomSheetBehavior.STATE_EXPANDED, BottomSheetBehavior.STATE_HIDDEN or BottomSheetBehavior.STATE_HALF_EXPANDED will disable default (auto-hiding) behaviour. Set to 0
to restore the default behavior.
Provide custom navigation style for day mode. Use NavigationStyles.NAVIGATION_DAY_STYLE to reset to default.
Provide custom navigation style for night mode. Use NavigationStyles.NAVIGATION_NIGHT_STYLE to reset to default.
Provide custom route arrow options. Use ViewOptionsCustomization.defaultRouteArrowOptions to reset to default.
Provide custom route line options. Use ViewOptionsCustomization.defaultRouteLineOptions to reset to default.
Set if the Info Panel should be visible for the Free Drive state. When set to true
InfoPanelBinder will only render an empty info panel. You are responsible to inflate appropriate Binder to render the content you would like to show on the info panel during free drive. Set to false
for the default behavior.