title: Pager Sliding Tab Strip with Buttons and Edit Text for appropriate tab
body: <p>I referred this <a href="https://github.com/Ashkan-Sarlak/pager-sliding-tab-strip-edited" rel="nofollow">Pager Sliding Tab Strip</a>.I am getting the output as it is.</p>
  
  <p>But my only problem is I didn't know how to add the button for categories tab,Textview for Home tab,Edittext for Top Paid tab.</p>
  
  <p>There I seen only two layout :</p>
  
  <p><strong>activity_main.xml:</strong></p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent" &gt;
  
      &lt;com.astuetz.PagerSlidingTabStrip
          android:id="@+id/tabs"
          android:layout_width="match_parent"
          android:layout_height="48dip"
          android:background="@drawable/background_tabs" /&gt;
  
      &lt;android.support.v4.view.ViewPager
          android:id="@+id/pager"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_above="@+id/colors"
          android:layout_below="@+id/tabs"
          tools:context=".MainActivity" /&gt;
  
      &lt;LinearLayout
          android:id="@+id/colors"
          android:layout_width="match_parent"
          android:layout_height="48dip"
          android:layout_alignParentBottom="true"
          android:layout_marginBottom="8dip"
          android:layout_marginLeft="4dip"
          android:layout_marginRight="4dip"
          android:orientation="horizontal" &gt;
  
      &lt;/LinearLayout&gt;
  
     &lt;Button
      android:id="@+id/button1"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignLeft="@+id/colors"
      android:layout_alignTop="@+id/pager"
      android:layout_marginLeft="58dp"
      android:layout_marginTop="46dp"
      android:text="Button" /&gt;
  
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p><strong>fragment_quick_contact.xml:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="wrap_content" &gt;
  
      &lt;ImageView
          android:id="@+id/image"
          android:layout_width="match_parent"
          android:layout_height="170dip"
          android:scaleType="centerCrop"
          android:src="@drawable/contact" /&gt;
  
      &lt;TextView
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_alignBottom="@+id/image"
          android:background="#77000000"
          android:paddingBottom="14dip"
          android:paddingLeft="8dip"
          android:paddingTop="14dip"
          android:text="Quick Contact"
          android:textColor="#FFFFFFFF"
          android:textSize="18sp" /&gt;
  
      &lt;com.astuetz.PagerSlidingTabStrip
          android:id="@+id/tabs"
          android:layout_width="match_parent"
          android:layout_height="62dip"
          android:layout_below="@+id/image"
          android:background="@drawable/background_tabs_diagonal"
          app:pstsDividerColor="#00000000"
          app:pstsIndicatorColor="#FF33B5E6"
          app:pstsTabPaddingLeftRight="14dip"  
          app:pstsUnderlineColor="#FF33B5E6" /&gt;
  
      &lt;android.support.v4.view.ViewPager
          android:id="@+id/pager"
          android:layout_width="match_parent"
          android:layout_height="96dip"
          android:layout_below="@+id/tabs" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p><strong>MainActivity,java:</strong></p>
  
  <pre><code>public class MyPagerAdapter extends FragmentPagerAdapter {
  
      private final String[] TITLES = { "Categories", "Home","Profile" };
  
      public MyPagerAdapter(FragmentManager fm) {
          super(fm);
      }  
  
      @Override
      public CharSequence getPageTitle(int position) {
          return TITLES[position];
      }
  
      @Override
      public int getCount() {
          return TITLES.length;
      }
  
          return SuperAwesomeCardFragment.newInstance(position);
      }
  
  }
  </code></pre>
  
  <p>If I add a button in activity_main.xml. It just add the button not only in Category tab.But, it added the button in all tabs.</p>
  
  <p>I need to add the button in category tab.Then I have to add the edit text in Home tab.is it possible to do this in Pager Sliding Tab Strip.</p>
  
  <p><strong>Edit:</strong> There was no xml layout separately for category tab and home tab.That's why I am getting confused with this.</p>