app:showAsAction="ifRoom" means the item:

  1. Always appears in the overflow
  2. Never appears
  3. Appears in the app bar if there is space, otherwise in the overflow
  4. Appears only in landscape
Answer

C) Appears in the app bar if there is space, otherwise in the overflow

ifRoom depends on available space.

Computer Science MCQ · More Action Bar and User Interface Design MCQs · Practise