MENU Item Order ?

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

MENU Item Order ?

Postby guruk » Tue Mar 31, 2009 4:04 pm

Hi,

i add my Menus like:

MenuItem item = menu.add(Menu.NONE, ONE_ID, Menu.NONE, "Help");
item.setIcon(R.drawable.helpbluebutton);
item = menu.add(Menu.NONE, THREE_ID, Menu.NONE, " List");
item.setIcon(R.drawable.document);
item = menu.add(Menu.NONE, FOUR_ID, Menu.NONE, "Data");
item.setIcon(R.drawable.users);
item = menu.add(Menu.NONE, DONATE_ID, Menu.NONE, "Donate");
item.setIcon(R.drawable.donate);

Now i get a Menu List with 2 Rows and Columns

I would like to have the first three in one row and the last in a single row, how to do that?
(i tested without the last item and than it place the three items in one row.. so its space enough)

Thanks
Chris
guruk
Junior Developer
Junior Developer
 
Posts: 24
Joined: Sun Mar 08, 2009 8:05 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 2 guests