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?
1 answer
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.
Find more questions by tags Android