G grafsoft Well-Known Member Licensed User Longtime User Apr 2, 2014 #1 Hi, I fill a scrollview, and then I do this: B4X: Activity.Title=projecttitle ' Activity.Invalidate Activity.AddMenuItem ("Kamera","kamera") Activity.addmenuitem ("Logoff","logoff") I see the scrollview, I see the title, but not the menu. When I turn the phone, and portrait view becomes landscape, I call this code once again, and the menu appears. What am I doing wrong?
Hi, I fill a scrollview, and then I do this: B4X: Activity.Title=projecttitle ' Activity.Invalidate Activity.AddMenuItem ("Kamera","kamera") Activity.addmenuitem ("Logoff","logoff") I see the scrollview, I see the title, but not the menu. When I turn the phone, and portrait view becomes landscape, I call this code once again, and the menu appears. What am I doing wrong?
Erel B4X founder Staff member Licensed User Longtime User Apr 3, 2014 #2 Are you adding the menu items in Activity_Create? Upvote 0
G grafsoft Well-Known Member Licensed User Longtime User Apr 3, 2014 #3 No, but in a sub called by activity_create. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 3, 2014 #4 This is fine. Can you upload your project (File - Export as zip)? Upvote 0
G grafsoft Well-Known Member Licensed User Longtime User Apr 3, 2014 #5 I can, but now I am going to try AHQuickaction, which suits my needs better. So I think I do not need any more help on that. If you are curious anyway, I will upload. Thanks Peter Upvote 0
I can, but now I am going to try AHQuickaction, which suits my needs better. So I think I do not need any more help on that. If you are curious anyway, I will upload. Thanks Peter