Creating a custom Dialog with DialogFragment

Paolo Montalto
Aug 29, 2017 · 2 min read

Ever since android was release, creating a dialog with a custom layout has always been tricky, since Android Dialog class was not meant to do so.

Fortunately with API level 11 the Android team released the DialogFragment which subsequently was added to the support library making it available for all targets.

Keep the story going. Sign up for an extra free read.

You've completed your member preview for this month, but when you sign up for a free Medium account, you get one more story.
Already have an account? Sign in

Paolo Montalto

Written by

Freelance, mobile developer, software craftsman, guitar strummer, husband, father, humble.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade