Hi All,
I’m aiming for a particular style in my app but I’ve noticed that after deploying to an Android device the Theme is not honoured.
Below is an minimal example:
import Felgo 3.0
import QtQuick 2.0
App {
onInitTheme: {
Theme.colors.tintColor = Qt.rgba(68/255, 32/255, 32/255)
Theme.colors.statusBarStyle = Theme.colors.statusBarStyleHidden
Theme.colors.textColor = "white"
Theme.backgroundColor = Theme.colors.tintLightColor
Theme.secondaryBackgroundColor = Theme.colors.tintColor
Theme.listItem.backgroundColor = Theme.colors.tintLightColor
}
NavigationStack {
ListPage {
title: qsTr("Main Page")
backgroundColor: Qt.rgba(49/255, 38/255, 62/255)
model: [
{
text: "Test 1",
detailText: "Testing 123..."
},
{
text: "Test 2",
detailText: "Testing 123..."
}
]
}
}
}
The style on my desktop (irrespective of whether Theme is set to Android/iOS/Desktop) looks nice: Desktop Style
However, when I deploy to an Android device, it looks like this (excuse the bad screen shot): Android style
Is there something I’m missing about the Theme style in Felgo? How can I achieve such a style in Android?
Many thanks!