Reputation: 3078
I am working on android. I have created the bottom tabs for my project and it is working fine. But my question is to how to remove the line at the bottom? I have kept the following line android:tabStripEnabled="true" in my layout.
The line is removed but when i am clicking the individual tabs a small line on both the sides of individual tab is existing. Can anybody suggest how to remove that.
Thanks for your help
Upvotes: 0
Views: 3453
Reputation: 7210
If u are using TabLayout
in android Just Remove
android:elevation="@dimen/_1sdp"
this line. Hope THis help someone!
Upvotes: -1
Reputation: 8695
Try this:
TabHost tabHost = getTabHost();
tabHost().setTabStripEnabled(false);
The previous answer might not be working on emulator but it must work on a phone. Have tried it on a real device?
Upvotes: 2