material-components / material-components/material-components-android

[Catalog] add cutout mode preference

Open
#4,576 1 comment 0 reactions 1 assignee View on GitHub

@pekingme is already working on this.

Since Feb 24, 2025.

feature request Issue: Catalog
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
https://developer.android.com/about/versions/15/behavior-changes-15:
https://developer.android.com/develop/ui/views/layout/display-cutout:
The Material Components for Android should be tested in `always` cutout mode.

**Describe the solution you'd like**
Add cutout mode preference.
![Image](https://github.com/user-attachments/assets/e44453ce-b22e-4b0f-8d82-3427b4fc3bed)
![Image](https://github.com/user-attachments/assets/288270db-4796-4cc7-896c-53aca6b06747)

**Describe alternatives you've considered**
#4006: The cutout mode is set by setting a style.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.