osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.58k stars 1.01k forks source link

Complete immersive mode #4878

Open sonora opened 6 years ago

sonora commented 6 years ago

A few weeks ago we used to have nightlies where tapping the map screen also hid the Android notification bar, not just the OsmAnd controls, but that behavior was reverted again.

I think it was not a bad idea to have that, it helped to reduce the burn-in on AMOLED displays when using OsmAnd as a map app on long drives.

vshcherb commented 6 years ago

That was not a good idea because there were some notification & time information. Very important change was made to the color of the notification bar to make it less distractive gray instead of yellow.

sonora commented 6 years ago

Just to make sure we refer to the same thing: I am talking about the Android notification bar, the very top one (not produced by OsmAnd). It should contain OsmAnd items only during navigation in follow mode and during track recording (both are redundant as long as the OsmAnd screen itself is in the foreground).

Also, it is usually black on most earlier versions of Android, semi-transparent gray on some more recent versions. I guess we could at least hide it as long as it contains no OsmAnd related items? Most browsers, reading/viewing apps, and other full screen apps with a potential of remaining on the same screen for extended periods follow that policy these days.

vshcherb commented 6 years ago

Fully immersive possibly looks cool but I don't see it functional enough today. Though let's wait for more feedback

utack commented 6 years ago

Are you abandoning all the work that went into it so far :( ? Can you maybe think about introducing it when the map is switched to "car" or "bike" mode. That should be a time when no distractions like notifications would also be good

vshcherb commented 6 years ago

Fully immersive mode is available by tap, we were discussing only transparent status bar so far.

utack commented 6 years ago

What about hiding the navbar on immersive mode?
Could you please think about it.
It worries me a lot that when I navigate for hours the black bar persists where it always is, causing even more burn in

RigacciOrg commented 4 years ago

Just for reference, to hide the Android toolbar (and even the software keys of some Android devices) I use the following command via ADB shell (the Android device is connected via USB cable, ADB tool installed on the PC, USB debugging enabled in Settings, etc.):

adb shell settings put global policy_control immersive.full=net.osmand.plus

The setting takes effect immediately, even if the app is running! The setting will survive the phone reboot. Tested with Android 6.0, don't know if it works always.

To remove the setting you can use (beware it removes other the policy_control you may have set):

settings delete global policy_control

scaidermern commented 2 years ago

Related to #2551 and #7571.

N2ZLC commented 2 years ago

adb shell settings put global policy_control immersive.full=net.osmand.plus

I tried this on the ONYX BOOX MAX Lumi 2 and it doesn't work. The command goes through OK, but has no effect.

Still, great suggestion.

ManDay commented 1 year ago

There are several dupes of this issue (perhaps close the other ones) and from this one it looks like hiding the Android Status Bar was removed and it's an easy implementation (so the user doesn't have to resort to ADB).

Could anyone (@vshcherb perhaps) clarify why this is currently not a feature? I just think it's strange that we have such an absolute plethora of options which can tweak OsmAnd down to every last detail, but not this.

I happen to have a usecase where landscape is the only option and the Android Status Bar becomes a bit of a nuisance there, especially because it's entirely useless to me. It would be really nice if this could be fixed up; either as an option or unconditionally under fullscreen mode - either would work for me.

drfrisker commented 6 months ago

I feel like full immersive did work for me at some point in 2019 when I was on a trip. I don't remember how it got enabled as late as 2019 (maybe I was using a phone from 2017 at the time) but this has to be so simple can it please be added again?

DmitryAlexei commented 6 months ago

@drfrisker Have you tried Full screen mode? you can enable it via menu > settings > your profile > general settings > full screen mode You can also try to enable Transparent status bar option via menu > plugins > OsmAnd development > transparent status bar