Understanding Android's Common Controls

We will now start our discussion of the common controls in the Android SDK. We'll start with text controls and then cover buttons, check boxes, radio buttons, lists, grids, date and time controls, and a map-view control. We will also talk about layout controls.

Text Controls

Text controls are likely to be the first type of control that you'll work with in Android. Android has a complete but not overwhelming set of text controls. In this section, we are going to discuss the TextView, EditText, AutoCompleteTextView, and MultiCompleteTextView controls. Figure 6–2 shows the controls in action.

Image

Figure 6–2. ...

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.