How can i change Android Status bar color in Qt Qtuick Controls 2? (Material Design)
Solved
Mobile and Embedded
-
Dear guys
How can i change color of Android Status bar in Qt Quick Controls 2.1 in Material Design?
Thanks -
Actually, i've found the sample like this
[https://github.com/jpnurmi/statusbar](link url)
But unfortunately, in Qt 5.7.1 we this code we have a new problem, one white border line exist at the top of the toolbar and right of it.
-
Hi!
You can also have a look at V-Play Apps engine, which allows to change the tint color for the navigation- and status-bar from within QML.For example like this:
import VPlayApps 1.0 App { // change the tint onInitTheme: { Theme.colors.tintColor = "green" } // empty page with navigation bar NavigationStack { Page { title: "Dummy Page" } } }
Cheers,
Günther -
Actually, I've found this problem is in My Nexus 6 with android 7 and when i rotate device, it's fixed.
So, it's useful link
https://github.com/jpnurmi/statusbarif you have nexus device please test it
Thanks guys