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.


Figure 6–2. ...

Get Pro Android 4 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.