Add line below tabs in ActionBar

view story

http://stackoverflow.com – After a lot of looking here and there I am posting this problem that I am facing on SO. Basically I have an Action bar with a tabbed layout. Below is a snapshot of how it looks now : And here is the code chunk that sets the tabs : public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setTheme(R.style.Theme_example); if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.GINGERBREAD_MR1) { requestWindowFeature(Window.FEATURE_NO_TITLE); } setContentView(R.layout.landing_page); ViewPager viewPager = (ViewPager) findViewById(R.LandingPage.pager); final A (HowTos)