title: RelativeLayout and height percentage. Unable to use layout_below and layout_weight
body: <p>I have a problem with relativelayout where its children could use layout_below and layout_weight to set its percentage height.</p>
  
  <p>For example, we have a relative layout and inside of it we have three linear layouts with textviews. Now, I would like to set for three of them (linearlayouts) 25,50,25 % of height of total height of relative layout. How could I accomplish it?</p>
  
  <p>I found a solution for <a href="https://stackoverflow.com/questions/6428747/android-can-i-use-layout-weight-to-position-relativelayout">weight_sum and and relativelayout (CLICK)</a>, but it doesn't use layout_below.</p>
  
  <p>How can I fix this?</p>
  
  <p>I tried to add additional linearlayout inside of all linearlayouts, but then I am unable use layout_below.</p>
  
  <p>Here is concept picture idea:</p>
  
  <p><img src="https://i.stack.imgur.com/l2V9y.jpg" alt="Enter image description here"></p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;RelativeLayout
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:layout_below="@+id/linlay_leftcol_notification_header" &gt;
  
      &lt;LinearLayout
          android:id="@+id/linlay_leftcol_clock_theday"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content" &gt;
  
      &lt;TextView
          android:id="@+id/tv_theday"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:gravity="center"
          android:text="@string/theday"
          android:textColor="#FFFFFF" /&gt;
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
          android:id="@+id/linlay_leftcol_clock_thetime"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_below="@+id/linlay_leftcol_clock_theday" &gt;
  
          &lt;TextView
              android:id="@+id/tv_thetime"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:gravity="center"
              android:text="@string/thetime"
              android:textColor="#FFFFFF" /&gt;
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
          android:id="@+id/linlay_leftcol_clock_thenumber_themonth_theyear"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_below="@+id/linlay_leftcol_clock_thetime" &gt;
  
          &lt;TextView
              android:id="@+id/tv_thenumberofday_themonth_theyear"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:gravity="center"
              android:text="@string/thenumberofday_themonth_theyear"
              android:textColor="#FFFFFF" /&gt;
      &lt;/LinearLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>