Chapter  6

Building User Interfaces and Using Controls

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 ...

Get Pro Android 4 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.