Builder
class Builder
Builder of TripProgressViewOptions
Functions
Link copied to clipboard
Allows you to style the background color for MapboxTripProgressView.
Link copied to clipboard
Build a new instance of TripProgressViewOptions
Link copied to clipboard
Allows you to define the icon for distance remaining.
Link copied to clipboard
fun distanceRemainingIconTint(distanceRemainingIconTint: ColorStateList?): TripProgressViewOptions.Builder
Allows you to style the icon tint for distance remaining.
Link copied to clipboard
fun distanceRemainingTextAppearance(@StyleRes distanceRemainingTextAppearance: Int): TripProgressViewOptions.Builder
Allows you to style DistanceRemainingView.
Link copied to clipboard
fun estimatedArrivalTimeIcon(@DrawableRes estimatedArrivalTimeIcon: Int): TripProgressViewOptions.Builder
Allows you to define the icon for estimated arrival time.
Link copied to clipboard
fun estimatedArrivalTimeIconTint(estimatedArrivalTimeIconTint: ColorStateList?): TripProgressViewOptions.Builder
Allows you to style the icon tint for estimated arrival time.
Link copied to clipboard
fun estimatedArrivalTimeTextAppearance(@StyleRes estimatedArrivalTimeTextAppearance: Int): TripProgressViewOptions.Builder
Allows you to style EstimatedArrivalTimeView.
Link copied to clipboard
fun timeRemainingTextAppearance(@StyleRes timeRemainingTextAppearance: Int): TripProgressViewOptions.Builder
Allows you to style TimeRemainingView.