title: Adding mapview into tabs in android
body: <p>I have searched for tutorials and such on the internet, but i haven't come up with any solution that worked yet, so i though, why not ask it here??? I have managed to use mapviews outside the tabs, but how do i show the xml inside the map tab? Please anser and thanks in advance!
  I need to add a MapView onto the "map" tab, how do i do this??? This is the XML code that i am using for the tabs:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;TabHost android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:id="@+id/tabHost"
  xmlns:android="http://schemas.android.com/apk/res/android"
  &gt;
  &lt;TabWidget
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:id="@android:id/tabs"
  /&gt;
   &lt;FrameLayout
   android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:id="@android:id/tabcontent"
   &gt;
   &lt;LinearLayout
   android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:id="@+id/tab1"
  android:orientation="vertical"
  android:paddingTop="60px"
   &gt;
   &lt;TextView  
  android:layout_width="fill_parent" 
  android:layout_height="100px" 
  android:text="My tracks"
  android:id="@+id/txt1"
  /&gt;
  
   &lt;/LinearLayout&gt;
  
   &lt;LinearLayout
  
   android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:id="@+id/tab2"
  android:orientation="vertical"
  android:paddingTop="60px"
   &gt;
   &lt;TextView  
  android:layout_width="fill_parent" 
  android:layout_height="100px" 
  android:text="Map"
  android:id="@+id/txt2"
  /&gt;
  
   &lt;/LinearLayout&gt;
  
    &lt;LinearLayout
   android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:id="@+id/tab3"
  android:orientation="vertical"
  android:paddingTop="60px"
   &gt;
  
   &lt;TextView
       android:id="@+id/txt3"
       android:layout_width="fill_parent"
       android:layout_height="wrap_content"
       android:text="Search for gokart tracks" /&gt;
  
  
   &lt;LinearLayout
       android:id="@+id/linearLayout1"
       android:layout_width="match_parent"
       android:layout_height="match_parent" &gt;
  
       &lt;EditText
           android:id="@+id/SearchInput"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:layout_weight="10.05" &gt;
  
           &lt;requestFocus /&gt;
       &lt;/EditText&gt;
  
       &lt;Button
           android:id="@+id/SearchButton"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:layout_weight="1"
           android:text="@android:string/search_go" /&gt;
  
   &lt;/LinearLayout&gt;
  
   &lt;/LinearLayout&gt;
  
   &lt;/FrameLayout&gt;
  
  &lt;/TabHost&gt;
  </code></pre>