Code example for ColorStateList

0
		return 12.0f; 
	} 
 
	@Override 
	public ColorStateList fontColor() { 
		return new ColorStateList(new int[][]{new int[]{-android.R.attr.state_enabled}, 
					new int[]{android.R.attr.state_pressed}, new int[]{android.R.attr.state_enabled}},  
					new int[]{Color.WHITE, Color.WHITE, Color.WHITE}); 
	} 
 
	@Override 
	public int gravity() { 
		return Gravity.CENTER; 
	} 
 
	@Override 
	public Bound bound() { 
		return null; 
	} 
 
	@Override