Added possibility to set drawables programmatically
public void setFlippedDrawable(Drawable flippedDrawable){ | |
mFlippedDrawable = flippedDrawable; | |
if(mIsFlipped) setImageDrawable(mFlippedDrawable); | |
} | |
public void setDrawable(Drawable drawable){ | |
mDrawable = drawable; | |
if(!mIsFlipped) setImageDrawable(mDrawable); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment