Change pagerTabStripIndicator tab height

I use android.support.v4.view.PagerTabStripin my application.

This is how I use tabIndicator

PagerTabStrip pagerTabStrip = (PagerTabStrip)
findViewById(R.id.pager_title_strip);
pagerTabStrip.setDrawFullUnderline(true);
pagerTabStrip.setTabIndicatorColor(Color.parseColor("#32CD32"));

My tab Pointer Height is pretty small. How can I set / increase its height, like the one that a Google game has?

enter image description here

+5
source share
2 answers

The Google Play Store uses a special implementation, not provided PagerTabStrip. If you want to mimic the look of the Google Play Store, you can use an existing library, such as the Pager Sliding TabStrip , which was designed to model behavior on the Google Play Store.

+4
source

its pretty simple ..

mTabStrip.setIndicatorHeight(int indicatorLineHeightPx);
0
source

All Articles