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


Aishwarya Rangoonwala
Aishwarya Rangoonwala
5,249 Points

I am not able to drag and drop components in design view activity_main.xml but they show up in component tree.

When I drag and drop components from the Android Studio palette such as Buttons, TextView etc, I cannot see them in my layout. They do show up in the component tree that I have added them. And when I run the app, then too it shows up. But in the design view of activity_main.xml, they are invisible. Also, I have tried with Blan Activity instead of Empty Activity and content_main.xml.