title: How to remove unwanted spaces at the right of CheckBox?
body: <p>I am working on a custom list view. I want to show a <code>CheckBox</code> at the custom view. There is no text for the <code>CheckBox</code>. I found it always have some spaces at the right of the <code>CheckBox</code>.</p>
  <p>Here is my layout xml file:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
  android:layout_width=&quot;fill_parent&quot; android:layout_height=&quot;wrap_content&quot;
  android:orientation=&quot;horizontal&quot; android:background=&quot;#fa9654&quot;
  android:paddingTop=&quot;65dp&quot; android:paddingBottom=&quot;65dp&quot;&gt;
  
  
  
  &lt;TextView android:id=&quot;@+id/bus_route_list_item_num&quot;
      android:layout_height=&quot;wrap_content&quot; android:layout_width=&quot;0dip&quot;
      android:gravity=&quot;center&quot; android:layout_gravity=&quot;center_vertical|center_horizontal&quot;
      android:layout_weight=&quot;0.15&quot;&gt;&lt;/TextView&gt;
  
  &lt;TextView android:id=&quot;@+id/bus_route_list_item_station&quot;
      android:layout_height=&quot;wrap_content&quot; android:layout_width=&quot;0dip&quot;
      android:gravity=&quot;left&quot; android:layout_gravity=&quot;center_vertical|center_horizontal&quot;
      android:layout_weight=&quot;.5&quot;&gt;&lt;/TextView&gt;
  
  
  &lt;TextView android:id=&quot;@+id/bus_route_list_item_fee&quot;
      android:layout_height=&quot;wrap_content&quot; android:layout_width=&quot;0dip&quot;
      android:gravity=&quot;center&quot; android:layout_gravity=&quot;center_vertical|center_horizontal&quot;
      android:layout_weight=&quot;.15&quot;&gt;&lt;/TextView&gt;
  
  
  &lt;CheckBox android:id=&quot;@+id/bus_route_list_item_reminder&quot; android:layout_height=&quot;wrap_content&quot; 
      android:layout_width=&quot;0dip&quot; android:layout_weight=&quot;.20&quot; android:gravity=&quot;center&quot; 
      android:layout_gravity=&quot;center&quot; android:paddingRight=&quot;0dp&quot; android:paddingLeft=&quot;0dp&quot; 
      android:paddingTop=&quot;0dp&quot; android:paddingBottom=&quot;0dp&quot; android:background=&quot;#0066ff&quot; 
      android:text=&quot;&quot;
  /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  <p>The result looks like:</p>
  <p><img src="https://i.stack.imgur.com/RdlPe.jpg" alt="Checkbox result" /></p>
  <p>As you can see there are some space at the right of the checkbox. What I want is put the checkbox at the middle of the blue area.</p>
  <p>Is it possible to remove the unwanted space? thanks</p>