Here's what I'd like to remove :
How do I replace the indicator showing which tab is currently shown as well as the blue line that spans the entire tabwidget?
To Specify: All I want indicating which tab is selected is this :
edit : Setting tabStripEnabled to false has no effect. Adding a style to it and having "@android:style/Widget.Holo.ActionBar" as its parent is also not possible since im targetting API level 7 and the ActionBar was implemented in API level 11.
Depress Alt and select the first sheet, release the Alt key and select the first sheet again to make it the active one. Depress Alt and select the second tab, sheet deactivates, the other previously selected sheets remain blocked.
I have yet another hack.
TabLayout tabLayout = (TabLayout) fragmentView.findViewById(R.id.tabs); tabLayout.setSelectedTabIndicatorHeight(0);
It's basically the same idea as Eleojasmil's.
This line app:tabIndicatorHeight="0dp"
solve the problem for me in xml
<android.support.design.widget.TabLayout android:id="@+id/view_bottom_tabLayout" android:layout_width="match_parent" android:layout_height="wrap_content" app:tabIndicatorHeight="0dp" //this line app:tabGravity="fill" app:tabMode="fixed" />
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