Hiding top status bar but keeping the bottom navigation bar - android

fullscreen hides both the Android navigation and status bars (requiring you swipe from the bottom to show the navigation bar over the app), and standalone hides neither, when it comes to the display property of the PWA's manifest.
Simply, I want the bottom Android navigation bar to always show but without showing the top status bar. I wonder if I am missing some HTML meta or manifest JSON property or some other way to accomplish this?
I will expect most users to install the PWA via the web, not via the Play Store (so no TWA, Android application wrapper, etc.)

As far as I know this is not possible.
With the web-manifest you have different choices: default, standalone, fullscreen (see screenshots below):
On the Google docs page, also a "minimal-ui" value is available:
This mode is similar to fullscreen, but provides the user with some means to access a minimal set of UI elements for controlling navigation (i.e., back, forward, reload, etc).
Note: Only supported by Chrome on mobile.
Reading the description it seems this is what you are looking for, but unfortunately the top status bar and also the page address (read-only) is displayed. Therefore I do not think you can achieve what are you looking for with the standard display values of the web manifest.

Related

Android 12 Navigation bar disappearing

When pulling down the notifications, the gesture navigation bar on the bottom slides down, some apps like the PlayStore handle this well, while my app (and others like WA) is resizing, what is this about? Do I have to recompile with newer AndroidX version or do something in the manifest?
Couldn't find anything on this
(Take a close look at the bottom here ⬆️
First of all, I could not reproduce the issue on the official Android 31 emulator image.
Secondly, it appears that the Google Play app layouts fit the system window and use translucent system bars. Since your app doesn't implement such behaviour, the app layout needs resizing when the navigation bar re-appears. On the other hand, the Play Store layouts don't need resizing because the navigation bar will overlay on top of it. You can implement a translucent navigation bar using the instructions provided in this answer.

Hide specific button on android navigation bar

I have another question for you:
Is there a way to hide a specific virtual button from android navigation bar?
My particular case is hide recent apps button. I've searched in some posts about this, but they mention how to hide or disable navigation bar. I just need to hide one virtual button from navigation bar.
I hope that you can give me an answer, thanks!
Update:
Somebody told me that Airwatch app from VM-Ware does this customization
It is currently impossible to make an App-specific customization, but it is possible to make a device-specific modification on Navigation Bar, starting from Android 8.0 (Oreo) by unlocking System UI Tuner.
However, do consider the limitation as both Navigation Bar and System UI Tuner ability is pre-defined by OEMs. Which means we cannot customize more than the given customization choices, and different device might introduce different customization capabilities.
You can not change the navigation bar from your application; you do not have access to these settings. Instead, what you can do is using adb to hide the navigation bar and use only the navigation inside your app. You can follow this tutorial of XDA-dev and their application called "Navigation Gesture", you will find the adb command.

Android Status Bar Interfering with Ionic App

When emulating on an android phone the bottom status bar is not being taken into consideration when the main view is being displayed, thus hiding app components at the very bottom.
I've read I can include a android:fitsSystemWindows=”true” somewhere but I'm not exactly sure where I could add this in order to test.
Any help would be greatly appreciated.

How-to suppress Search icon on Kindle Fire Menu/Actionbar

A Search Icon appears in Kindle footer area (which I think is sort of an actionbar). It always appears on all my activities but I don't have search functionality on every activity. How do I get rid of it? Please note, I think there is a way since I have seen applications that do not have the search in the footer menu/actionbar on every screen.
According to the Kindle Fire User Guide page 8, section Content Bar, the search button helps users search their content library, not search within the current app.
You can partly hide the whole Content Bar by making your app full screen but you can't hide it completely as it replaces the functionality of the home & back buttons on non-kindle android devices. There is no documented way on the Amazon Developers blog on how to remove individual buttons from the soft key bar.

How to disable or hide the system bar on android 3.x

I would like to know if it's possible to remove/hide/disable the bottom menu bar that always shown on android 3.x .
if not - at least if it's possible to hide the opening of the widget bar or disable the core widgets.
programatically or not - I must deny access to the bottom menu when my app is foreground.
please help.
thanx in advance.
I would like to know if it's possible to remove/hide/disable the bottom menu bar that always shown on android 3.x .
No, you cannot remove/hide/disable the system bar.
if not - at least if it's possible to hide the opening of the widget bar or disable the core widgets
There is no concept of a "widget bar" or "core widgets" in Android, so I do not know what you are referring to here.
I must deny access to the bottom menu when my app is foreground.
Fortunately, this is not possible, for obvious security reasons.
You are welcome to build your own custom firmware that you load on your own custom hardware that contains this "feature".

Categories

Resources