Code example for ColorStateList

0
	    		: this.defaultColor; 
 
	    // it would be great to just return 'color' here, oh yes, but because this method 
	    // returns type Object, the setTextColor(ColorStateList) overload takes precedence 
	    // over setTextColor(int), so we just have to roll with it. 
	    return new ColorStateList( 
	            new int[][] { 
	                    new int[0] 
	                }, new int[] { 
	                    color 
	                } 
	            ); 
	} 
}