public final class **StyleValues** extends Object  
<br />

> [!WARNING]
> [Experimental](https://developers.google.com/maps/launch-stages#experimental) feature

Provides style values that can be used to visually match or align with Navigation SDK UI
elements.

### Public Method Summary

|---|---|
| static int | [buttonHorizontalPaddingDp](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/layoutcustomization/StyleValues#buttonHorizontalPaddingDp())() Returns the visual space between a button and the start or end edge of the map. |
| static int | [buttonVerticalPaddingDp](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/layoutcustomization/StyleValues#buttonVerticalPaddingDp())() Returns the visual space between a button and the top or bottom edge of the map. |
| static int | [defaultCornerRadiusDp](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/layoutcustomization/StyleValues#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](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/layoutcustomization/StyleValues#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](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/layoutcustomization/StyleValues#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](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/layoutcustomization/StyleValues#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](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/layoutcustomization/StyleValues#headerTopPaddingDp())() Returns the visual space between the turn card and top edge of the entire UI element. |

### Inherited Method Summary

From class java.lang.Object

|---|---|
| boolean | equals(Object arg0) |
| final Class\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| String | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

## 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.