title: Is it possible to change the color of selected Tab in android?
body: <p>Hi i have two tabs in my tab widget,i want to apply the two different color for two tabs.am searching everywhere,mostly all colors are same while applying the tab.</p>
  
  <p><strong>update</strong></p>
  
  <p><strong>first tab</strong> when selected red color</p>
  
  <p><strong>second tab</strong> when selected blue color </p>
  
  <p>Here my code</p>
  
  <pre><code>tabHost = (TabHost)findViewById(android.R.id.tabhost);
      TabSpec firstTabSpec = tabHost.newTabSpec("tid1");//these are color red
      TabSpec secondTabSpec = tabHost.newTabSpec("tid1");//these color blue
      firstTabSpec.setIndicator("Sales Info",getResources().getDrawable(R.drawable.sales));
      Intent photosIntent = new Intent(this, a.class);
      firstTabSpec.setContent(photosIntent);
      secondTabSpec.setIndicator("Service Info",getResources().getDrawable(R.drawable.services));
      Intent photosIntent1 = new Intent(this, b.class);
      secondTabSpec.setContent(photosIntent1);
      tabHost.addTab(firstTabSpec);
      tabHost.addTab(secondTabSpec);
  </code></pre>