title: Unable to add navigation menu with constraint layout (Android Studio)
body: <p>I'm fairly new to XML and constraint layout. I am having a problem with implementing navigation menu with constraint layout. I have successfully implemented the menu with a new project with drawer layout, but unable with my current constraint layout project. </p>
  
  <p>The issue is the layout_height is resetting to <code>0 dp</code> after changing it to match parent.</p>
  
  <p>The xml code is as follows:</p>
  
  <pre><code>&lt;android.support.design.widget.NavigationView
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      app:menu="@menu/nav_menu"
      android:layout_gravity="start"
      &gt;
  &lt;/android.support.design.widget.NavigationView&gt;
  </code></pre>
  
  <p>nav_menu simply has items, like so:</p>
  
  <pre><code>&lt;item android:id="@+id/Credit"
      android:title="Credit"&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p>I position the <strong>Buttons/TextEdit/TextView</strong> through <strong>infer constraints.</strong></p>
  
  <p>I would like to position the menu to lay above the main activity view; when swiped from left to right, the menu will slide and open.</p>