How to create bottom menu like gmail android

android

Solution

I suggest you to use the Sherlock ActionBar:

http://actionbarsherlock.com/

This allows you to easily develop an application with an action bar for every version of Android from 2.x and up.

In the sample app you can find the code to achieve what you are looking for under "Split Action Items". The idea is that you add actions from the menu as usual, but writting the following line in your manifest activity:

android:uiOptions="splitActionBarWhenNarrow"

Problem

I am not quite sure what kind of layout Gmail is using in Android. I suppose they use a floating `ViewGroup`. But for the menu on the top and bottom I really need somebody point me how to make that.

Original source