QML - How to keep header and footer fix for all apps.
-
We want to create a header and footer which will be always present in the screen, and other apps will launch within available area between header and footer. If any 3rd party app is launched, then still QT QML header and footer should be on top and be visible, interactive for user. How to implement this usecase. I am using QT Creator and QT 6.8.3 version.
-
We want to create a header and footer which will be always present in the screen, and other apps will launch within available area between header and footer. If any 3rd party app is launched, then still QT QML header and footer should be on top and be visible, interactive for user. How to implement this usecase. I am using QT Creator and QT 6.8.3 version.
@GShelkar said in QML - How to keep header and footer fix for all apps.:
I am using QT Creator and QT 6.8.3 version.
And which platform(s) are you targetting? If you're only targetting embedded systems, then you could write a custom Wayland compositor (using the Qt Wayland Compositor: https://doc.qt.io/qt-6/qtwaylandcompositor-minimal-qml-example.html ) and have your header + footer as part of the compositor.
If your app manages the 3rd-party apps too, then the Qt Application Manager could be a candidate: https://doc.qt.io/QtApplicationManager/introduction.html
-
@GShelkar said in QML - How to keep header and footer fix for all apps.:
I am using QT Creator and QT 6.8.3 version.
And which platform(s) are you targetting? If you're only targetting embedded systems, then you could write a custom Wayland compositor (using the Qt Wayland Compositor: https://doc.qt.io/qt-6/qtwaylandcompositor-minimal-qml-example.html ) and have your header + footer as part of the compositor.
If your app manages the 3rd-party apps too, then the Qt Application Manager could be a candidate: https://doc.qt.io/QtApplicationManager/introduction.html
@JKSH We are targeting Qualcomm 6155 board, with Android 14. Yes we are managing 3rd party apps as well. We want our custom header and footer should always be present and visible to user. And centre part will be available to show all apps screen, can launch any QT or 3rd party application in between area.
-
@JKSH We are targeting Qualcomm 6155 board, with Android 14. Yes we are managing 3rd party apps as well. We want our custom header and footer should always be present and visible to user. And centre part will be available to show all apps screen, can launch any QT or 3rd party application in between area.
@GShelkar Is this architecture is for building a custom Embedded Linux system from the ground up only?
Our platform is Qualcomm 6155 board, where we are running Android with QNX, where cluster will run on QNX and android will show IVI and copassenger,, now we want to develop fixed header and footer in QT QML for IVI and copassenger screen and any QT or 3rd party will run within available area, which is in Android 14, its 4W eCockpit solution. -
OK, my previous links were for Wayland, so they don't apply to Android.
Is this for Android Automotive? If so, then you probably want to use the ActivityView to embed your 3rd-party apps, and you can put your own header and footer around the ActivityView:
- https://www.qt.io/blog/qt-android-activity-view
- https://doc.qt.io/QtAndroidAutomotive-6.9/activityview-examples.html
Please note: Qt for Android Automotive is a commercial-only product, and is not available to most users on this community forum. If you require further assistance, please contact Qt Support