title: how to change tab color in android view pager with tab Strip
body: <p>This is my Xml:     </p>
  
  <pre><code> &lt;RelativeLayout
              android:id="@+id/content"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:layout_above="@id/footer"
              android:background="#000000"
              android:gravity="center" &gt;
  
              &lt;android.support.v4.view.ViewPager
                  android:id="@+id/pager"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:textColor="#ffffff" &gt;
  
                  &lt;android.support.v4.view.PagerTabStrip
                      android:id="@+id/pager_title_strip"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_gravity="top"
                      android:background="#d3d3d3"
                      android:paddingBottom="10dp"
                      android:paddingTop="10dp"
                      android:textColor="#000000" /&gt;
              &lt;/android.support.v4.view.ViewPager&gt;
          &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>this is my main actvity :</p>
  
  <pre><code> public class MainActivity extends FragmentActivity {   
          @Override
          protected void onCreate(Bundle savedInstanceState) {
                      viewPager = (ViewPager) findViewById(R.id.pager);
              mAdapter = new TabsPagerAdapter(getSupportFragmentManager());
              viewPager.setAdapter(new                   ViewPagerAdapter(getSupportFragmentManager()));
  
      }
      }
  </code></pre>
  
  <p>this is my viewpageAdapter class:</p>
  
  <pre><code>public class ViewPagerAdapter extends FragmentPagerAdapter {
  
      final int PAGE_COUNT = 10;
      // Tab Titles
      private String[] tabs = { "Tables", "Water", "Fan"};
  Context context;
  
      public ViewPagerAdapter(FragmentManager fm) {
          super(fm);
      }
  
      @Override
      public int getCount() {
          return PAGE_COUNT;
      }
  
      @Override
      public Fragment getItem(int index) {
  
          switch (index) {
          case 0:
              // Top Rated fragment activity
              return new TableFragment();
          case 1:
              // Games fragment activity
              return new WaterFragment();
  
          case 2:
              // Movies fragment activity
              return new FancoolerFragment();
  
  }
  
          return null;
  }
  @Override
      public CharSequence getPageTitle(int position) {
          return tabs[position];
      }
  @Override
      public CharSequence getPageTitle(int position) {
          return tabs[position];
      }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/8UQAg.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/IPlIT.jpg" alt="enter image description here"></p>
  
  <p>Screen1 is my cureent Screen : Screen2 :Desire Screen  please help me how to acchive this i am unable to set text and background color of tab when Particular tab is enabled or open please suggest me how to get this </p>