I am developing an android app (API 19) with qml (Qt 5.3.1, Mac OS X 10.8.5). The fullscreen mode works, but there is a little problem. The navigation bar is hidden, but the app is not using this space (http://i.stack.imgur.com/2UXBK.jpg).
main.cpp
...
QApplication app(argc, argv);
QQuickView viewer1(QUrl(QStringLiteral("qrc:///main.qml")));
viewer1.setResizeMode(QQuickView::SizeRootObjectToView); // no effect
viewer1.showFullScreen();
return app.exec();
...
main.qml
import QtQuick 2.2
Rectangle {
color: "red"
width: 100
height: 100
}
I tried adding android:theme="@android:style/Theme.NoTitleBar.Fullscreen" to AndroidManifest.xml, but no solution.
Tested with simulator and device. Any ideas?