I’m watching a video from Google I/O on a way to create an android app by dragging and dropping elements onto the eclipse window. Example: if you want a button, you just drag a button onto the screen.
http://www.youtube.com/watch?v=Oq05KqjXTvs @ 0:07:25
I’ve downloaded JDK, Android SDK, and the ADT Plugin, but, I cannot figure out how to get to the place where I can drag ‘n’ drop controls into my app. In Eclipse, after configuring the ADT Plugin, I went to File -> New -> Project -> Android Project, and I do not see a panel on the left with a list of controls.
Am I missing something? Thanks.
You can only drag and drop on to layout files (.xml). Now that you have created a new project, you will have automatically created the default main.xml. This will be in the res\layout folder as shown in the project explorer view. If you click on that you will get two tabs for editing it, one is plain text, the other is the graphical view – this is where you drag widgets to.