Question

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.

Was it helpful?

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...

OTHER TIPS

you're developing a web application? if you're, you can using jquery mobile which already provides the keys/buttons for you. otherwise you have to create the button on the app. CMIIW

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top