title: Android HorizontalScrollView content Stretch
body: <p>I have a HorizontalScrollView with some buttons, I am trying to stretch these buttons to fill the whole width of the HorizontalScrollView so that they can appear organized and equally spaced between each others. Here is the Image which I have.
  <img src="https://i.stack.imgur.com/FUSlU.png" alt="HorizontalScrollView content Unstretched"></p>
  
  <p>I want these 4 buttons to be stretched over the whole width! here is my code</p>
  
  <pre><code>    &lt;HorizontalScrollView
      android:id="@+id/items_HorizontalBar"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_alignBottom="@+id/vf"
      android:background="#80000000"
      android:fillViewport="true" &gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="fill_parent"
          android:orientation="horizontal" &gt;
  
          &lt;Button
              android:layout_width="90dp"
              android:layout_height="fill_parent"
              android:layout_margin="5dp"
              android:background="@android:color/transparent"
              android:drawableTop="@drawable/rss"
              android:text="Light"
              android:textColor="@color/green_color"
              android:textSize="20sp" /&gt;
  
          &lt;Button
              android:layout_width="90dp"
              android:layout_height="fill_parent"
              android:layout_margin="5dp"
              android:background="@android:color/transparent"
              android:drawableTop="@drawable/rss"
              android:text="Door"
              android:textColor="@color/green_color"
              android:textSize="20sp" /&gt;
  
          &lt;Button
              android:layout_width="90dp"
              android:layout_height="fill_parent"
              android:layout_margin="5dp"
              android:background="@android:color/transparent"
              android:drawableTop="@drawable/rss"
              android:text="Alarms"
              android:textColor="@color/green_color"
              android:textSize="20sp" /&gt;
  
          &lt;Button
              android:layout_width="90dp"
              android:layout_height="fill_parent"
              android:layout_margin="5dp"
              android:background="@android:color/transparent"
              android:drawableTop="@drawable/rss"
              android:text="Window"
              android:textColor="@color/green_color"
              android:textSize="20sp" /&gt;
      &lt;/LinearLayout&gt;
  &lt;/HorizontalScrollView&gt;
  </code></pre>