title: The constructor BitmapDrawable() is deprecated fix
body: <p>I have a class that extends BitmapDrawable that looks like this:</p>
  
  <pre><code>public class MyDrawable extends BitmapDrawable {
      protected Drawable drawable;
  
      @Override
      public void draw(Canvas canvas) {
          if(drawable != null) {
              drawable.draw(canvas);
          }
      }
      // some other methods...
  }
  </code></pre>
  
  <p>and Eclipse warns me that constructor BitmapDrawable() is deprecated. Everything is working just fine but I would like to fix my class so I don't get this message.</p>
  
  <p>Any help is appreciated.</p>