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

Could not drag items from Palette to Design View in Android Studio

Hi, I'm in the second track of Android where I'm learning how to create an interactive story app. In one of the lessons, I need to drag an ImageView to the design window but am unable to do so. I really do not know why but I have a feeling it's because I am in CustomView (in the component tree). Can someone please help me how to get past this? Thanks in advance!

Ben Deitch
Ben Deitch
Treehouse Teacher

Hey Joseph! Could you post your layout xml file?

Hi Ben,

Thanks for replying but I think I figured it out already. I'm not sure if this is going to affect the rest of the program but I refactored CoordinatorLayout with RelativeLayout and I'm able to drag items again to the design view. Again, thanks for your time! =)

Best regards,

JC