title: android layout get framelayout always above tabwidget
body: <p>Following layout is used to show views on tabcontent. However, when admob appears, framelayout goes down getting tabwidget on front. How could I set frameLayout always above tabwidget?? or the same, tabwidget below framelayout. Thank you </p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
                android:orientation="vertical"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                &gt;
  
  
        &lt;com.google.ads.AdView android:id="@+id/adView"
                           android:layout_width="wrap_content"
                           android:layout_height="wrap_content"
                           ads:adUnitId="xxx"
                           ads:adSize="SMART_BANNER"
                           ads:testDevices="TEST_EMULATOR, xxx"
                           ads:loadAdOnCreate="true"/&gt;   
  
  &lt;TabHost 
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@android:id/tabhost" 
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"&gt;
  
        &lt;RelativeLayout       
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:id="@+id/mainLayout"&gt;
  
  
          &lt;LinearLayout  
              android:id="@+id/mainLayout"
              android:orientation="vertical"
              android:layout_width="fill_parent" 
              android:layout_height="fill_parent"
              &gt;
  
                      &lt;FrameLayout 
                          android:id="@android:id/tabcontent"
                          android:layout_width="fill_parent" 
                          android:layout_height="0dip"
                          android:layout_weight="1" 
                          android:scrollbars="none"&gt;
                      &lt;/FrameLayout&gt;
  
              &lt;TabWidget 
                  android:id="@android:id/tabs"
                  android:layout_width="fill_parent" 
                  android:layout_height="wrap_content"
                  android:layout_weight="0"/&gt;
  
          &lt;/LinearLayout&gt;         
      &lt;/RelativeLayout&gt;
  &lt;/TabHost&gt; 
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/pDZfa.png" alt="enter image description here"></p>