Popup menu
특정 뷰에 고정된 모달 메뉴이다.
@Overrideinflater.inflate(R.menu.actions, popup.getMenu());public boolean onMenuItemClick(MenuItem item) {return false;popup.show();
해당 위젯 클릭시 PopupMenu 를 생성한다.
'IT > Android' 카테고리의 다른 글
| 리스트 뷰 (0) | 2017.10.31 |
|---|---|
| AlertDialog를 이용하여 RatingBar 띄우기 (0) | 2017.10.23 |
| Intent (0) | 2017.10.23 |
| Action Bar (0) | 2017.10.23 |
| Dialog (0) | 2017.10.23 |