title: Android: how to make it no space between 2 button in a horizontal linearlayout
body: <p>I just found I cannot remove the space between 2 buttons even if I set the <code>layout_marginRight</code> and <code>layout_marginLeft</code> as below. But it make sense if I set the space larger such as 10 dp. 
  Any way to solve it?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:orientation="horizontal" android:padding="0dp"
      android:layout_height="wrap_content" android:gravity="fill_horizontal" android:layout_margin="0dp"&gt;
      &lt;Button android:id="@+id/LocationTitleButton"
                      android:layout_width="wrap_content" 
                      android:layout_height="wrap_content"
                      android:layout_marginRight="0dp"
                      android:layout_gravity="center_vertical" 
                      android:layout_weight="1"
                      android:ellipsize="end" 
                      android:gravity="center_vertical"
                      android:scrollHorizontally="true" 
                      android:singleLine="true"
                      android:text="Add location" 
                      android:textStyle="bold" /&gt;
                  &lt;Button android:textColor="#FF000000" 
                      android:layout_weight="0" 
                      android:id="@+id/AddLocationButton" 
                      android:text="Search" 
                      android:gravity="center_vertical"
                      android:layout_gravity="center_vertical" 
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content" 
                      android:layout_marginLeft="0dp" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>