I want to show tabs in my application but by default in android between tabs there is divider line like this
Tab1 | Tab2 | Tab3 |
But i want to show tabs like this
Tab1 Tab2 Tab3
So i want to remove the divider line in between two tabs and also by default the tabs background color is gray color. so i want to change this into black color.
Please tell how to remove divider line in between two tabs and change the background color of tabs.
Thanks in advance.
Best Regards.
Use this method and Layout to use your own layout for the tab. To remove the divider simply replace the background 9patch graphic with your own.
fake_native_tab.xml:
Usage (inside your
TabActivity):