Post Reply

Drag-n-Drop not working in Android Studio Designer

OP RogerInHawaii

8th February 2014, 04:01 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Feb 2014
I've just started using the Android Studio version of IntelliJ and am following a simple tutorial to create my first app. I'm at the design stage for designing the user interface for the app. It shows a graphic of the smartphone and the "Pallette" section that shows all the possible UI objects. Normally I would be able to drag-n-drop any of those objects over onto the layout form. But when I do that, nothing happens. The UI object (e.g. a Button) does NOT end up in the layout and it also does not end up in the Component Tree.

How do I get drag-n-drop to work for the layout design?
8th February 2014, 04:14 AM   |  #2  
OP Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Feb 2014
Figured it out
I figured it out. Even though the design panel is visible as well as the Palette and Component Tree I ALSO need to have app/src/main/res/layout/fragment_main.xml selected over in the Project panel in order for the actual design of the layout to be enabled.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in IDEs, Libraries, & Programming Tools by ThreadRank