Getting rid of the 3 button menu bar (aka Action Bar?)

eps

Expert
Licensed User
Longtime User
Okay, I've been over the online resource, such as it is and over the information contained on B4A, but I can't seem to get rid of it and was wondering how others may have removed it from there Apps. I will attach a screenshot to show the menu bar that is at the bottom of my App screen later on - as I can't access the file right now, it's this I wish to remove / not display and then utilise the lower part of the screen for App screen real estate space.

I've added 2 styles.xml files and edited them such that the App should use them (also updated the manifest.xml file) such that it should use the wholescreen and not display the ActionBar - or have I got this confused with something else??? I seem to have been going round in circles with this one!! Someone else must have resolved this issue.

I've also updated the manifest file to have a target version of 11.

:sign0085:

mtia
 

eps

Expert
Licensed User
Longtime User
Hi Erel

Many thanks for this, is what you've mentioned part of Designer Scripts? I'll have to admit that I haven't looked at those at all - my code is from quite some time before those changes were introduced.

I've made a change in the manifest.xml and styles.xml - along the same lines, but it doesn't seem to have had much of an impact - although it has tidied it up a little. :)

It just seems odd to have a button for a menu on there, that is undefined and unwanted.. well by me at least anyway!
 
Upvote 0

eps

Expert
Licensed User
Longtime User
Ah, actually I'd gone back to 2.30 but have now gone to 2.52.

All has become a bit clearer now! Many thanks.

:)
 
Upvote 0

eps

Expert
Licensed User
Longtime User
Nope, this still doesn't work.

Is it the inline statements that will govern the 3 button menu bar at the bottom of the screen, or styles.xml?

ETA:

Hmm... I think I was attempting to apply a style to an Activity, as opposed to the whole Application. I've also noted that themes.xml will apply to the whole of an Application, as opposed to specific elements of an application, so will look at that as well.

I'm sure I'll get there sometime soon...!
 
Last edited:
Upvote 0

eps

Expert
Licensed User
Longtime User
That's governed by min and targetSDK right?

Which are currently set to :

<uses-sdk android:minSdkVersion="4"
android:targetSdkVersion="11" />

??


or should it be targetSDK 14 or something??

:BangHead:
 
Upvote 0

eps

Expert
Licensed User
Longtime User
I know it can be done, just need to work it out. :)

Many thanks for the two other posts - I will take a look at them tomorrow morning and give them a whirl. :)
 
Upvote 0

eps

Expert
Licensed User
Longtime User
Yaaay! As half mentioned by me and confirmed by Margret :) targetsdk=14 has worked a treat! Fantastic!!


:)

:sign0098:
 
Upvote 0

eps

Expert
Licensed User
Longtime User
I'm not sure of what you asked for... I thought you wanted to get all the space on screen by removing the navigation bar.

Getting rid of the ActionBar / 3 button menu bar at the bottom of the screen... Which can 100% be done.

Admittedly I was going to post a screenshot, so that it was clear, but then got hampered by the PNG being too large for this forum and then being on the train and having a useless wifi connection.
 
Last edited:
Upvote 0

Informatix

Expert
Licensed User
Longtime User
Getting rid of the ActionBar / 3 button menu bar at the bottom of the screen... Which can 100% be done.

It's just impossible under ICS/Jelly Bean (you can hide it temporarily at best). So we're not talking of the same thing or you're using an older Android version.

EDIT: if you read forums like XDADev, you'll see that the only way found until now is to customize a ROM.
 
Last edited:
Upvote 0

eps

Expert
Licensed User
Longtime User
It can't be - what about games, for instance, which use the full screen?

Okay, here's a before and after.. To show exactly what I'm on about - maybe we've been talking cross purposes here. It's the menu bar at the bottom of the screen.
 

Attachments

  • Screenshot_2013-02-25-07-27-37 (Medium).png
    Screenshot_2013-02-25-07-27-37 (Medium).png
    51.3 KB · Views: 358
  • Screenshot_2013-02-28-22-18-40 (Medium).png
    Screenshot_2013-02-28-22-18-40 (Medium).png
    63.7 KB · Views: 386
Upvote 0

Informatix

Expert
Licensed User
Longtime User
It can't be - what about games, for instance, which use the full screen?

On my JellyBean devices, I have numerous games and none removes the bar. It is just dimmed.

Okay, here's a before and after.. To show exactly what I'm on about - maybe we've been talking cross purposes here. It's the menu bar at the bottom of the screen.

Thanks for the screenshot. It showed me that we were not talking of the same thing. What you call a "three button menu bar" is in fact a three-dot button (in english, it's not the same thing). On most modern Android devices, the navigation bar at the bottom contains three buttons: back, home and history. Hence the confusion. The menu button is deprecated and doesn't appear on it (except if you use a legacy style).

EDIT: Here's a picture showing the navigation bar at the bottom:
ui_overview_system_ui.png
 
Last edited:
Upvote 0
Top