Common styles and constants for navigation widgets. More...
Static Public Attributes | |
| static final int | BASE_BLACK = Color.rgb(21, 45, 71) |
| Base dark color (used for text and borders) | |
| static final int | BASE_BLUE = Color.rgb(48, 170, 217) |
| Base blue color (used for highlighted elements) | |
| static final int | BUTTON_BACKGROUND_COLOR = Color.argb(204, 250, 250, 250) |
| Button background color (semi-transparent light gray, ~0.8 alpha) | |
| static final int | BUTTON_BACKGROUND_COLOR_OPAQUE = Color.argb(243, 250, 250, 250) |
| Button background color (more opaque variant, ~0.95 alpha) | |
| static final int | WHITE_BACKGROUND_COLOR = Color.argb(243, 255, 255, 255) |
| White background color (for active state, ~0.95 alpha) | |
| static final int | BORDER_COLOR = Color.argb(255, 209, 209, 209) |
| Border color (for active button state) | |
| static final int | SHADOW_COLOR = Color.argb(51, 21, 45, 71) |
| Shadow color (~0.2 alpha) | |
| static final int | DIVIDER_COLOR = Color.argb(40, 0, 0, 0) |
| Divider color (for floor selector) | |
| static final float | STANDARD_BUTTON_WIDTH = 48.0f |
| Standard button and widget width. | |
| static final float | STANDARD_BUTTON_HEIGHT = 48.0f |
| Standard button height. | |
| static final float | ZOOM_CONTROLS_HEIGHT = 96.0f |
| Zoom controls height. | |
| static final float | FLOOR_ROW_HEIGHT = 42.0f |
| Floor selector row height. | |
| static final float | FLOOR_SELECTOR_MAX_HEIGHT = 250.0f |
| Maximum floor selector height. | |
| static final int | MAX_VISIBLE_FLOORS = 6 |
| Maximum number of visible floors. | |
| static final float | FLOOR_SELECTOR_WIDTH = 48.0f |
| Floor selector width. | |
| static final float | BORDER_RADIUS = 4.0f |
| Standard border radius. | |
| static final float | STANDARD_RIGHT_PADDING = 4.0f |
| Standard right padding. | |
| static final float | STANDARD_LEFT_PADDING = 16.0f |
| Standard left padding. | |
| static final float | FLOOR_SELECTOR_TOP_PADDING = 145.0f |
| Top padding for floor selector. | |
| static final float | FOLLOW_ME_BOTTOM_PADDING = 48.0f |
| Bottom padding for Follow Me button. | |
| static final float | FLOOR_SELECTOR_HORIZONTAL_PADDING = 4.0f |
| Horizontal padding for floor selector items. | |
| static final float | FLOOR_SELECTOR_VERTICAL_PADDING = 8.0f |
| Vertical padding for floor selector items. | |
| static final float | BUTTON_FONT_SIZE = 22.0f |
| Font size for zoom buttons and Follow Me button. | |
| static final float | SCROLL_BUTTON_FONT_SIZE = 18.0f |
| Font size for scroll buttons. | |
| static final float | FOLLOW_ME_ARROW_FONT_SIZE = 20.0f |
| Font size for Follow Me button arrow. | |
| static final float | FLOOR_SELECTOR_FONT_SIZE = 17.0f |
| Font size for floor selector. | |
| static final float | SHADOW_ELEVATION = 6.0f |
| Shadow elevation. | |
| static final float | FLOOR_SELECTOR_SHADOW_ELEVATION = 2.0f |
| Floor selector shadow elevation. | |
| static final float | DIVIDER_HEIGHT = 1.0f |
| Divider height. | |
| static final float | ACTIVE_BORDER_WIDTH = 2.0f |
| Border width for active state. | |
| static final long | STANDARD_ANIMATION_DURATION = 250L |
| Standard animation duration. | |
| static final float | FOLLOW_ME_ROTATION_ANGLE = 45.0f |
| Follow Me button rotation angle (in degrees) | |
| static final int | SCROLL_ITEMS_COUNT = 4 |
| Number of items to scroll per action. | |
Common styles and constants for navigation widgets.
Definition at line 8 of file WidgetStyles.java.
|
static |
Border width for active state.
Definition at line 186 of file WidgetStyles.java.
|
static |
Base dark color (used for text and borders)
Definition at line 17 of file WidgetStyles.java.
|
static |
Base blue color (used for highlighted elements)
Definition at line 22 of file WidgetStyles.java.
|
static |
Border color (for active button state)
Definition at line 42 of file WidgetStyles.java.
|
static |
Standard border radius.
Definition at line 100 of file WidgetStyles.java.
|
static |
Button background color (semi-transparent light gray, ~0.8 alpha)
Definition at line 27 of file WidgetStyles.java.
|
static |
Button background color (more opaque variant, ~0.95 alpha)
Definition at line 32 of file WidgetStyles.java.
|
static |
Font size for zoom buttons and Follow Me button.
Definition at line 143 of file WidgetStyles.java.
|
static |
Divider color (for floor selector)
Definition at line 52 of file WidgetStyles.java.
|
static |
Divider height.
Definition at line 177 of file WidgetStyles.java.
|
static |
Floor selector row height.
Definition at line 76 of file WidgetStyles.java.
|
static |
Font size for floor selector.
Definition at line 158 of file WidgetStyles.java.
|
static |
Horizontal padding for floor selector items.
Definition at line 129 of file WidgetStyles.java.
|
static |
Maximum floor selector height.
Definition at line 81 of file WidgetStyles.java.
|
static |
Floor selector shadow elevation.
Definition at line 172 of file WidgetStyles.java.
|
static |
Top padding for floor selector.
Definition at line 119 of file WidgetStyles.java.
|
static |
Vertical padding for floor selector items.
Definition at line 134 of file WidgetStyles.java.
|
static |
Floor selector width.
Definition at line 91 of file WidgetStyles.java.
|
static |
Font size for Follow Me button arrow.
Definition at line 153 of file WidgetStyles.java.
|
static |
Bottom padding for Follow Me button.
Definition at line 124 of file WidgetStyles.java.
|
static |
Follow Me button rotation angle (in degrees)
Definition at line 200 of file WidgetStyles.java.
|
static |
Maximum number of visible floors.
Definition at line 86 of file WidgetStyles.java.
|
static |
Font size for scroll buttons.
Definition at line 148 of file WidgetStyles.java.
|
static |
Number of items to scroll per action.
Definition at line 209 of file WidgetStyles.java.
|
static |
Shadow color (~0.2 alpha)
Definition at line 47 of file WidgetStyles.java.
|
static |
Shadow elevation.
Definition at line 167 of file WidgetStyles.java.
|
static |
Standard animation duration.
Definition at line 195 of file WidgetStyles.java.
|
static |
Standard button height.
Definition at line 66 of file WidgetStyles.java.
|
static |
Standard button and widget width.
Definition at line 61 of file WidgetStyles.java.
|
static |
Standard left padding.
Definition at line 114 of file WidgetStyles.java.
|
static |
Standard right padding.
Definition at line 109 of file WidgetStyles.java.
|
static |
White background color (for active state, ~0.95 alpha)
Definition at line 37 of file WidgetStyles.java.
|
static |
Zoom controls height.
Definition at line 71 of file WidgetStyles.java.