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的高度非常小.如何设置/增加谷歌游戏的高度?

Google Play商店使用自定义实施,而不是提供PagerTabStrip.如果您想模仿Google Play商店的外观,您可以使用现有的库,例如Pager Sliding TabStrip,该库旨在模拟Google Play商店的行为.
| 归档时间: |
|
| 查看次数: |
5450 次 |
| 最近记录: |