title: Animating Drawable change in a Button
body: <p>I have a <code>Button</code> that has a <code>BitmapDrawable</code> and a row of text in it. Not that it matter but my drawable is "above" my text which would correspond to the third button from the top.</p>
  
  <p><img src="https://i.stack.imgur.com/QtCuE.png" alt="Examples of using setCompundDrawablesWithIntrisicBounds"></p>
  
  <p><strong>The drawable is set using:</strong></p>
  
  <pre><code>BitmapDrawable top = new BitmapDrawable(mContext.getResources(), Bitmap.createScaledBitmap(buttonContent.content, 
              mContext.IMAGE_WIDTH, mContext.IMAGE_HEIGHT, false));
  
      button.setCompoundDrawablesWithIntrinsicBounds(null, top.getCurrent(), null, null);
  </code></pre>
  
  <p>The image that I set initially changes after some events and <strong>I want the image change to be animated</strong>. I already have the <code>android:animateLayoutChanges=true</code> field in my layout.</p>
  
  <p>My initial guess is to create a custom <code>Button</code>-class. But I'm wondering if there's another way to resolve my issue?</p>