title: Borderless button in linearlayout with layout_weight in Android
body: <p>this is the layout code  </p>
  
  <pre><code> &lt;LinearLayout
      android:id="@+id/mapOptions"
      android:layout_width="match_parent"
      android:layout_height="40dp"
      android:layout_alignParentBottom="true"
      android:background="@color/white" &gt;
  
      &lt;View
          android:id="@+id/mapOptionMenuShade"
          android:layout_width="match_parent"
          android:layout_height="1dip"
          android:layout_marginLeft="4dip"
          android:layout_marginRight="4dip"
          android:background="?android:attr/dividerVertical" /&gt;
  
      &lt;Button
          android:id="@+id/BtnMap"
          android:layout_width="fill_parent"
          android:layout_height="match_parent"
          android:layout_weight="1"
          android:background="?android:attr/selectableItemBackground"
          android:text="@string/map" /&gt;
  
      &lt;View
          android:id="@+id/Shade2"
          android:layout_width="1dip"
          android:layout_height="wrap_content"
          android:layout_marginBottom="4dip"
          android:layout_marginTop="4dip"
          android:background="?android:attr/dividerVertical" /&gt;
  
      &lt;Button
          android:id="@+id/BtnSatellite"
          android:layout_width="fill_parent"
          android:layout_height="match_parent"
          android:layout_weight="1"
          android:background="?android:attr/selectableItemBackground"
          android:text="@string/satellite" /&gt;
  
      &lt;View
          android:id="@+id/Shade3"
          android:layout_width="1dip"
          android:layout_height="wrap_content"
          android:layout_marginBottom="4dip"
          android:layout_marginTop="4dip"
          android:background="?android:attr/dividerVertical" /&gt;
  
      &lt;Button
          android:id="@+id/BtnHybrid"
          android:layout_width="0dp"
          android:layout_height="match_parent"
          android:layout_weight="1"
          android:background="?android:attr/selectableItemBackground"
          android:text="@string/hybrid" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>But with those "View" i can't get to show my buttons.</p>
  
  <p><a href="http://developer.android.com/design/building-blocks/buttons.html" rel="nofollow">Link</a> for the google's example for borderland buttons. This is why i implimented thos views. </p>
  
  <p>Here i want to <strong>show 3 borderless buttons that fills the whole linear layout</strong>. </p>
  
  <hr>
  
  <p>|-1--|-2--|-3--|
  |----|----|----|</p>
  
  <p>Thank you</p>