Search code examples
androidandroid-actionbarandroid-tabhost

customize actionbar with tabs and buttons


I am trying to customize a action bar so that it looks like link which is an IOS liked navigation bar. Here are some articles that i found. link1 It seems impossible to change tabs position and size in android. i had read another stack overflow page which suggest to put a few buttons.

Is there anyway I can make such action bar with one button on the left, on button on the right and a tabs in the middle.


Solution

  • Here's an awesome Tutorial about Android Material Tabs. The tutorial explains about all basic modification that can be done on Tabs. It also teaches to use CustomAdapter to build our own Tab style as you wanted.