title: LinearLayout inside a ToolBar is not matching parent
body: <p>I put a LinearLayout1 in the ToolBar.Then another 5 LinearLayouts in the LinearLayout1. Each child LinearLayout has an ImageView. Here my problem is that the LinearLayout1 is not matching parent width.That I have showed in the image(in red circle). The black color is the background that I have given to the ToolBar.</p>
  
  <pre><code>&lt;android.support.v7.widget.Toolbar
      android:id="@+id/featured_bottomToolbar"
      android:layout_width="match_parent"
      android:layout_height="50dp"
      android:layout_gravity="bottom"
      android:background="#000000"
      android:layout_alignParentBottom="true"&gt;
  
  
      &lt;LinearLayout
          android:orientation="horizontal"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;LinearLayout
              android:orientation="horizontal"
              android:layout_width="0dp"
              android:layout_weight="2"
              android:layout_height="match_parent"&gt;
  
              &lt;ImageView
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:src="@drawable/menu_black_featured"
                  android:id="@+id/imageView" /&gt;
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:orientation="horizontal"
              android:layout_width="0dp"
              android:layout_weight="2"
              android:layout_height="match_parent"&gt;
  
              &lt;ImageView
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:src="@drawable/menu_grey_justin2"
                  android:id="@+id/imageView2" /&gt;
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:orientation="horizontal"
              android:layout_width="0dp"
              android:layout_weight="2"
              android:layout_height="match_parent"&gt;
  
              &lt;ImageView
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:src="@drawable/menu_grey_designers"
                  android:id="@+id/imageView3" /&gt;
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:orientation="horizontal"
              android:layout_width="0dp"
              android:layout_weight="2"
              android:layout_height="match_parent"&gt;
  
              &lt;ImageView
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:src="@drawable/menu_grey_categories"
                  android:id="@+id/imageView4" /&gt;
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:orientation="horizontal"
              android:layout_width="0dp"
              android:layout_weight="2"
              android:layout_height="match_parent"&gt;
  
              &lt;ImageView
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:src="@drawable/meny_grey_more2"
                  android:id="@+id/imageView5" /&gt;
          &lt;/LinearLayout&gt;
  
      &lt;/LinearLayout&gt;
  &lt;/android.support.v7.widget.Toolbar&gt;
  </code></pre>
  
  <p>The output I have got.</p>
  
  <p><a href="https://i.stack.imgur.com/dsWYd.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dsWYd.png" alt="enter image description here"></a></p>