This is a button selector such that when normal it appears red, when pressed it appears grey.
I would like to ask how could the code be further directly modified suc
Best way to implement the selector is by using the xml instead of using programatic way as its more easy to implemnt with xml.
For more information i implemented using this link http://www.blazin.in/2016/03/how-to-use-selectors-for-botton.html