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. Improving look & feel on Android

Improving look & feel on Android

Scheduled Pinned Locked Moved Solved Mobile and Embedded
7 Posts 2 Posters 426 Views
  • 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.
  • S Offline
    S Offline
    swurl
    wrote on 18 Jun 2024, 04:17 last edited by
    #1

    As it stands, my project works well on computers, but on Android, it doesn't look right. Everything is way too small, some icons are missing, dialogs are too small, and the keyboard covers text inputs at the bottom of the screen.

    I need ways to fix these issues without compromising the desktop experience... in other words, I want:

    • Uniform font size between Android and Desktop
    • Uniform dialog size ""
    • Bundled icons (future plans--no need for help here)
    • Automatic scrolling to show text inputs even when the keyboard might cover them

    What are my best ways to achieve this?

    Running Qt 6.8.0-beta1

    J 1 Reply Last reply 18 Jun 2024, 05:19
    0
    • S Offline
      S Offline
      swurl
      wrote on 13 Sept 2024, 18:44 last edited by
      #7

      I ended up solving this by using QML instead.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        swurl
        wrote on 18 Jun 2024, 04:19 last edited by
        #2

        Some additional oddities:

        • Theme is all white, despite the theme being fine on Desktop (gray-ish overtone)
        • Scroll areas don't work at all?
        1 Reply Last reply
        0
        • S swurl
          18 Jun 2024, 04:17

          As it stands, my project works well on computers, but on Android, it doesn't look right. Everything is way too small, some icons are missing, dialogs are too small, and the keyboard covers text inputs at the bottom of the screen.

          I need ways to fix these issues without compromising the desktop experience... in other words, I want:

          • Uniform font size between Android and Desktop
          • Uniform dialog size ""
          • Bundled icons (future plans--no need for help here)
          • Automatic scrolling to show text inputs even when the keyboard might cover them

          What are my best ways to achieve this?

          Running Qt 6.8.0-beta1

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 18 Jun 2024, 05:19 last edited by
          #3

          @swurl said in Improving look & feel on Android:

          Running Qt 6.8.0-beta1

          Any reason to use a beta version?
          Did you try with latest stable version (6.7.x)?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          S 1 Reply Last reply 18 Jun 2024, 16:09
          0
          • J jsulm
            18 Jun 2024, 05:19

            @swurl said in Improving look & feel on Android:

            Running Qt 6.8.0-beta1

            Any reason to use a beta version?
            Did you try with latest stable version (6.7.x)?

            S Offline
            S Offline
            swurl
            wrote on 18 Jun 2024, 16:09 last edited by
            #4

            @jsulm said in Improving look & feel on Android:

            @swurl said in Improving look & feel on Android:

            Running Qt 6.8.0-beta1

            Any reason to use a beta version?
            Did you try with latest stable version (6.7.x)?

            No particular reason, but I double-checked and all of these issues are present on 6.7.1 as well.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              swurl
              wrote on 20 Jun 2024, 19:07 last edited by
              #5

              It's also worth mentioning this is written using Desktop Qt (C++) and I'm not writing anything in Qt Quick.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                swurl
                wrote on 30 Jun 2024, 23:31 last edited by
                #6

                Bumping to post more results.

                Scrolling doesn't seem to work properly.

                When pressing something with a mousePressEvent and then trying to scroll, that event is triggered.

                Would also like to know how to fix these.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  swurl
                  wrote on 13 Sept 2024, 18:44 last edited by
                  #7

                  I ended up solving this by using QML instead.

                  1 Reply Last reply
                  0
                  • S swurl has marked this topic as solved on 13 Sept 2024, 18:44

                  • Login

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