Chapter 5Designing Your User Interface with Views
In the previous chapter, you learned about the various layouts that you can use to position your views in an activity. You also learned about the techniques you can use to adapt to different screen resolutions and sizes. This chapter gives you a look at the various views that you can use to design the user interface (UI) for your applications.
In particular, the chapter covers the following ViewGroups:
- Basic views—Commonly used views, such as the
TextView
,EditText
, andButton
views - Picker views—Views that enable users to select from a list, such as the
TimePicker
andDatePicker
views - List views—Views that display a long list of items, such as the
ListView
and theSpinnerView
views - Specialized fragments—Special fragments that perform specific functions
Subsequent chapters cover the other views not covered in this chapter, such as the analog and digital clock views and other views for displaying graphics, and so on.
USING BASIC VIEWS ...
Get Beginning Android Programming with Android Studio, Fourth 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.