title: How to resize image of checkbox in android?
body: <p>I am adding image for a CheckBox widget (that is instead of the default one for both clicked and unclicked ones in .xml file using selector) it's getting added, but the image can't be resized into a smaller one and remains in its original size.</p>
  
  <p><strong>How could I decrease the image size?</strong></p>
  
  <p>The code I used to create the CheckBox is </p>
  
  <pre><code>    &lt;CheckBox
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:background="@color/white"
              android:button="@drawable/check_box"
              android:drawablePadding="20dp"
              android:text="check box text"
              android:textColor="@color/labelColor" /&gt;
  </code></pre>