title: Android Button Bar - buttonBarButtonStyle leaves gap between buttons
body: <p>I'm having some trouble with the built in Android button bar styling. After giving a width of 0 and weight of 1 to each of my buttons, there's still about a 1px gap in between the two buttons (see image). </p>
  
  <p>What is the best way to get rid of that gap? Why is it even there to begin with?</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;LinearLayout
      android:id="@+id/button_bar"
      style="?android:attr/buttonBarStyle"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentBottom="true"
      android:layout_alignParentLeft="true"
      android:layout_alignRight="@+id/details_scroll_view"
      android:paddin="0dp" &gt;
  
      &lt;Button
          android:id="@+id/button1"
          style="?android:attr/buttonBarButtonStyle"
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:background="@drawable/button_dark_blue"
          android:text="button1"
          android:textColor="@color/text_color" /&gt;
  
      &lt;Button
          android:id="@+id/button2"
          style="?android:attr/buttonBarButtonStyle"
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:background="@drawable/button_light_blue"
          android:text="button2"
          android:textColor="@color/text_color" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>[button bar][1]
  <a href="http://i.stack.imgur.com/9Kwf4.png" rel="nofollow">http://i.stack.imgur.com/9Kwf4.png</a></p>