Code example for ColorStateList

0
		return 24.0f; 
	} 
 
	@Override 
	public ColorStateList fontColor() { 
		return new ColorStateList(new int[][]{new int[]{android.R.attr.state_enabled}}, new int[]{Color.WHITE}); 
	} 
 
	@Override 
	public int gravity() { 
		return Gravity.CENTER; 
	} 
 
	@Override 
	public Bound bound() { 
		return null; 
	} 
 
	@Override 
	public Padding padding() { 
Connect your IDE to all the code out there  Get Codota for Java