Provides style values that can be used to visually match or align with Navigation SDK UI elements.
Public Method Summary
| static int |
buttonHorizontalPaddingDp()
Returns the visual space between a button and the start or end edge of the map.
|
| static int |
buttonVerticalPaddingDp()
Returns the visual space between a button and the top or bottom edge of the map.
|
| static int |
defaultCornerRadiusDp()
Returns the default corner radius (in dp) for UI elements such as the header (turn card),
footer (ETA card), and prompts.
|
| static int |
elementHorizontalPaddingDp()
Returns the visual space between the UI control and the start or end edge of the entire UI
element for non-button elements (such as the speed widget).
|
| static int |
headerFooterHorizontalPaddingDp()
Returns the visual space between the turn card or ETA card and the start or end edge of the
entire UI element.
|
| static int |
headerNominalHeightDp()
Returns a fixed height representing an estimated height of the turn card, whose actual height
varies according to current and upcoming maneuvers.
|
| static int |
headerTopPaddingDp()
Returns the visual space between the turn card and top edge of the entire UI element.
|
Inherited Method Summary
Public Methods
public static int buttonHorizontalPaddingDp ()
Returns the visual space between a button and the start or end edge of the map. This includes any internal shadow padding for the button.
public static int buttonVerticalPaddingDp ()
Returns the visual space between a button and the top or bottom edge of the map. This includes any internal shadow padding for the button.
public static int defaultCornerRadiusDp ()
Returns the default corner radius (in dp) for UI elements such as the header (turn card), footer (ETA card), and prompts.
public static int elementHorizontalPaddingDp ()
Returns the visual space between the UI control and the start or end edge of the entire UI element for non-button elements (such as the speed widget).
public static int headerFooterHorizontalPaddingDp ()
Returns the visual space between the turn card or ETA card and the start or end edge of the entire UI element.
public static int headerNominalHeightDp ()
Returns a fixed height representing an estimated height of the turn card, whose actual height varies according to current and upcoming maneuvers. This value can be used to constrain or position UI elements where a stable position results in a better user experience versus constraining directly to the bottom of the turn card, like the viewport.
public static int headerTopPaddingDp ()
Returns the visual space between the turn card and top edge of the entire UI element.