views:

639

answers:

1

I would like to arrange the menu items in my app so that one item appears in its own line, and the other 3 items appear below it. I know that this is possible because i have seen apps do it. I tried writing a menu xml with linear layouts to arrange the items, but this doesnt work. I have also tried putting them in different groups, but I had no luck with that either.

I know that this is possible: i have seen it done.

Anyone have any ideas?

A: 

Kindof a similar question here http://stackoverflow.com/questions/1593529/android-customize-applications-menu-e-g-background-color

Elaina R
@mtmurdock: Agreed. It doesn't even much look like an option menu -- it is using the wrong font, for example. You are welcome to implement what you want to respond to the MENU button, but bear in mind that you are then responsible for handling everything yourself (e.g., landscape vs. portrait). I recommend that you just follow Android conventions and let the menus be built by the system.
CommonsWare
yes this is a similar question (i even posted on it), but the highest voted answer says its not possible, when i know that it is. I posted this to see if i could get new feedback on the subject
mtmurdock
@mtmurdock: I see, well the other thing I've heard of is "inflating menus" which might help you format it. Hopefully this helps a bit http://kahdev.wordpress.com/2008/11/25/building-a-menu-for-your-android-v10-r1-app/ best of luck!
Elaina R
yea i saw that site. "inflating" is used when you're building your menu via xml, but there arent any layout controls for menus, unfortunately. thanks for your help though.
mtmurdock