title: Getting rid of space between Buttons in Linear Layout
body: <p>I am unable to reduce spacing between my 2 buttons in linear layout .
  I tried many combinations , but not successful.</p>
  
  <p>Here is my XML snippet :</p>
  
  <pre><code>&lt;LinearLayout
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:orientation="vertical"
      android:layout_centerHorizontal="true"
      android:layout_alignParentBottom="true"
      android:layout_marginBottom="100dp"
      android:id="@+id/linSocial"&gt;
      &lt;Button
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:background="@drawable/facebook"
          android:id="@+id/btFacebook"
          android:visibility="gone" /&gt;
      &lt;Button
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:background="@drawable/gmaillogo"
          android:id="@+id/btGmail"
          android:layout_marginTop="1dp"
          android:visibility="gone"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>