Code example for Drawable

Methods: setColorFilter

0
	 * @see android.graphics.drawable.DrawableContainer#setColorFilter(android.graphics.ColorFilter) 
	 */ 
	@Override 
	public void setColorFilter( ColorFilter cf ) {
		if ( mDrawable != null ) {
			mDrawable.setColorFilter( cf );
		} 
		invalidateSelf();
	} 
 
	/* 
	 * (non-Javadoc) 
	 *  
	 * @see android.graphics.drawable.StateListDrawable#onStateChange(int[]) 
	 */ 
	@Override 
	protected boolean onStateChange( int[] state ) {
 
		boolean pressed = false;
 
		if ( state != null && state.length > 0 ) {