material-components-android icon indicating copy to clipboard operation
material-components-android copied to clipboard

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

Open fanwgwg opened this issue 1 year ago • 0 comments
trafficstars

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

fanwgwg avatar Aug 09 '24 09:08 fanwgwg