Hey Guys, i'm making my first app on Android.

I alredy made 3 Tabs, one with a list. I now want a menu to appear and
stay when I switch to this tab. the same for example on iphone in the
iPod, you always see the menu with title, interpret, lists etc. I
can't figure it out. May you please help me? thx!

This is the menu:

public boolean onCreateOptionsMenu(Menu menu) {
        menu.add("option 1");
        menu.add("option 2");
        menu.add("option 3");
        return super.onCreateOptionsMenu(menu);

}

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to