title: Make android layout child wider than parent?
body: <p>My code is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.v7.widget.CardView
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_marginLeft="30dp"
      android:layout_marginRight="30dp"&gt;
  
      &lt;View
          android:layout_width="match_parent"
          android:layout_height="200dp"
          android:layout_gravity="center"
          android:background="#00ff00"/&gt;
  &lt;/android.support.v7.widget.CardView&gt;
  </code></pre>
  
  <p>My output is 
  <a href="https://i.stack.imgur.com/pXUIJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pXUIJ.png" alt="enter image description here"></a>
  I want to green view to match the whole screen parent width.
  Is this possible?
  I want to use the card view as a parent, because it will have elevation.</p>