getSelector

Returns a color state list associated with a theme based on a Context.

Return

A ColorStateList object containing the primary color of a theme

Parameters

color

The color used for tinting.