2.6. Running the Welcome App
To run the app in an Android Virtual Device (AVD) for a phone, perform the steps shown in Section 1.9.1. Figure 2.25 shows the running app in the Nexus 4 AVD that you configured in the Before You Begin section. The app is shown in portrait orientation, where the device’s height is greater than its width. Though you can rotate your device or AVD to landscape orientation (where the width is greater than the height), this app’s GUI was not designed for that orientation. In the next chapter, you’ll learn how to restrict an app’s orientation and in subsequent chapters, you’ll learn how to create more dynamic GUIs that can handle both orientations.
Fig. 2.25 | Welcome app running in an AVD.
If you’d like, you can follow ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access