3 dot menu button

Erel

B4X founder
Staff member
Licensed User
Longtime User
The 3 dot button appears on the bottom bar when the application doesn't target API 14 or higher and the application runs on Android 4+ (API 14+). This is a backwards compatibility feature which replaces the menu button.

If you add at least one menu item and target API 14+ then the 3 dots will appear in the title bar:
 
Upvote 0

padvou

Active Member
Licensed User
Longtime User
This is what I'm talking about.
Android seems to have removed it in newer versions?
However, apps like ES fileexplorer add it when they are running and the three dots dissappear when the application is closed.
 

Attachments

  • 3dot.png
    23.6 KB · Views: 716
Upvote 0

padvou

Active Member
Licensed User
Longtime User
If you change the targetSDK of your application to run it in legacy mode (targetSDK < 11) then the menu button will be back.

That is true, however buttons, lists, togglebuttons, etc are not shown as they did.. Is there a workaround with this?
 
Upvote 0

padvou

Active Member
Licensed User
Longtime User
If you want to have this overflow button (its proper name) in the navigation bar, it's the only method. This button is supposed to be in the action bar since Honeycomb. And it appears in the Action bar as Erel explained.

Thank you for clarifying this.
So the next question is how to preserve the controls look and feel after dropping to SDK <11
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…