I need to change text color when state change(pressed, focus)...
How to set the text color of a TextView using ColorsStateList?
TextView
ColorsStateList
you can also use ContextCompat to load a color state list
ColorStateList colors = ContextCompat.getColorStateList(this,R.color.my_color_list);