O'Reilly logo

Android Quick APIs Reference by Onur Cinar

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

Chapter    5

Layouts and Views

The Android platform provides a comprehensive UI framework for mobile applications to provide easy-to-use and consistent user interfaces. This chapter covers the supported static and dynamic layouts, user interface components for both input and output, and the Fragment API (application programming interface) to develop modular and reusable user interface parts.

Layouts

On the Android platform, the visual structure of the application’s user interface is defined through the layouts. Each layout type is a subclass of the ViewGroup class. The layout can contain individual View and also other ViewGroup elements. As a ViewGroup flavor, the layout is responsible for providing the necessary logic to position and draw its ...

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