Loading...
Searching...
No Matches
com.navigine.view.widgets.WidgetStyles Class Reference

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.
 

Detailed Description

Common styles and constants for navigation widgets.

Definition at line 8 of file WidgetStyles.java.

Member Data Documentation

◆ ACTIVE_BORDER_WIDTH

final float com.navigine.view.widgets.WidgetStyles.ACTIVE_BORDER_WIDTH = 2.0f
static

Border width for active state.

Definition at line 186 of file WidgetStyles.java.

◆ BASE_BLACK

final int com.navigine.view.widgets.WidgetStyles.BASE_BLACK = Color.rgb(21, 45, 71)
static

Base dark color (used for text and borders)

Definition at line 17 of file WidgetStyles.java.

◆ BASE_BLUE

final int com.navigine.view.widgets.WidgetStyles.BASE_BLUE = Color.rgb(48, 170, 217)
static

Base blue color (used for highlighted elements)

Definition at line 22 of file WidgetStyles.java.

◆ BORDER_COLOR

final int com.navigine.view.widgets.WidgetStyles.BORDER_COLOR = Color.argb(255, 209, 209, 209)
static

Border color (for active button state)

Definition at line 42 of file WidgetStyles.java.

◆ BORDER_RADIUS

final float com.navigine.view.widgets.WidgetStyles.BORDER_RADIUS = 4.0f
static

Standard border radius.

Definition at line 100 of file WidgetStyles.java.

◆ BUTTON_BACKGROUND_COLOR

final int com.navigine.view.widgets.WidgetStyles.BUTTON_BACKGROUND_COLOR = Color.argb(204, 250, 250, 250)
static

Button background color (semi-transparent light gray, ~0.8 alpha)

Definition at line 27 of file WidgetStyles.java.

◆ BUTTON_BACKGROUND_COLOR_OPAQUE

final int com.navigine.view.widgets.WidgetStyles.BUTTON_BACKGROUND_COLOR_OPAQUE = Color.argb(243, 250, 250, 250)
static

Button background color (more opaque variant, ~0.95 alpha)

Definition at line 32 of file WidgetStyles.java.

◆ BUTTON_FONT_SIZE

final float com.navigine.view.widgets.WidgetStyles.BUTTON_FONT_SIZE = 22.0f
static

Font size for zoom buttons and Follow Me button.

Definition at line 143 of file WidgetStyles.java.

◆ DIVIDER_COLOR

final int com.navigine.view.widgets.WidgetStyles.DIVIDER_COLOR = Color.argb(40, 0, 0, 0)
static

Divider color (for floor selector)

Definition at line 52 of file WidgetStyles.java.

◆ DIVIDER_HEIGHT

final float com.navigine.view.widgets.WidgetStyles.DIVIDER_HEIGHT = 1.0f
static

Divider height.

Definition at line 177 of file WidgetStyles.java.

◆ FLOOR_ROW_HEIGHT

final float com.navigine.view.widgets.WidgetStyles.FLOOR_ROW_HEIGHT = 42.0f
static

Floor selector row height.

Definition at line 76 of file WidgetStyles.java.

◆ FLOOR_SELECTOR_FONT_SIZE

final float com.navigine.view.widgets.WidgetStyles.FLOOR_SELECTOR_FONT_SIZE = 17.0f
static

Font size for floor selector.

Definition at line 158 of file WidgetStyles.java.

◆ FLOOR_SELECTOR_HORIZONTAL_PADDING

final float com.navigine.view.widgets.WidgetStyles.FLOOR_SELECTOR_HORIZONTAL_PADDING = 4.0f
static

Horizontal padding for floor selector items.

Definition at line 129 of file WidgetStyles.java.

◆ FLOOR_SELECTOR_MAX_HEIGHT

final float com.navigine.view.widgets.WidgetStyles.FLOOR_SELECTOR_MAX_HEIGHT = 250.0f
static

Maximum floor selector height.

Definition at line 81 of file WidgetStyles.java.

◆ FLOOR_SELECTOR_SHADOW_ELEVATION

final float com.navigine.view.widgets.WidgetStyles.FLOOR_SELECTOR_SHADOW_ELEVATION = 2.0f
static

Floor selector shadow elevation.

Definition at line 172 of file WidgetStyles.java.

◆ FLOOR_SELECTOR_TOP_PADDING

final float com.navigine.view.widgets.WidgetStyles.FLOOR_SELECTOR_TOP_PADDING = 145.0f
static

Top padding for floor selector.

Definition at line 119 of file WidgetStyles.java.

