2.5.2. Changing the FrameLayout to a RelativeLayout

When a GUI is displayed in the Graphical Layout editor, you can use the Properties window at the bottom of the Outline window to configure the selected layout’s or component’s properties without editing the XML directly. To select a layout or component, either select its node in the Outline window (Fig. 2.14) or click it in the Graphical Layout editor. Selecting specific components is often easier in the Outline window.

Image

Fig. 2.14 | Hierarchical GUI view in the Outline window.

To begin building the GUI, right click the container FrameLayout in the Outline window, select Change Layout..., then ...

Get Android™ How to Program, Second Edition 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.