PopupMenu(this, anchor) shows the menu:
- In a new activity
- At the top of the screen
- Anchored to the given view
- As a notification
Answer
C) Anchored to the given view
A popup menu is anchored to the view passed to its constructor.
Computer Science MCQ · More Lab: Menus and Messages MCQs · Practise