Is it possible to add a full-screen dialog in accordance with the guides for Material Design?

The guides said that the dialogues for gamers in some cases it is possible to do in full screen mode. I searched in the manuals but have not found how you can implement this using DialogFargment but to put it into Activity. Is this the right way or is there a more correct solution?
July 8th 19 at 15:59
1 answer
July 8th 19 at 16:01
Method of implementation depends on the needs (read "design") in a particular case.
In General, the full-screen dialogue is in fact the usual activities with appropriate design.
In my application there is a screen that should be a regular dialog on large devices (tablets) and full-screen on small (smartphones). For this case create activiti and ask her a theme inherited from Theme.AppCompat.DialogWhenLarge. All, you only have to customize the design of activities, setting attributes of the topic.
Well, I have a similar decision has come, thanks for the reply, thought that there is something more appropriate for the semantics of - Valentina0 commented on July 8th 19 at 16:04

Find more questions by tags Android