[Android Fix] PopupMenu You must supply a layout_height attribute
Hi, I have this issue when I create PopupMenu like:
PopupMenu popupMenu = new PopupMenu(getApplicationContext(), v);
And I fix this issue by replace getApplicationContext() to this or activity.
PopupMenu popupMenu = new PopupMenu(this, v);
Phản hồi gần đây