avast / android-styled-dialogs

Backport of Material dialogs with easy-to-use API based on DialogFragment
Apache License 2.0
2.15k stars 450 forks source link

Design guidelines and full screen dialogs #135

Open tprochazka opened 8 years ago

tprochazka commented 8 years ago

According the design guidelines there are two types of material dialogs: https://www.google.com/design/spec/components/dialogs.html#dialogs-simple-dialogs https://www.google.com/design/spec/components/dialogs.html#dialogs-full-screen-dialogs

Version 2.1.0 was always displayed fullscreen dialogs (small padding around the dialog) But latest version alway use huge padding according the dialog, so dialogs with more content looks very weird.

Question is. Is possible to auto detect normal and fullscreen mode according the content or it is better way provide some new method in the builder which will enable fullscreen mode on demand?