🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

ClickableSurfaceScale

Defines the scale for all TV indication states of Surface.

Source set: Android
class ClickableSurfaceScale 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 indication states of Surface. Note: This scale must be a non-negative float.

Functions

equals

Source set: Android
override fun equals(other: Any?): Boolean

hashCode

Source set: Android
override fun hashCode(): Int

toString

Source set: Android
override fun toString(): String

Members

Companion

Source set: Android
companion object

Properties

None

Source set: Android
val None =
            ClickableSurfaceScale(
                scale = 1f,
                focusedScale = 1f,
                pressedScale = 1f,
                disabledScale = 1f,
                focusedDisabledScale = 1f,
            )

Signifies the absence of a scale in TV Components. Use this if you do not want to display a ScaleIndication in any of the Leanback TV Components.