Code example for ColorStateList

0
		return 18.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 new Bound(80, 30, 1, 80, 30, true); 
	} 
 
	@Override