Search code examples
androidandroid-buttonandroid-4.2-jelly-beanandroid-keypad

Android Jelly Bean More Option Button


I use Galaxy Nexus and it hasn't any button. But others have some special buttons. For example home,menu,back and search. I am developing an android app and for example I want to use menu button. How can I do this ? How can I add one or more keys on bottom line ?

For example Whatsapp using this. I start whatsapp and I see 4 button, back, home, apps and consecutive three-point. If I click this three-point button , new tab opened and there are few options here.

I want to use this logic how can I do this ?

Note: I don't know how can I pronounced these buttons name.


Solution

  • Please, check this from the documentation in order to get Menu into your app

    http://developer.android.com/guide/topics/ui/menus.html

    It's quite simple, just override few methods...