title: Android Toolbar: children not matching parent height
body: <p>I'm trying to create something like the date selector from the new Google Calendar app. The first part of that is to create a button in the <code>Toolbar</code> that fills the parent height and spans the available width. I tried to do that with the following layout:</p>
  
  <pre><code>&lt;android.support.v7.widget.Toolbar
      android:id="@+id/toolbar"
      style="@style/DefaultToolbarStyle"&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:clickable="true"
          android:focusable="true"
          android:background="?android:attr/selectableItemBackground"
          android:layout_gravity="center_horizontal"&gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="match_parent"
              android:text="2014 Events"
              android:textAppearance="@style/TextAppearance.Widget.AppCompat.Toolbar.Title" /&gt;
      &lt;/LinearLayout&gt;
  
  &lt;/android.support.v7.widget.Toolbar&gt;
  </code></pre>
  
  <p>Normally, telling a child view (in this case the <code>LinearLayout</code>) to match the parent height would make it do just that. However, the <code>LinearLayout</code> only expands vertically just enough to fit its child <code>TextView</code>.</p>
  
  <p>How can I make children of a <code>Toolbar</code> match the <code>Toolbar</code>'s height?</p>