title: Different look of checkbox on device and emulator
body: <p>I have list view with checkboxes. Problem is in different showing checkboxes on device and on emulator.</p>
  
  <p>Here is how it looks in emulator:</p>
  
  <p><img src="https://i.stack.imgur.com/HHrtl.png" alt="enter image description here"></p>
  
  <p>and how it looks on device:</p>
  
  <p><img src="https://i.stack.imgur.com/NUxHR.png" alt="enter image description here"></p>
  
  <p>You can see that on device checkbox have cutted right edge.</p>
  
  <p>This is @drawable/custom_checkbox_design.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
       &lt;item android:state_checked="true" android:drawable="@drawable/checked" /&gt;
       &lt;item android:state_checked="false" android:drawable="@drawable/unchecked" /&gt;
  
  &lt;/selector&gt;
  </code></pre>
  
  <p>and layout for rows:</p>
  
  <pre><code>    &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/linearLayout1"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="horizontal" &gt;
  
      &lt;CheckBox
          android:id="@+id/ColChk"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginRight="40dp"
          android:button="@drawable/custom_checkbox_design"
          android:layout_gravity="center_vertical|center_horizontal" /&gt;
  
            &lt;TextView
              android:id="@+id/ColOpis"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:minLines="1"
              android:scrollHorizontally="false"
              android:text="Opis"
              android:textSize="20sp" /&gt;
  
          &lt;TextView
              android:id="@+id/ColCode"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:gravity="center"
              android:text="Code"
              android:visibility="invisible" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>What I'm doing wrong? Why on emulator is showed correctly?</p>