Glow
Class
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
fun copy(glowColor: Color? = null, glowElevation: Dp? = null): Glow
Companion Object
Properties
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.