Recent Changes‎ > ‎

Revamped Wizards

posted Sep 14, 2011, 3:20 PM by Tor Norbye
The "New Android Project" wizard and the "New XML File" wizards have been reworked into multiple pages, to avoid having a vertical scrollbar and to streamline creating different types of projects.

Here's the new XML File Wizard. The rows of file type radio buttons, and the project text field, have both been replaced by dropdowns, and the "root element" selection is now the focus of the page with a large list instead of just a dropdown:
The "configuration folder" selector, which used to be the dominant part of the wizard, is now on page 2, and this page is optional so you can skip it by just pressing Finish on page 1:

Next, the "New Project" wizard. There are now 3 different entry points into the wizard:
  • New Android Project
  • New Android Test Project
  • New Android Sample Project
Here's the first page for creating a normal project - you enter the name, and choose whether to create a brand new project or create one from existing Android code, where to locate the project, and whether to add the project to a working set:
The second page lets you choose which SDK version to use (and we automatically select the most recent one we find) :
And on the last page you get to choose the application name, an optional activity to be created, and whether you want to create a companion test project to test the new project. All the text fields, except for the package name, have automatic defaults based on the project name, and as you edit one field the other defaults update (so for example updating the application name will update the default test application name and so on).  Note also that the "Minimum SDK" textfield is now an editable dropdown instead so you can see the various Android versions and it will translate whatever version you pick into the actual API number that it's looking for:
If you choose to create a new Test Project instead, you will be presented the same first page as the new project wizard shown above, but before the SDK selection page you will see the following page where you can choose which project to test. This selection will be used to extract information like the package name of the tested app which is listed in the test project manifest:

And finally, if you create a new Sample project, it skips the first page altogether and takes you straight to the SDK selection page (where you choose an SDK to get samples for, since the available and actual samples depend on each SDK). After that, you get to the following sample selection page, where you can choose a sample and a project name. Note that the samples are now copied into your workspace, such that you can modify them as much as you want without affecting the "master" copy in your SDK install area (up until now the sample projects pointed straight to the SDK sources so edits would be permanent).