ButtonScale
Class
Android
class ButtonScale
internal constructor(
@FloatRange(from = 0.0) internal val scale: Float,
@FloatRange(from = 0.0) internal val focusedScale: Float,
@FloatRange(from = 0.0) internal val pressedScale: Float,
@FloatRange(from = 0.0) internal val disabledScale: Float,
@FloatRange(from = 0.0) internal val focusedDisabledScale: Float
)
Defines the scale for all TV Interaction
states of Button.
Companion Object
Properties
Android
val None =
ButtonScale(
scale = 1f,
focusedScale = 1f,
pressedScale = 1f,
disabledScale = 1f,
focusedDisabledScale = 1f
)
Signifies the absence of a ScaleIndication
in Button component.