ShadowUtil

object ShadowUtil

Provides a tool to set a number of properties in the view's renderer to make sure shadows are rendered properly.

Android uses a light source to cast and render shadows of views. To avoid shadows from being further away from the view when the view is further from the light source at the center of the screen, the light source must be configured right.

Functions

Link copied to clipboard

Sets a number of properties in the view's renderer to make sure shadows are rendered properly.