Code example for Drawable

Methods: setColorFilter

0
    @Override 
    public void setColorFilter(ColorFilter cf) {
        if (mColorFilter != cf) {
            mColorFilter = cf;
            if (mCurrDrawable != null) {
                mCurrDrawable.setColorFilter(cf);
            } 
        } 
    } 
 
    protected void setConstantState(DrawableContainerState state) {
        mDrawableContainerState = state;
    } 
 
    @Override 
    public void setDither(boolean dither) {
        if (mDrawableContainerState.mDither != dither) {
            mDrawableContainerState.mDither = dither;
            if (mCurrDrawable != null) {
                mCurrDrawable.setDither(mDrawableContainerState.mDither);
Stop searching for code, let great code find you!  Add Codota to your java IDE