I am using android.support.v4.view.PagerTabStrip
in my application.
Here's how I use tabIndicator
PagerTabStrip pagerTabStrip = (PagerTabStrip)
findViewById(R.id.pager_title_strip);
pagerTabStrip.setDrawFullUnderline(true);
pagerTabStrip.setTabIndicatorColor(Color.parseColor("#32CD32"));
My tabIndicator's height is quite small. How can I set/increase it's height like the one that google play has?
The Google Play Store uses a custom implementation, rather than the provided PagerTabStrip
. If you'd like to emulate the look and feel of the Google Play Store, you can use an existing library such as Pager Sliding TabStrip which was designed to model the Google Play Store behavior.
its quite simple..
mTabStrip.setIndicatorHeight(int indicatorLineHeightPx);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With