02-07-2013 02:14 AM
SubMenu statusSubMenu = new SubMenu(null,""+GlobalValue.getReg262(), 300,3);
statusSubMenu.add(account);
statusSubMenu.add(subscription);
MenuItem nope = statusSubMenu.getMenuItem();
addMenuItem(nope);
when I do that, I get the menu at the bottom of my list.. but it always get selected first when i open the menu
i want it to be the 5th in menu list, and be 5th priority.
submenu takes ordering and priority as last 2 params..but giving it 5 and 5, puts the submenu on top of the list.and selected first.
it is strange, when i do it 300 3 it gets last in list and selected first.
help