Code example for BitmapDrawable

Methods: setAlpha

0
        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) {
        mDrawable.setBounds(left, top, right, bottom);
    } 
     
    @Override 
    public int getIntrinsicHeight() { 
        return mDrawable.getIntrinsicHeight();