Menu Not Visible in Jelly Bean

mjtaryan

Active Member
Licensed User
Longtime User
I've been testing one of my apps on a tablet running JB. The app has a menu, but the menu icon is not where to be found. I don't remember this problem occurring in ICS. The app was made with the B4a default SDK (Android 2.2, API 8, Revison 3) in B4a 2.22. What do I need to do to fix this? Thanks.

MikeR
 

Stulish

Active Member
Licensed User
Longtime User
I think with jelly bean you get three dots on top of each other, i cant remember it is in the bottom or top of the screen (on my nexus 7 they are in the bottom right hand corner - jelly bean v4.2.1, but i think i depends on your manifest and the lowest API version it is set too)

regards

Stu
 
Last edited:
Upvote 0

mjtaryan

Active Member
Licensed User
Longtime User
Tthanks to you both. I don't get either symbols. I tried as second app using the same sdk and api and it works fine. However, the two apps have some differences. The first "floats" and has the "transparent" line in the manifest (Reel, I'm sure you know what I mean). Second doesn't have this and fills the activity. The line in the manifest also hides the title bar. Would these differences be important (remember there is no menu icon in the status bar at the bottom of the screen in the first app nor at the top right). In gingerbread the first app, even though it floats, still shows the menu icon. Thanks.
 
Upvote 0

mjtaryan

Active Member
Licensed User
Longtime User
Thanks Erel. Both apps are apparently using the old style (the title bar is narrower and there is no icon). The second app has the menu icon in the status bar at the bottom, but not in the title bar. The first app, the one the original post was about, does not have an icon in either positon. This is the app that "floats" on a transparent background. In the manifest editor I commented out the "translucent" line so now the title bar is displayed as well. What is interesting is that on my Evo, which has a hardware menu button, I can get to the menu, but on my Galaxy Note 10.1 the eicon doesn't show and I can't get to the menu -- it is with the Note that I was surprised that there is no menu button. Both of these apps were originally developed in B4a 2.22 and compile with Android 2.2, API 8. After starting the thread, I recompiled both of them with Android 4.2, API 16 (or is it 17?), but with no change including the size of the title bar. However, an app I just started and for which I compiled an initial test for the basic layout using Android 4.2, API 16 does have the new title bar. I haven't yet compared the manifests to see if there are any differences and the newest app has yet to have a menu.

I am less concerned about the menu in the first app than trying to understand why the icon isn't appearing at all. For thiss app, the menu consists of only one item, which I can actually do witout a menu, if needed.

However, I'd still like to know why the menu icon doesn't show so I'll know what to do in a more crucial situation. So, how do I ensure that I'm using the new style and will that work on, for example, Froyo and Gingerbread?

Thanks. again.
 
Last edited:
Upvote 0

mjtaryan

Active Member
Licensed User
Longtime User
Thanks Erel. Both apps are apparently using the old style (the title bar is narrower and there is no icon). The second app has the menu icon in the status bar at the bottom, but not in the title bar. The first app, the one the original post was about, does not have an icon in either positon. This is the app that "floats" on a transparent background. In the manifest editor I commented out the "translucent" line so now the title bar is displayed as well. What is interesting is that on my Evo, which has a hardware menu button, I can get to the menu, but on my Galaxy Note 10.1 the eicon doesn't show and I can't get to the menu -- it is with the Note that I was surprised that there is no menu button. Both of these apps were originally developed in B4a 2.22 and compile with Android 2.2, API 8. After starting the thread, I recompiled both of them with Android 4.2, API 16 (or is it 17?), but with no change including the size of the title bar. However, an app I just started and for which I compiled an initial test for the basic layout using Android 4.2, API 16 does have the new title bar. I haven't yet compared the manifests to see if there are any differences and the newest app has yet to have a menu.

I am less concerned about the menu in the first app than trying to understand why the icon isn't appearing at all. For thiss app, the menu consists of only one item, which I can actually do witout a menu, if needed.

However, I'd still like to know why the menu icon doesn't show so I'll know what to do in a more crucial situation. So, how do I ensure that I'm using the new style and will that work on, for example, Froyo and Gingerbread?

Thanks. again.
 
Upvote 0
Top