title: make a frame inside a linear layout
body: <p>Hello I would like to do something like this:</p>
  
  <p><img src="https://i.stack.imgur.com/ruuoN.png" alt="enter image description here"></p>
  
  <p>The problem is the green frame. I can't get it:</p>
  
  <p>Update code with almaz_from_kazan choice, still doesnt work:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
  &gt;
  
    &lt;LinearLayout 
      android:layout_width="fill_parent"
      android:layout_height="50dip"
      android:background="@color/blue"
  &gt;    
      &lt;TextView
          android:id="@+id/contactLabel"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:textColor="@color/black"
          android:text="@string/aboutTitle"
          android:textSize="30dip"
          android:layout_marginLeft="10dip" 
          android:gravity="center"
          android:textStyle="bold"
      /&gt; 
  &lt;/LinearLayout&gt;
  
  &lt;LinearLayout 
      android:orientation="vertical"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:weightSum="1.0"
      android:background ="@color/red"
  &gt; 
         &lt;LinearLayout
  
              android:layout_width="0dp" 
              android:layout_height="wrap_content"
              android:layout_weight=".15"
          /&gt;
  
          &lt;LinearLayout
              android:orientation="vertical"
              android:layout_width="0dp" 
              android:layout_height="wrap_content"
              android:layout_weight=".70"
              android:gravity="center"
              android:background="@color/green"   
           /&gt;
  
  
       //contents
  
  
           &lt;LinearLayout
              android:layout_width="0dp" 
              android:layout_height="wrap_content"
              android:layout_weight=".15"
           /&gt;
  &lt;/LinearLayout&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>How can I implement the frame 70% width, 70% height?</p>