Interview Questions

Here is a list of questions to review what you have learned in this chapter:

  1. What is an action bar, and what are its key visual components?
  2. What are three types of action bars?
  3. How do you show a menu item as an icon on the action bar?
  4. What is R.id.home?
  5. How do you design a pattern so that all your activities can share a common action/menu bar?
  6. How do you get an instance of an action bar?
  7. How do you add tabs to an action bar?
  8. How do you respond to tabs being clicked?
  9. Can a single action bar control multiple activities?
  10. What are the possible values when a menu item is shown in the action bar?
  11. Why is SpinnerAdapter important to a list navigation list?
  12. How do you pass a list of items that are clickable to a list navigation tab? ...

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.