Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.1.0
-
None
-
-
59569fd0202c52a16860fba5634e743286a19fd2
Description
Currently, we set the flag ShowIsFullscreen in Android, but what we are really doing is maximizing all windows, because the status bar is still visible unless you remove it in the AndroidManifest.
In Qt terms, the logical interpretation is that:
show(): Whatever is the platform default
showMaximized(): Fills the area of the screen which is not used for system UI
showFullscreen(): Fills the entire screen
We should follow this on Android as well. This means that instead of "ShowIsFullscreen", we should have "ShowIsMaximized" to ensure that all windows are maximized by default.
In addition, showFullscreen() should actually hide the system UI elements that we are able to hide, such as the status bar.
A way to do this which is compatible with our minimum SDK version is:
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
Attachments
Issue Links
- is required for
-
QTBUG-33863 Issues to be fixed before Qt5.2 RC1 release
- Closed