Skip to content

[Dialog] Material dialog's max width of 560dp is not respected on some devices #4255

@fanwgwg

Description

@fanwgwg

Description: Full description of issue here

In M3's documentation, dialog container has a max width of 560dp on large screen devices. However, when we test the MaterialAlertDialog on different tablets, we find that this isn't always true. Especially on Lenovo, Oppo tablets, we often find these dialogs to be much smaller, at around 450dp width. Why is this so?

Android API version: 34

Material Library version: com.google.android.material:material:1.12.0

Device: Device on which the bug was encountered here
Lenovo Tab M10 Plus Gen 3
Oppo Pad 2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions