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 trial

Android Build a Blog Reader Android App Rebuilding from Scratch Handling a Lack of Data

Button Layouts

I'm using the below code but it won't pass me for step 2 of 4 code challenge. What am I missing?

<Button> android:layout_width="wrap_content" android:layout_height="wrap_content" </Button>

2 Answers

Nothing wrong with that. Probably other part.

Make sure the closing part is ,,,,,_content" /> not _content" >

You were right , thanks !