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.
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.
P.S. More posts coming about the app.
Playing around with Android UI
Articles focusing on Android UI - playing around with ViewPagers, CoordinatorLayout, meaningful motions and animations, implementing difficult customized views, etc.