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

Add a new InputDialogFragment which has an EditText #115

Closed wangyeming closed 9 years ago

wangyeming commented 9 years ago

App collapses when landscape the phone, please give me sometime to fix the bug. Now it's ok!

TomasKypta commented 9 years ago

Hi, thanks for the contribution.

Unfortunately the changes does follow our desired architecture of the library. Moreover we've already discussed this earlier and found that EditText is very variable widget - somebody needs password, somebody numbers, somebody two EditTexts in the dialog. So we decided it's better to keep the library simple and not to include any form of EditTextDialog. Anybody can create his own input dialog using custom view.

wangyeming commented 9 years ago

Maybe you are right. Thanks your projects!

davidvavra commented 9 years ago

Hey, how about you add EditTextDialog to the demo app? It will not be part of the library, but people who need it can easily grab it from there/modify it/learn how custom dialogs work.