NavigationDrawerItemScale
class NavigationDrawerItemScale
Defines the scale for all TV Indication states of a NavigationDrawerItem
Summary
Public companion properties |
|
|---|---|
NavigationDrawerItemScale |
Signifies the absence of a ScaleIndication in |
Public constructors |
|---|
NavigationDrawerItemScale(create an instance with arbitrary scale. |
Public properties |
|
|---|---|
Float |
the scale used when the |
Float |
the scale used when the |
Float |
the scale used when the |
Float |
the scale used when the |
Float |
the scale used when the |
Float |
the scale used when the |
Float |
the scale used when the |
Float |
the scale used when the |
Public companion properties
None
val None: NavigationDrawerItemScale
Signifies the absence of a ScaleIndication in NavigationDrawerItem
Public constructors
NavigationDrawerItemScale
NavigationDrawerItemScale(
scale: @FloatRange(from = 0.0) Float,
focusedScale: @FloatRange(from = 0.0) Float,
pressedScale: @FloatRange(from = 0.0) Float,
selectedScale: @FloatRange(from = 0.0) Float,
disabledScale: @FloatRange(from = 0.0) Float,
focusedSelectedScale: @FloatRange(from = 0.0) Float,
focusedDisabledScale: @FloatRange(from = 0.0) Float,
pressedSelectedScale: @FloatRange(from = 0.0) Float
)
create an instance with arbitrary scale. See NavigationDrawerItemDefaults.scale for the default scale used in a NavigationDrawerItem
| Parameters | |
|---|---|
scale: @FloatRange(from = 0.0) Float |
the scale used when the |
focusedScale: @FloatRange(from = 0.0) Float |
the scale used when the |
pressedScale: @FloatRange(from = 0.0) Float |
the scale used when the |
selectedScale: @FloatRange(from = 0.0) Float |
the scale used when the |
disabledScale: @FloatRange(from = 0.0) Float |
the scale used when the |
focusedSelectedScale: @FloatRange(from = 0.0) Float |
the scale used when the |
focusedDisabledScale: @FloatRange(from = 0.0) Float |
the scale used when the |
pressedSelectedScale: @FloatRange(from = 0.0) Float |
the scale used when the |
Public functions
Public properties
disabledScale
val disabledScale: Float
the scale used when the NavigationDrawerItem is not enabled
focusedDisabledScale
val focusedDisabledScale: Float
the scale used when the NavigationDrawerItem is not enabled and focused
focusedScale
val focusedScale: Float
the scale used when the NavigationDrawerItem is enabled and focused
focusedSelectedScale
val focusedSelectedScale: Float
the scale used when the NavigationDrawerItem is enabled, focused and selected
pressedScale
val pressedScale: Float
the scale used when the NavigationDrawerItem is enabled and pressed
pressedSelectedScale
val pressedSelectedScale: Float
the scale used when the NavigationDrawerItem is enabled, pressed and selected
selectedScale
val selectedScale: Float
the scale used when the NavigationDrawerItem is enabled and selected