Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Native-looking way to implement "Preferences" UI on Android in QML?
Forum Updated to NodeBB v4.3 + New Features

Native-looking way to implement "Preferences" UI on Android in QML?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
9 Posts 4 Posters 2.6k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Violet Giraffe
    wrote on last edited by Violet Giraffe
    #1

    I have no idea how to start implementing preferences in my app. For Qt Widgets I have my own set of widgets that make it trivial; for native Android there's PreferenceActivity and PreferenceFragment classes, and for QML there's... nothing? I could slap some views together in a QML file but it would look horrible and non-native.

    Is there, perhaps, a library for creative good looking preferences UIs in QML? I can't find any.

    V 1 Reply Last reply
    0
    • V Violet Giraffe

      I have no idea how to start implementing preferences in my app. For Qt Widgets I have my own set of widgets that make it trivial; for native Android there's PreferenceActivity and PreferenceFragment classes, and for QML there's... nothing? I could slap some views together in a QML file but it would look horrible and non-native.

      Is there, perhaps, a library for creative good looking preferences UIs in QML? I can't find any.

      V Offline
      V Offline
      Violet Giraffe
      wrote on last edited by
      #2

      Bump. Any ideas? Are there even any actual Android QML devs around?..

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        @benlau's QuickAndroid project might interest you.

        Hope it helps

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        V 1 Reply Last reply
        1
        • SGaistS SGaist

          Hi,

          @benlau's QuickAndroid project might interest you.

          Hope it helps

          V Offline
          V Offline
          Violet Giraffe
          wrote on last edited by
          #4

          @SGaist
          Thanks, I already tried it out. It is an interesting library and it almost works out of the box, but it doesn't play along with the QtQuick.Controls.Material theme, nor can I find a way to customize theme colors in QuickAndroid. Do you happen to know the solution, by any chance?

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Sorry, I don't

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1
            • GTDevG Offline
              GTDevG Offline
              GTDev
              wrote on last edited by GTDev
              #6

              Hi!

              The V-Play Apps SDK also offers native-looking UI components for iOS and Android that you can use to create a settings page in QML.

              You can also have a look at the provided demos (e.g. component showcase) for sample implementation of different components.

              Cheers,
              Günther

              Senior Developer at Felgo - https://felgo.com/qt

              Develop mobile Apps for iOS & Android with Qt
              Felgo is an official Qt Technology Partner

              V 1 Reply Last reply
              0
              • GTDevG GTDev

                Hi!

                The V-Play Apps SDK also offers native-looking UI components for iOS and Android that you can use to create a settings page in QML.

                You can also have a look at the provided demos (e.g. component showcase) for sample implementation of different components.

                Cheers,
                Günther

                V Offline
                V Offline
                Violet Giraffe
                wrote on last edited by
                #7

                @GTDev
                That is very interesting! With that I could indeed make my app look native, it seems. Is that library really free, or did I miss the catch?

                raven-worxR GTDevG 2 Replies Last reply
                0
                • V Violet Giraffe

                  @GTDev
                  That is very interesting! With that I could indeed make my app look native, it seems. Is that library really free, or did I miss the catch?

                  raven-worxR Offline
                  raven-worxR Offline
                  raven-worx
                  Moderators
                  wrote on last edited by
                  #8

                  @Violet-Giraffe said in Native-looking way to implement "Preferences" UI on Android in QML?:

                  Is that library really free, or did I miss the catch?

                  See here

                  --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                  If you have a question please use the forum so others can benefit from the solution in the future

                  1 Reply Last reply
                  1
                  • V Violet Giraffe

                    @GTDev
                    That is very interesting! With that I could indeed make my app look native, it seems. Is that library really free, or did I miss the catch?

                    GTDevG Offline
                    GTDevG Offline
                    GTDev
                    wrote on last edited by GTDev
                    #9

                    @Violet-Giraffe All core features are available in the free version. The paid license is only required to use the additional plugins for analytics, in-app purchases, ads or push notifications or to remove the splash-screen at app-startup.

                    Senior Developer at Felgo - https://felgo.com/qt

                    Develop mobile Apps for iOS & Android with Qt
                    Felgo is an official Qt Technology Partner

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved