Android Question Hide/create menus issue

techknight

Well-Known Member
Licensed User
Longtime User
I have a menu with 4 items, and with API 14+ they show as the 3 dots in the title bar. Thats perfectly OK.

However, I dont want the menus to show or be present before the user logs into the app. Once the login is successful, it swaps the layout to the main layout, and I want to add the menu at that point.

However, it doesnt work and some quick research has suggested that it can only be done in activity_create. Rather curiously, if I press-hold the app-switch/menu button on my Tab 4, the menu will pop up and the 3 dots magically appear.

Is there any way around this? Thanks.
 

techknight

Well-Known Member
Licensed User
Longtime User
I see.. No way around this? Must be an android limitation. :-(

I discovered while searching the forum a library called mutablemenu which I think does what you say. It may work for my application.

Thanks.
 
Upvote 0
Top