Code example for BitmapDrawable

Methods: setAlpha

0
 
  @Override public void setAlpha(int alpha) {
    if (placeholder != null) {
      placeholder.setAlpha(alpha);
    } 
    image.setAlpha(alpha);
  } 
 
  @Override public void setColorFilter(ColorFilter cf) {
    if (placeholder != null) {
      placeholder.setColorFilter(cf);
    } 
    image.setColorFilter(cf);
  } 
 
  @Override public int getOpacity() { 
    return image.getOpacity();
  } 
 
  @Override protected void onBoundsChange(Rect bounds) {
Connect your IDE to all the code out there  Get Codota for Java