Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialdlpuxdzztg
8,243 PointsCustom DialogFragment
Hello.
So I currently have an XML file that I created for the purpose of using it for my DialogFragment. I checked online for a tutorial on how to use an XML for the layout of a DialogFragment, but most of the tutorials were inconsistent (some suggested that I used onCreateView as opposed to onCreateDialog and vice versa). So I'm not sure how to approach this.
Thank you.
Steve Hunter
57,712 PointsSteve Hunter
57,712 PointsHey Diego,
You probably should give us an idea of what you want to achieve, what you have done, what did work, what didn't work, what error you got and what code you have written. With that someone, probably not me as this doesn't sound like my area, will be able to put an answer together for you.
With additional information, help may be forthcoming!
Steve.