Advertisement

Pro Android 4 pp 135-202 | Cite as

Building User Interfaces and Using Controls

  • Satya Komatineni
  • Dave MacLean

Abstract

Thus far, we have covered the fundamentals of Android but have not touched the user interface (UI). In this chapter, we are going to discuss user interfaces and controls. We will begin by discussing the general philosophy of UI development in Android, and then we’ll describe many of the UI controls that ship with the Android SDK. These are the building blocks of the interfaces you’ll create. We will also discuss view adapters and layout managers. View adapters are used to provide data to the controls that show sets of data, whether those sets come from arrays, databases, or other data sources. As the name suggests, a layout manager governs where controls appear on the screen. Along the way, we’ll also cover styles and themes, which help to encapsulate control-appearance attributes for easier setup and maintenance.

Keywords

Content Provider Java Code Radio Button Custom Adapter Public Class 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Satya Komatineni and Dave MacLean 2012

Authors and Affiliations

  • Satya Komatineni
  • Dave MacLean

There are no affiliations available

Personalised recommendations