title: How to add footer buttons in NavigationView
body: <p>I'm following the post <a href="http://blog.nitish.io/post/122633295558/android-design-library-navigationview-with-footer" rel="noreferrer">"Android design library NavigationView with footer"</a> to add buttons at the bottom of NavigationView. The problem is that only the last NavigationView appears and it's occuping the entire screen height.</p>
  
  <p><strong>Here is my layout:</strong></p>
  
  <pre><code>&lt;android.support.v4.widget.DrawerLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:id="@+id/drawer_layout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;!-- Activity here --&gt;
  
      &lt;android.support.design.widget.NavigationView
          android:id="@+id/navigation_view"
          android:layout_width="wrap_content"
          android:layout_height="match_parent"
          android:layout_gravity="start"&gt;
  
          &lt;android.support.design.widget.NavigationView
              android:id="@+id/navigation_menu_view"
              android:layout_width="wrap_content"
              android:layout_height="match_parent"
              android:layout_gravity="top"
              app:menu="@menu/menu_drawer"/&gt;
  
          &lt;android.support.design.widget.NavigationView
              android:id="@+id/navigation_footer_view"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="bottom"
              app:menu="@menu/menu_drawer_footer"/&gt;
  
      &lt;/android.support.design.widget.NavigationView&gt;
  
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p><strong>Here is the result:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/8UsC4.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/8UsC4.jpg" alt="enter image description here"></a></p>
  
  <p><strong>How can i fix this?</strong></p>