How to get the current text color of a button?
===

I want to check in a button click event if the current text color of that button is red or not?

I have done this so far:

    ColorStateList mList = gridcell.getTextColors();
    			
    			int col=mList.getDefaultColor();
    			
    			
    			switch(col)
    			{
    			case Color.RED:
    				Toast.makeText(getApplicationContext(), "RED",
    						Toast.LENGTH_SHORT).show();
    			break;
    			 
    			}

But when I click on the button which's text color is red it doest toast any thing, The defaut color is white and its getting white in all te buttons. What can I do now?