title: How can I use setStateListAnimator programmatically to my checkbox?
body: <p>I have a checkbox to which I want to set animation e.g. When user hit like checkbox it display animation. If I set it using xml it runs anim on the initial display, But I want the animation to run only when user check the check box. It is possible only if I set it programmatically. </p>
  
  <p>What I have tried yet:- </p>
  
  <pre><code> &lt;CheckBox
          android:id="@+id/_like_heart"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_margin="4dp"
          android:background="@mipmap/ic_user_heart"
          android:button="@null"
          android:checked="false"
          android:stateListAnimator="@animator/enlarge" /&gt;
  </code></pre>
  
  <p>Is there any alternative that can support lower versions of android as well.</p>