title: Linear Layout won't take the height of its parent in percentRelativeLayout
body: <p>I am using Xamarin Android, and I have a list view with row views that have the following content in them:</p>
  
  <p><a href="https://i.stack.imgur.com/zHVH7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zHVH7.png" alt="enter image description here"></a></p>
  
  <p>All of these views are wrapped in a <code>PercentRelativeLayout</code>, because I want to keep the widths proportional. So the issue I'm running into is that since the two layouts on the left are left empty and filled at runtime (there is absolutely no way around this) their height is measured out to 0, which then sets the <code>Rowview</code> height to 0, and that then sets the controls layout off to the right to have a height of 0, which then stretches to the size of the largest control inside of it (ex:)</p>
  
  <p><a href="https://i.stack.imgur.com/caMcj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/caMcj.png" alt="enter image description here"></a></p>
  
  <p>I have tried:</p>
  
  <ul>
  <li><p>Using layout weights and a height of 0 to allow the layout itself to stretch to fill the parent</p></li>
  <li><p>Using layout weights on the controls themselves within the layout</p></li>
  <li><p>Scrapping a layout altogether, and simply wrapping the image buttons in the PercentRelativeLayout, and using layout positions to position them properly</p></li>
  <li><p>Using percentage based layout widths and heights within the children to fill the height (this only seems to work for the width, but not height)</p></li>
  <li><p>Adding dummy views as padding to push the controls layout into position</p></li>
  <li><p>Adding percentage based margins to the layout itself, the children, the padding dummy views, and every combination of those</p></li>
  </ul>
  
  <p>Not one single thing I have tried has had any effect, the only thing that affects the height of the linear layout is simply hard-coding the height.</p>
  
  <p>My question then is how can I tell this layout to occupy the full height of the rowview once everything has been measured? (Please let me know if you have any other questions to help address this, I'm happy to oblige) </p>
  
  <p>EDIT #1: Here is my xml for the rowview:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.percent.PercentRelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:orientation="vertical"
    android:layout_width="400dp"
    android:layout_height="match_parent"
    android:id="@+id/LeadRowHolder"&gt;
  
    &lt;!--Tag Holder--&gt;
    &lt;RelativeLayout
      android:layout_height="wrap_content"
      app:layout_widthPercent="80%"
      android:paddingTop="10dp"
      android:orientation="horizontal"
      android:id="@+id/LeadTagLayout"&gt;
  
    &lt;/RelativeLayout&gt;
  
    &lt;!--Details Holder--&gt;
    &lt;LinearLayout
      android:layout_height="match_parent"
      app:layout_widthPercent="80%"
      android:orientation="horizontal"
      android:id="@+id/LeadDetailsLayout"
      android:layout_below="@id/LeadTagLayout"
      android:paddingTop="20dp"
      android:paddingBottom="20dp"
      android:paddingRight="10dp"
      android:paddingLeft="10dp"&gt;
      &lt;android.webkit.WebView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/leadShortDescription"/&gt;
    &lt;/LinearLayout&gt;
    &lt;!--Controls Holder--&gt;
    &lt;LinearLayout
      android:layout_height="wrap_content"
      app:layout_widthPercent="20%"
      android:orientation="horizontal"
      android:id="@+id/LeadControlsLayout"
      android:layout_toRightOf="@id/LeadTagLayout"
      android:gravity="center_vertical|center_horizontal"&gt;
      &lt;ImageButton
        android:layout_height="50dp"
        android:layout_width="50dp"
        android:id="@+id/MenuCall3x"
        android:background="@drawable/MenuCall3x"/&gt;
      &lt;ImageButton
        android:layout_height="30dp"
        android:layout_width="20dp"
        android:id="@+id/MenuFwd3x"
        android:background="@drawable/MenuFwd3x"/&gt;
    &lt;/LinearLayout&gt;
  &lt;/android.support.percent.PercentRelativeLayout&gt;
  </code></pre>