◆ FLOOR_SELECTOR_VERTICAL_PADDING

final float com.navigine.view.widgets.WidgetStyles.FLOOR_SELECTOR_VERTICAL_PADDING = 8.0f
static

Vertical padding for floor selector items.

Definition at line 134 of file WidgetStyles.java.

◆ FLOOR_SELECTOR_WIDTH

final float com.navigine.view.widgets.WidgetStyles.FLOOR_SELECTOR_WIDTH = 48.0f
static

Floor selector width.

Definition at line 91 of file WidgetStyles.java.

◆ FOLLOW_ME_ARROW_FONT_SIZE

final float com.navigine.view.widgets.WidgetStyles.FOLLOW_ME_ARROW_FONT_SIZE = 20.0f
static

Font size for Follow Me button arrow.

Definition at line 153 of file WidgetStyles.java.

◆ FOLLOW_ME_BOTTOM_PADDING

final float com.navigine.view.widgets.WidgetStyles.FOLLOW_ME_BOTTOM_PADDING = 48.0f
static

Bottom padding for Follow Me button.

Definition at line 124 of file WidgetStyles.java.

◆ FOLLOW_ME_ROTATION_ANGLE

final float com.navigine.view.widgets.WidgetStyles.FOLLOW_ME_ROTATION_ANGLE = 45.0f
static

Follow Me button rotation angle (in degrees)

Definition at line 200 of file WidgetStyles.java.

◆ MAX_VISIBLE_FLOORS

final int com.navigine.view.widgets.WidgetStyles.MAX_VISIBLE_FLOORS = 6
static

Maximum number of visible floors.

Definition at line 86 of file WidgetStyles.java.

◆ SCROLL_BUTTON_FONT_SIZE

final float com.navigine.view.widgets.WidgetStyles.SCROLL_BUTTON_FONT_SIZE = 18.0f
static

Font size for scroll buttons.

Definition at line 148 of file WidgetStyles.java.

◆ SCROLL_ITEMS_COUNT

final int com.navigine.view.widgets.WidgetStyles.SCROLL_ITEMS_COUNT = 4
static

Number of items to scroll per action.

Definition at line 209 of file WidgetStyles.java.

◆ SHADOW_COLOR

final int com.navigine.view.widgets.WidgetStyles.SHADOW_COLOR = Color.argb(51, 21, 45, 71)
static

Shadow color (~0.2 alpha)

Definition at line 47 of file WidgetStyles.java.

◆ SHADOW_ELEVATION

final float com.navigine.view.widgets.WidgetStyles.SHADOW_ELEVATION = 6.0f
static

Shadow elevation.

Definition at line 167 of file WidgetStyles.java.

◆ STANDARD_ANIMATION_DURATION

final long com.navigine.view.widgets.WidgetStyles.STANDARD_ANIMATION_DURATION = 250L
static

Standard animation duration.

Definition at line 195 of file WidgetStyles.java.

◆ STANDARD_BUTTON_HEIGHT

final float com.navigine.view.widgets.WidgetStyles.STANDARD_BUTTON_HEIGHT = 48.0f
static

Standard button height.

Definition at line 66 of file WidgetStyles.java.

◆ STANDARD_BUTTON_WIDTH

final float com.navigine.view.widgets.WidgetStyles.STANDARD_BUTTON_WIDTH = 48.0f
static

Standard button and widget width.

Definition at line 61 of file WidgetStyles.java.

◆ STANDARD_LEFT_PADDING

final float com.navigine.view.widgets.WidgetStyles.STANDARD_LEFT_PADDING = 16.0f
static

Standard left padding.

Definition at line 114 of file WidgetStyles.java.

◆ STANDARD_RIGHT_PADDING

final float com.navigine.view.widgets.WidgetStyles.STANDARD_RIGHT_PADDING = 4.0f
static

Standard right padding.

Definition at line 109 of file WidgetStyles.java.

◆ WHITE_BACKGROUND_COLOR

final int com.navigine.view.widgets.WidgetStyles.WHITE_BACKGROUND_COLOR = Color.argb(243, 255, 255, 255)
static

White background color (for active state, ~0.95 alpha)

Definition at line 37 of file WidgetStyles.java.

◆ ZOOM_CONTROLS_HEIGHT

final float com.navigine.view.widgets.WidgetStyles.ZOOM_CONTROLS_HEIGHT = 96.0f
static

Zoom controls height.

Definition at line 71 of file WidgetStyles.java.


The documentation for this class was generated from the following file: