title: Multiple Tabs of Android app?
body: <p>I have been building an android app in eclipse, it has swipe gestures, my problem is that all the pages are for some reason duplicate, meaning they show the exact same content as the first tab.</p>
  
  <p>How do I work on each page individually? and how do I get it not to duplicate?</p>
  
  <p>Here is the code:</p>
  
  <p>'</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:gravity="end"
      android:paddingBottom="@dimen/activity_vertical_margin"
      android:paddingLeft="@dimen/activity_horizontal_margin"
      android:paddingRight="@dimen/activity_horizontal_margin"
      android:paddingTop="@dimen/activity_vertical_margin"
      tools:context=".MainActivity$DummySectionFragment" &gt;
  
      &lt;TextView
          android:id="@+id/section_label"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content" /&gt;
  
      &lt;TextView
          android:id="@+id/textView1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignLeft="@+id/section_label"
          android:layout_alignParentTop="true"
          android:text="@string/Hey" /&gt;
  
      &lt;TextView
          android:id="@+id/textView2"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignLeft="@+id/section_label"
          android:layout_below="@+id/section_label"
          android:layout_marginTop="22dp"
          android:text="@string/Cont." /&gt;
  
      &lt;Button
          android:id="@+id/button1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_below="@+id/textView2"
          android:layout_centerHorizontal="true"
          android:layout_marginTop="120dp"
          android:text="@string/con" /&gt;
  
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignLeft="@+id/textView2"
          android:layout_below="@+id/textView2"
          android:layout_marginTop="41dp"
          android:text="@string/believe" /&gt;
  
  
  
      &lt;TextView 
         android:id="@+id/section_label2"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content
         /&gt;
  </code></pre>
  
  <p>'</p>
  
  <p>Thanks</p>