Source set: Android
class Glow(val elevationColor: Color, val elevation: Dp)
Defines the shadow for a TV component.
Parameters
| elevationColor | Color to be applied on the shadow |
| elevation | defines how strong should be the shadow. Larger its value, further the shadow goes from the center of the component. |
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
copy
Source set: Android
fun copy(glowColor: Color? = null, glowElevation: Dp? = null): Glow
Members
Companion
Source set: Android
companion object
Properties
None
Source set: Android
val None = Glow(elevationColor = Color.Transparent, elevation = 0.dp)
Signifies the absence of a glow in TV Components. Use this if you do not want to display a glow indication in any of the Leanback TV Components.