title: How to change header height in NavigationView?
body: <p>How can I change a header view height in the <code>NavigationView</code>? I have next xml:
  <strong>activity_main.xml</strong></p>
  
  <pre><code>&lt;android.support.v4.widget.DrawerLayout
      android:id="@+id/dlDrawerContainer"
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:fitsSystemWindows="true"
      tools:context=".activity.MainActivity"
      xmlns:app="http://schemas.android.com/apk/res-auto"&gt;
  
      &lt;!-- Some data --&gt;
  
      &lt;!-- Drawer --&gt;
      &lt;android.support.design.widget.NavigationView
          android:fitsSystemWindows="true"
          android:id="@+id/nvNavigation"
          android:layout_width="wrap_content"
          android:maxWidth="400dp"
          android:layout_height="match_parent"
          android:layout_gravity="start"
          app:headerLayout="@layout/navigation_header"/&gt;
  
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p><strong>navigation_header.xml</strong></p>
  
  <pre><code>&lt;ImageView xmlns:android="http://schemas.android.com/apk/res/android"
             android:src="@drawable/ic_header"
             android:layout_width="match_parent"
             android:layout_height="match_parent"
             android:maxWidth="400dp"
             android:maxHeight="100dp"
             android:scaleType="matrix"/&gt;
  </code></pre>
  
  <p>But <code>NavigationView</code> ignores all dimension attributes and shows a header with default sizes. How to fix it?</p>