O'Reilly logo

Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android by Michael Eierman, Jakob Iversen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Layout

A layout is the visual component of a user interface in Android. The layout is not a class but rather an XML file that is used to tell the operating system what visual objects are to be displayed, how those objects are configured, and where those objects should be displayed on the screen. The XML in the file does use objects. The objects that make up an Android interface are referred to as widgets. Widgets are subclasses of the View class. Android widgets include widgets to define where other widgets are displayed (for example, RelativeLayout), to directly interact with the user (for example, RadioButton), and to provide some type of navigation within the interfaces (for example, ScrollView). Developing an understanding of the layout XML ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required