I should prefer to totaly hide the bottom status bar in android tablet (Androide 3.x and 4.x), but it seems to be impossible, because the new android version removed the physical keybutton from devices. Therefore I would at least remove from the bottom status bar, the clock, battery icon, and others. I only want the "Back", "Home" and "Options" buttons. It's possible?
http://developer.android.com/design/patterns/actionbar.html#considerations-split-action-bars In tablet devices, when set Full screen mode, the BottomBar and notification bar (including clock and other) are merged. I practically want hide the notification bar side.
Therefore I would at least remove from the bottom status bar, the clock, battery icon, and others. I only want the "Back", "Home" and "Options" buttons. It's possible?
If you make your own ROM mod with your own modified build of Android, yes. An SDK application cannot remove items from the system bar.
Related
From the article "Say Goodbye to the Menu Button "
it seems now the menu button is going to the action bar.
"If you’ve already developed an app to support Android 2.3 and lower,
then you might have noticed that when it runs on a device without a
hardware Menu button (such as a Honeycomb tablet or Galaxy Nexus), the
system adds the action overflow button beside the system navigation. "
But since I do not want the action bar takes the space, and I only need one menu button there, I hope I had a menu button within the navigation bar at the bottom.
How to do that?
[Update] From one aplication's code, it seems if I set the target level is lower, and use the add menu function, the menu button can be put with the navigation bar at the bottom. But anyway, as Samus Arin said, if there is only button for the menu, it doesn't make sense to build a action bar.
You can develop for newer releases, and then detect if there is a menu-button on the device. If there is not, show your own in the UI.
http://developer.android.com/reference/android/view/ViewConfiguration.html#hasPermanentMenuKey()
Ex.
if(ViewConfiguration.hasPermanentMenuKey(context)){ Has menu-button } else { Does not have menu-button, show in UI }
As you said, if you want the overflow-button in the navigation-bar you have to set the target-sdk to 13 or lower.
IMO this option should be given to the developer regardless of targetsdk.
UPDATE: hasPermanentMenuKey() can only be used in SDK>13, so you have to check this manually in your code.
I wanted to know if there's a way to change the status bar background color as well as the icons on Android phones. Will changing the background and button color of the navigation bar also works?(e.g. in Nexus devices or others with software buttons only)
I wanted to develop an app which changes these colors so it fits the apps UI(like on the iOS, or on the PanaroidAndroid ROM). There should be some workaround, at least with root permission(?)
HINT: With navigation bar I mean the bar at the bottom of the screen that displays the soft keys, NOT to be confused with the android action-bar!
I am writing an App using MonoDroid and for some reason I cannot pull down the notification bar from the top of the screen. I am thinking this has to do with my layout, but I am not sure. I also notice that when my App is running I do not have the bar at the top showing the battery, time, signal strength, etc.
So, my question is, what do I need to do to allow the user to pull the notification bar down? And how to show the info at the top of the screen?
I suspect you have done something to make your app appear in "Full Screen" mode (this will turn the home, menu and back buttons on the bottom of the screen to dots, and hide the navigation bar.
I believe this is called "lights out mode". Here is one SO question asking how to turn it on (maybe it will help you turn it off as well): Hide ICS back home task switcher buttons
Maybe your theme is
android:theme="#android:style/Theme.NoTitleBar.Fullscreen" ?
It hides the notification bar. Change to a non-fullscreen theme to make the the notification bar visible.
My app has an extended menu and has been working on all legit devices from Android 2.1 up thru 4.1. For R11+, to save screen space, I do not display the Action Bar on "normal" screens, but do on "large" and "xlarge". With the Action Bar present, the menu icon is on the Action Bar in the upper right corner; on normal-size screens, without hardkeys, it is at the lower right in the bar with the Home and Back buttons. This is functioning as expected on the latest phones and tablets.
Now I've had two customers with some sort of direct-from-China-on-eBay 7" tablet running Android 4.0.4 who are not seeing either the Action Bar or the menu icon in the Home/Back bar. I see two malfunctions here: first, that it must be reporting its screen as "normal" since it's using the "NoActionBar" theme; and secondly that it's not then showing the menu icon in the bottom bar. The users state that this device has access to Google Play, so I assume it's an approved device.
Has anyone run into anything like this? The only solution I can see -- since I don't want to activate the Action Bar on everyone's smartphone -- is to add a settings option to display the Action Bar. Any other ideas?
I'm On Honeycomb (3.1) and my first problem is that I don't know what is the name of the bar at the bottom of the OS (appears in every application). I've seen some apps add options to this bottom bar (it has by default the back button the home button and the show active programs button, besides the watch, battery indicator and signal connection strength). When a certain program uses options it sometimes adds them to this bottom bar (it is usually seen as a grid-like icon next to the show active programs buttons, which you can click and a menu pops up.
I've described it as best as I can, but My question is simple: how can I create a menu like this on in my app?
Thanks for any help!
EDIT:
Ok, I've just read it's a compatibility feature. And it's not supposed to be there in an Android App.
I feel stupid...
I'm On Honeycomb (3.1) and my first problem is that I don't know what is the name of the bar at the bottom of the OS (appears in every application).
That is the "system bar".
I've seen some apps add options to this bottom bar
This happens automatically for applications that set up an options menu using onCreateOptionsMenu(). However, once the application switches to the Honeycomb look-and-feel (e.g., via android:targetSdkVersion="11"), the options menu moves to the action bar.
how can I create a menu like this on in my app?
Long-term, you do not want to do this, because it means that you will not have the action bar and will not look like you belong on Honeycomb, Ice Cream Sandwich, etc.
Short-term, simply do not have android:targetSdkVersion="11", and implement an options menu as normal.