title: implement android:button="@drawable/checkbox" programmatically
body: <p>I am trying to create custom Check Box  button image. After some research, I came across this code sample:</p>
  
  <pre><code>&lt;CheckBox android:id="@+id/chkFav" android:layout_width="wrap_content"
          android:layout_marginRight="0dp" android:button="@drawable/checkbox"
                android:layout_height="wrap_content" android:clickable="true"/&gt;
  </code></pre>
  
  <p>My query is how to actually implement android:button in code. </p>