app:showAsAction="ifRoom" means the item:
- Always appears in the overflow
- Never appears
- Appears in the app bar if there is space, otherwise in the overflow
- 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