Skip to content

[Material3: DialogWhenLarge] Activity shown as dialogue even on non-large device #3400

@mtotschnig

Description

@mtotschnig

The DialogWhenLarge theme in Material3 is broken. It no longer behaves like Material2, Appcompat or Platform DialogWhenLarge themes. Using Theme.Material3.DayNight.DialogWhenLarge on a Pixel2 emulator, I get
Screenshot_1684144553

Expected behavior: Content should be shown as normal window on phone, as dialogue on large devices (tablets)

Material Library version: 1.9.0

Device: Pixel2 emulator

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions