title: How to customize android tabs without changing the actionBar? (using ViewPager)
body: <p>I'm not sure if that is possible. I'm trying to do a screen with tabs and lists in every tabs (I've done that already) and I've done a custom ActionBar for the title and some icons on it, now, i want to change the text color of the tabs, I've solved the background color but i can't find anything related to the text color, here is a piece of my code .java and my manifest.xml</p>
  
  <pre><code>addMenu();
  
          // Set up the action bar.
          final ActionBar actionBar = getSupportActionBar();
          actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
          actionBar.setStackedBackgroundDrawable(new ColorDrawable(Color.parseColor("#ffffff")));
          actionBar.show();
  
          actionBar.setDisplayOptions(actionBar.getDisplayOptions() | ActionBar.DISPLAY_SHOW_CUSTOM);
  
  
          // Create the adapter that will return a fragment for each of the three
          // primary sections of the activity.
  
          mSectionsPagerAdapter = new SectionsPagerAdapter(getSupportFragmentManager());
  
  
          // Set up the ViewPager with the sections adapter.
          mViewPager = (ViewPager) findViewById(R.id.pager);
          mViewPager.setAdapter(mSectionsPagerAdapter);
  
          // When swiping between different sections, select the corresponding
          // tab. We can also use ActionBar.Tab#select() to do this if we have
          // a reference to the Tab.
          mViewPager.setOnPageChangeListener(new ViewPager.SimpleOnPageChangeListener() {
              @Override
              public void onPageSelected(int position) {
                  actionBar.setSelectedNavigationItem(position);
              }
          });
  
          // For each of the sections in the app, add a tab to the action bar.
          for (int i = 0; i &lt; mSectionsPagerAdapter.getCount(); i++) {
              // Create a tab with text corresponding to the page title defined by
              // the adapter. Also specify this Activity object, which implements
              // the TabListener interface, as the callback (listener) for when
              // this tab is selected.
              actionBar.addTab(
                      actionBar.newTab()
                              .setText(mSectionsPagerAdapter.getPageTitle(i))
                              .setTabListener(this)
                              );
  
          }
  </code></pre>
  
  <p>the addMenu method (Only changes the Action Bar):</p>
  
  <pre><code>getSupportActionBar().setDisplayOptions(android.support.v7.app.ActionBar.DISPLAY_SHOW_CUSTOM);
      LayoutInflater inflater = (LayoutInflater) getApplicationContext().getSystemService(LAYOUT_INFLATER_SERVICE);
      View view = inflater.inflate(R.layout.order_title, null);
      TextView textView = (TextView) view.findViewById(R.id.mytext);
      textView.setWidth(getWindow().getWindowManager().getDefaultDisplay().getWidth());
      textView.setPadding(0, 0, 50, 0);
      textView.setGravity(Gravity.CENTER);
  
      Typeface segoeui = Typeface.createFromAsset(getAssets(),"fonts/segoeui.ttf");
      textView.setTypeface(segoeui);
      textView.setText("Some Text");
      getSupportActionBar().setCustomView(view);
      getSupportActionBar().setHomeAsUpIndicator(R.drawable.arrow_left);
      getSupportActionBar().setDisplayHomeAsUpEnabled(true);
      getSupportActionBar().setBackgroundDrawable(new ColorDrawable(Color.parseColor("#afafaf")));
  </code></pre>
  
  <p>and my Manifest.xml:</p>
  
  <pre><code>&lt;activity
          android:name=".Activity1"
          android:label="@string/title_activity1"
          android:parentActivityName=".MainActivity"
          android:screenOrientation="portrait"
          &gt;
          &lt;meta-data
              android:name="android.support.PARENT_ACTIVITY"
              android:value="cleanpress.cleanpress.MainActivity" /&gt;
      &lt;/activity&gt;
  </code></pre>
  
  <p>This is how it looks:
  <a href="http://i.stack.imgur.com/0hRbv.png" rel="nofollow">http://i.stack.imgur.com/0hRbv.png</a></p>
  
  <p>As you can see, the screen that i'm working is related to another one (if that's relevant).
  I want to change just the text color of the Tabs (there are 3 tabs), anyone can help me please?</p>
  
  <p>(I've already worked with HTML format and didn't work)</p>