Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Viewing all articles
Browse latest Browse all 7655

Problem with menu with tabgroups

$
0
0

Hi, I got a problem with creating a menu on a page contains tabs (tabgroups). When i insert the menu's code in a simple window, it works fine. But when i insert the same code on a tabgroup, no menu appears when running. I searched about this problem and it seems that the ancien version of SDK not supported menus on a tabgroups. anyone can help me about this ? Thanks. This is my code : <Alloy> <TabGroup id="mainTabGroup"> <Tab id="tab3" onClick="getTodoList"> <Window id="readWin"> <Menu id="menu"> <MenuItem id="settingitem" onClick="doAction" title="Settings" showAsAction="Ti.Android.SHOW_AS_ACTION_ALWAYS"> <MenuItem id="calitem" onClick="doAction" title="Calendar" showAsAction="Ti.Android.SHOW_AS_ACTION_NEVER"> <MenuItem id="logitem" onClick="doAction" title="Logout" showAsAction="Ti.Android.SHOW_AS_ACTION_NEVER"> </Menu> <TableView id="tableView" onClick="doSomething"/> </Window> </Tab> </TabGroup> </Alloy>


Viewing all articles
Browse latest Browse all 7655

Trending Articles