On some devices with Android 6.0.1, when the user swipes from the right screen edge to the left, the quick launch bar is shown.
Is it possible to disable this programmatically?
On some devices with Android 6.0.1, when the user swipes from the right screen edge to the left, the quick launch bar is shown.
That is not part of standard Android.
Is it possible to disable this programmatically?
Ask the manufacturer of the device that exhibits this behavior.
Related
I was just testing my app on Pixel3 XL emulator and noticed that the app bar is covered by the bezel. I thought the flutter framework handles this for app bar own its own.
Is there a way to fix this? I also looked at SafeArea but that probably would make me to manage the app bar on all the pages of BottomNavigationBar.
This is an issue with the emulator, not Flutter. If you open Chrome on the emulator you will see that it's also covered by the notch. You can also drag from the notch and the notification's pane will be dragged down, even thought it shouldn't be possible.
You can fix this though. Open the Android settings, go to to the About phone section and tap on the Build Number 7 times, to enable developer mode. Once that's done, in Settings, go to the System section, open Advanced and go to Developer options. Tap the Display cutout option and select Tall cutout. This will adjust the OS to account for the notch.
Based on the Samsung Galaxy S8 auto-hide navigation keys, I want to make my own auto hide volume bar. It will be an app for playing TV series, made just for one particular device specific for not having any physical buttons.
Volume bar should be opened on bottom screen swipe and auto-hide in 2 sec if not used.
Something like this GIF.
How can I implement something like that in an app, not in the operating system itself?
By default in a landscape Android app in Immersive mode, you can show the system UI by swiping from the right edge or the top edge. Is there any way to prevent a right-edge swipe from opening the system UI, so that the system UI can only be opened from the top edge of the screen?
You cannot do this as a security measure. The user should always have a consistent way to reintroduce the status bar, as well as navigation bar on devices with on screen keys. Allowing third party developers to disrupt this would be a terrible idea.
I have found non rooted apps which are capable of hide home button from bottom system bar of tabs (not all the devices but many of samsung tabs) & disabling (not hiding) right side wifi, settings entering panel in system bar (worked in all the testing devices). Good example is remote lock screen of Lookout premium app with BIND_DEVICE_ADMIN permission. This lock screen appears on top of the native android lock screen it has these features work in many devices.
Is there a way to create an activity with disabling System bar like that? Is it related to the flag that adding to the layout params of the activity? Otherwise how this is implemented?
Thanks.
I'm trying to make my app to Fullscreen (with no any bar) how I can coding to set it. (Android version 4.0.3)
Thx very Much
You can't hide that bar. On Honeycomb(3.0) there was a bug that would allow it to be hidden(on a rooted device), but it was fixed in ICS(4.0). (Note: see this answer for more techniques that worked on 3.0)As of now there is no way to do it on 4.0. Unfortunately, because devices no longer have physical buttons the navigation buttons (home and back) have to be put onto the screen. Because that bar contains the navigation buttons if you were to hide it, it would be possible to "lock" the user out of the device by not allowing them to leave your application(at least until they rebooted into safe mode).
So if you want to do that you'll have to make your own custom version of the OS to allow for it.