我有一个使用PagerTabStrip指示当前页面的viewpager。但是,我不希望出现默认指示器。(在页面标题下方划线)我尝试了几种不同的方法来删除它,但似乎都不起作用。PagerTabStrippts=(PagerTabStrip)findViewById(R.id.pager_title_strip);pts.setTabIndicatorColor(getResources().getColor(android.R.color.transparent));还有PagerTabStrippts=(PagerTabStrip)findViewById(R.id.pager_tit
我在我的应用程序中使用android.support.v4.view.PagerTabStrip。下面是我如何使用tabIndicatorPagerTabStrippagerTabStrip=(PagerTabStrip)findViewById(R.id.pager_title_strip);pagerTabStrip.setDrawFullUnderline(true);pagerTabStrip.setTabIndicatorColor(Color.parseColor("#32CD32"));我的tabIndicator的高度很小。我怎样才能像googleplay那样设置/增加
publicclassLoginRegisterextendsAppCompatActivityimplementsSignUpFragment.OnFragmentInteractionListener,SignInFragment.OnFragmentInteractionListener{@OverrideprotectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.activity_login_register);finalTa