Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove the bottom line border in tab bar? (And change selected color)

Is it possible to remove the bottom line showed in the tab bar? It is grey when not selected.

And is it possible to change the yellowish color to something else?

alt text

layout xml: http://pastebin.com/M2KqtH1r

like image 205
droidgren Avatar asked Aug 22 '10 21:08

droidgren


People also ask

How do I remove the bottom tab border in react native?

To remove the border, add the tabBarOptions prop and inside it, add a style property called borderTopWidth with a value 0 . Do note that this property can also be used to increase the width of the top border.


1 Answers

just do this in your tabWidget in your xml file.

android:tabStripEnabled="false"

hope you get it. ;)

like image 93
Jashan PJ Avatar answered Oct 05 '22 06:10

Jashan PJ