javiersantos / MaterialStyledDialogs

A library that shows a beautiful and customizable Material-based dialog with header. API 14+ required.
Apache License 2.0
1.17k stars 155 forks source link

added the ability to include custom views #13

Closed kobihcmomanyi closed 8 years ago

kobihcmomanyi commented 8 years ago

add your own views by using the method setCustomView(view) the method accepts a view as the only parameter.

Example: final MaterialStyledDialog dialog = new MaterialStyledDialog(context) .setCustomView(view) .build();

javiersantos commented 8 years ago

Great! Thank you so much for your PR @kobihcmomanyi :+1:

kobihcmomanyi commented 8 years ago

welcome. On 8 Mar 2016 21:44, "Javier Santos" notifications@github.com wrote:

Merged #13 https://github.com/javiersantos/MaterialStyledDialogs/pull/13 .

— Reply to this email directly or view it on GitHub https://github.com/javiersantos/MaterialStyledDialogs/pull/13#event-582160657 .

Tesvia commented 8 years ago

If I use a custom view and don't set the description, I get a space where it was supposed to be. How can I get rid of this space? Thanks