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

Android 11 - Display Cutout

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.3
    • Fix Version/s: 6.4.0 FF, 6.4
    • Component/s: Extras: Android
    • Labels:
      None

      Description

      Overview:

      Android 11 provides several APIs to support waterfall displays, displays that wrap around the edge of the device. These displays are treated as a variant of displays with display cutout, which is an API for the top notch, camera cutout, or any other cutout.

      https://developer.android.com/reference/android/view/DisplayCutout

      Example:

      The existing DisplayCutout.getSafeInset…() methods now return the safe inset to avoid waterfall areas as well as cutouts. To render your app content in the waterfall area, do the following:

      • Set the window layout attribute layoutInDisplayCutoutMode to LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS to allow the window to extend into the cutout and waterfall areas on all edges of the screen. You must make sure that no essential content is in the cutout or waterfall areas.

      Proposed Actions:

      • Check if it is interesting to use this API to render app content in the waterfall area

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qtandroidteam Qt Android Team
              Reporter:
              samuelmira Samuel Mira
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes