2.9 Wrap-Up

In this chapter, you used Android Studio to build the Welcome app that displays a welcome message and an image without writing any code. You created a simple GUI using the IDE’s layout editor and configured view properties using the Properties window.

In the layout XML file, you changed the default RelativeLayout to a LinearLayout, which you then configured to arrange views vertically. The app displayed text in a TextView and a picture in an ImageView. You modified the TextView from the default GUI to display the app’s text centered in the GUI, with a larger font size and in one of the standard theme colors. You also used the layout editor’s Palette of GUI controls to drag and drop the ImageView onto the GUI. Following good practice, ...

Get Android How to Program, 3/e now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.