Android Question Menu don't appeare

sirjo66

Well-Known Member
Licensed User
Longtime User
Hello to all,
in my app I want to have a simple Activity on full screen, so there are:
#FullScreen: True
#IncludeTitle: False


Inside Activity_Create I wrote:
Activity.AddMenuItem("Liste resi", "LstResi")

On some devices, for to reveal this menu, I press "menu" button on the bottom of the phone, and menu appeare (I try this on Android 4.1.2)

On devices with Android 4.4.4, the button "menu" on the bottom of the phone is used for to see the list of the apps that are running, but if I press this button for more than one second, the menu of my app appeare.

The problem is on a device Motorola Moto G (Android 5.1.1) where there isn't a way for to see this menu on my app.
What I need to press for to reveal my menu ??
How can I insert in my app the "menu icon" (three vertical dots) in simple mode without change a lot of layout ??

Many thanks (grazie)
Sergio

Edit: I read B4A user manual, and I found that I need to add an "Action Bar", but so I think that I need to reduce some objects on my layout for to create the vertical space for the Action Bar.
Is this the correct way ??
Is there another way for to insert the 3 vertical dots without Action Bar ??
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
Use the forum search. This is discussed hundret times
 
Upvote 0

sirjo66

Well-Known Member
Licensed User
Longtime User
Hi DonManfred,
I have already search on forum, but no found what I want :(
I think that I will add a square button on the right-top side of my layout (with 3 vertical dots image), and when the user press this button my app show the menu.

What is the command for to show the menu ???

Many thanks
 
Upvote 0
Top