Code example for BitmapDrawable

Methods: getIntrinsicHeight

0
  @Override public int getIntrinsicWidth() { 
    return image.getIntrinsicWidth();
  } 
 
  @Override public int getIntrinsicHeight() { 
    return image.getIntrinsicHeight();
  } 
 
  @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);
Contextual code suggestions in your IDE  Get Codota for Java