[Android-development] Fullscreen bug
Harri Pasanen
harri at mpaja.com
Thu Feb 26 09:43:12 CET 2015
Just a heads up that I created https://bugreports.qt.io/browse/QTBUG-44678
At the test case is pretty short, I put it below for convenience.
Any workarounds that spring to mind to get rid of the toolbar?
Thanks,
Harri
import QtQuick 2.3
import QtQuick.Controls 1.2
import QtQuick.Window 2.2
Window {
id: appWindow
visible: true
width: 800
height: 480
visibility: "FullScreen" // QWindow::FullScreen
Menu {
id: menu
MenuItem {
text: qsTr("Choice 1, notice Android Toolbar popped up.")
onTriggered: {
console.log('choice 1')
msg.text = "We are fullscreen, but after menu the
Android toolbar is left on screen"
}
}
MenuItem {
text: qsTr("Quit")
onTriggered: {
console.log('exiting')
Qt.quit()
}
}
}
MouseArea {
anchors.fill: parent
onClicked: {
menu.popup()
}
}
Text {
id: msg
text: qsTr("We are fullscreen, no Android toolbar is visible")
anchors.centerIn: parent
}
}
More information about the Android-development
mailing list