更改pagerTabStrip tabIndicator的高度

ina*_*eli 6 android android-support-library

android.support.v4.view.PagerTabStrip在我的申请中使用.

这是我使用tabIndicator的方法

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

我的tabIndicator的高度非常小.如何设置/增加谷歌游戏的高度?

在此输入图像描述

ian*_*ake 5

Google Play商店使用自定义实施,而不是提供PagerTabStrip.如果您想模仿Google Play商店的外观,您可以使用现有的库,例如Pager Sliding TabStrip,该库旨在模拟Google Play商店的行为.