title: match_parent doesn't work with CoordinatorLayout
body: <p>I use the Android Design Support Library (<code>com.android.support:appcompat-v7:22.2.0</code>) and I have a <code>LinearLayout</code> in <code>CoordinatorLayout</code> like this:</p>
  
  <p></p>
  
  <pre><code>&lt;android.support.design.widget.CoordinatorLayout
      android:id="@+id/rootLayout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;android.support.design.widget.AppBarLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
  
          &lt;android.support.v7.widget.Toolbar
              android:id="@+id/toolbar"
              android:layout_width="match_parent"
              android:layout_height="?attr/actionBarSize"
              android:background="?attr/colorPrimary"
              app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
              app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"&gt;
          &lt;/android.support.v7.widget.Toolbar&gt;
      &lt;/android.support.design.widget.AppBarLayout&gt;
  
      &lt;!-- Content --&gt;
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:orientation="vertical"
          android:background="#44ff44"
          app:layout_behavior="@string/appbar_scrolling_view_behavior"&gt;
          &lt;Button
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="Yo Yo"
              /&gt;
          &lt;Button
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="Yo Yo"
              /&gt;
  
      &lt;/LinearLayout&gt;
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt; 
  
  &lt;android.support.design.widget.NavigationView
      android:id="@+id/navigation"
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      android:layout_gravity="start"
      app:headerLayout="@layout/nav_header"
      app:itemIconTint="@color/nav_item_icon_tint_color"
      app:itemTextColor="@color/nav_item_text_color"
      app:menu="@menu/navigation_drawer_items" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>In the code I have changed the background colour and I expect the BG should fill all on the display (because I use match_parent in layout_width and layout_height) but I got the BG colour like this:</p>
  
  <p><img src="https://i.stack.imgur.com/ZwZKD.png" alt="enter image description here"></p>
  
  <p>Look like it shows with <code>wrap_content</code> more than use <code>match_parent</code>.
  I try to use <code>layout_weight</code> in LinearLayout and <code>layout_centerInParent</code> and it doesn't work also. </p>
  
  <p>What I did wrong?. Or is it an API bug?</p>
  
  <p><strong>Update</strong>:**</p>
  
  <p>To fulfil the background I can use <code>android:layout_gravity="fill_vertical"</code> (Suggest by @Abdullah). But another my point for this question is I want the <code>match_parent</code>, <code>layout_weight</code> in LinearLayout or <code>layout_centerInParent</code> and other relative values in RelativeLayout to work properly under the <code>CoordinatorLayout</code>. Right now when I add fragment to the LinearLayout, the layout alignment (in fragment layout) is not same as my expectation. Everything that using ratio or relative value does not work.</p>
  
  <p>Thank you</p>