getColorStateList

Method to get color state list .i.e., weather it is pressed_state or focuses_state

Parameters

color

just pass the color return ColorStateList