Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96149

Update the Android style plugin to get the Material style information

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.0 Beta3
    • Widgets: Styles

    Description

      Under QTBUG-71590, fixes were done to the widgets Android style to avoid using private APIs for style extraction and then the extraction method was set to minimal, this allows apps to get some style information but not fully. Mainly, the widgets apps won't look like the Material style which is default to Android. Qt QuickControls has a Material style which looks more or less the same as the native one, but for widgets, the style plugin tries to get the different components drawables from the Android system and reuse them on Qt. This task should look to fix that using public APIs that support Material style.

       

      Notes:

      • The Android style was using Holo theme
      • Using Material theme doesn't work
      • Using either themes on Android 9+ throws warnings (now only if style extraction method is set to default or full).
      • Using either themes on Android 11+ doesn't give correct drawables (regardless of the style extraction method).

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtandroidteam Qt Android Team
              assam Assam Boudjelthia
              Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes