Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Timothy Boland
Timothy Boland
18,237 Points

Exploring The Master Detail Template - Extra Credit

Here are the instructions:

"List Item Customization The detail items in the Master-Detail template are configured using the fragment_post_detail.xml file. Add another TextView to this file that displays mItem.content in addition to mItem.description. Hint: You'll need to add another line similar to the existing one inside the onCreateView() method in BlogPostDetailFragment.java."

Im trying to add a TextView to the fragment_post_detail.xml file, but will not let me drag one onto the screen via the Graphical Layout...am i misunderstanding the directions?

David Hernandez
David Hernandez
4,997 Points

I'm encountering the same problem, did you figure out how to do this?

1 Answer

Ben Jakuben
Ben Jakuben
Treehouse Teacher

You're on the right track! Maybe try doing it in XML instead? The Graphical Layout editor can be a little funny sometimes.