title: Custom Tab Style like in Wanelo shopping app android
body: <p>Can anyone please guide, how to achieve this sort of tab style in the attached image , I have worked on many tab styles, but not getting this one .</p>
  
  <p><img src="https://i.stack.imgur.com/cCcwF.png" alt="enter image description here"></p>
  
  <p>Update:</p>
  
  <p>How I did it @PRAVIN :
   theme.xml in res/values folder</p>
  
  <pre><code>  &lt;style name="CustomActionBarTheme2" parent="@android:style/Theme.Holo"&gt;
      &lt;item name="android:actionBarItemBackground"&gt;@drawable/selectable_background_example&lt;/item&gt;
      &lt;item name="android:actionBarTabStyle"&gt;@style/MyActionBarTab&lt;/item&gt;
      &lt;item name="android:actionBarStyle"&gt;@style/ActionBar.Solid.Example&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;!-- ActionBar tabs styles --&gt; 
  &lt;style name="MyActionBarTab" parent="@android:style/Widget.Holo.Light.ActionBar.TabView"&gt;
      &lt;item name="android:background"&gt;@drawable/actionbar_tab_indicator&lt;/item&gt; &lt;!-- actionbar_tab_indicator --&gt;
      &lt;item name="android:showDividers"&gt;none&lt;/item&gt;
      &lt;item name="android:paddingLeft"&gt;20dp&lt;/item&gt;
      &lt;item name="android:paddingRight"&gt;20dp&lt;/item&gt;
  </code></pre>
  
  <p>In my Main activity:</p>
  
  <pre><code> private String[] tabs = { "Tab1", "Tab2", "tab3","Tab4" };
  
  getActionBar().setDisplayShowTitleEnabled(false);
  
      actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
  
      // Adding Tabs
      for (String tab_name : tabs) {
          if(tab_name.equals("Tab1")){
          actionBar.addTab(actionBar.newTab().setIcon(R.drawable.tab_home)
                  .setTabListener(this));
          } else if(tab_name.equals("Tab2")){
              actionBar.addTab(actionBar.newTab().setIcon(R.drawable.tab_search)
                      .setTabListener(this));
          }else if(tab_name.equals("Tab3")){
              actionBar.addTab(actionBar.newTab().setIcon(R.drawable.tab_home)
                      .setTabListener(this));
          }else if(tab_name.equals("Tab4")){
              actionBar.addTab(actionBar.newTab().setIcon(R.drawable.tab_search)
                      .setTabListener(this));
          }
      }
  </code></pre>
  
  <p>and finally i add that custom theme to my activity</p>
  
  <pre><code> &lt;activity
          android:name="aimviz.omi.shoppingcartapp.MainActivity"
          android:theme="@style/CustomActionBarTheme2" /&gt;
  </code></pre>
  
  <p>any ways i am unable to remove divider line, but code works. Thanks @PRAVIN.</p>