Interview Questions

You can use the following questions as a guide to test your understanding of this chapter.

1. Can a TextView receive typed input from a user?

2. When would you use a Spannable with an EditText field?

3. How can you customize the way an ImageButton looks during the press and release actions?

4. Does an adapter always need to get data from a content provider?

5. Can a ListView contain more than one view?

6. Must a ListView always contain at least one TextView?

7. What defines the layout for a ListView item, and where do you find one of these?

8. How is a Spinner different from the other list controls?

9. To display a list of names from a database table in a row-and-column format, is it better to use a TableLayout or a GridView ...

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.