Building a real-world UI
These simple yet practical projects will begin to demonstrate how we can create some designs that might actually make it into a real app.
As usual, you can find all the code for this section in the download bundle in the Chapter 5/RealUI
folder.
For a bit of variation, we can see the process of creating a new emulator; let's make ourselves a Nexus 7 AVD.
Creating a tablet emulator
So, we can really go to town on our designs and add loads of new widgets and views; let's make an emulator with more screen real estate. Note that the subsequent UI projects will work fine on a phone (although look a bit more squashed) but now seemed like a good time to take a look at making a new emulator:
- Click the AVD Manager icon in the toolbar.
- On the Your Virtual Devices screen, left-click the Create Virtual Device... button.
- Now we can see the Select Hardware window. In the Category column left-click Tablet. In the Name column left-click Nexus 7 (2012). Now left-click Next.
- On...