Fork me on GitHub

Custom Actionbar Layout in Android

Posted on 23 August 2014
Under Blog
Tagged
Android

ActionBar is a very important part of Android. We can use it for our advantage. We needed certain customization in the actionbar and to do it easily we just made a desirable layout and changed the style of the actionbar.

Design Layout

We just needed a simple actionbar with back button on the left, check button on the right and the title in the center. So we created a simple linear layout.


Adding Custom Layout To ActionBar

Now, for each activity you can have different actionbar layouts. And it’s really easy to set it up. In our case, we did this.


That was easy. And it looked something like this.

custom actionbar

P.S. More posts coming about the app.

comments powered by Disqus


If you have some feedback or questions regarding this post, please add comments. I'd be happy to get some feedback.



If you liked this post, then you should follow Jay on twitter too. He would be excited to know that you like his work.