Code example for BitmapDrawable

Methods: getOpacity

0
        mDrawable.draw(canvas);
    } 
 
    @Override 
    public int getOpacity() { 
        return mDrawable.getOpacity();
    } 
 
    @Override 
    public void setAlpha(int alpha) {
        mDrawable.setAlpha(alpha);
    } 
 
    @Override 
    public void setColorFilter(ColorFilter cf) {
        mDrawable.setColorFilter(cf);
    } 
 
    @Override 
    public void setBounds(int left, int top, int right, int bottom) {
Connect your IDE to all the code out there  Get Codota for Java