iitc-project / ingress-intel-total-conversion

ingress.com/intel total conversion user script with some new features. Should allow easier extension of the intel map.
http://iitc.jonatkins.com/
ISC License
991 stars 552 forks source link

Hide everything in fullscreen mode on mobile #594

Closed dgw closed 10 years ago

dgw commented 11 years ago

Fullscreen mode on IITC mobile still shows the Android system buttons and IITC's status bar. Having some way of hiding everything but the map would allow for screenshots of the biggest possible areas at a given zoom level (and I think it would allow putting my entire college campus in a single screenshot ;)

Exiting fullscreen could be done by swiping in from either side of the screen, and/or showing the system buttons/IITC status bar briefly whenever the user interacts with the map like many video players do.

fkloft commented 11 years ago

Hiding the IITC status bar is possible, but the Android system bar has a quirk: it is shown whenever the user interacts with the device. This is because it is important and the user could be prevented from navigating through apps. It is still useful for videos as you don't interact while watching. But IITC is an app that is constantly interacted with.

dgw commented 11 years ago

Does the system show it when the user takes a screenshot using the usual Pwr+VolDn shortcut?

fkloft commented 11 years ago

It doesn't on my nexus 4, but I cannot speak for every device. Other devices have other screenshot tools and button combinations.

jonatkins commented 10 years ago

@leCradle - Any thoughts on hiding the android controls too?

leCradle commented 10 years ago

Well...it's like @fkloft said...the android navigation bar will pop up again on any user interaction. For examples see the youtube app or the gallery. Since we have the advanced settings, we could make this an option...eventually, we start a timer when we are in fullscreen mode and the user does some input so that it is hidden again after half a second or whatever...

leCradle commented 10 years ago

How about something like this?

tmp_screenshot_2013-10-28-08-37-37-1467168502

For the navbar, I added a counter which hides it again after 2 seconds without new input. We could completely ignore all users input by overloading the setUi method, but I think this is no option because the user needs an intuitive way to exit the fullscreen mode.

Edit: I think I would add the Android statusbar as an option too...

leCradle commented 10 years ago

@dgw I think we can close this issue...?