14
score
6K
views
no
status
CC BY-SA 3.0
PopupMenu Icon doesn't show
The MenuBuilder is a hidden class but does contain a method to show icons. You will need to use reflection to show the icons in the menu. Try adding this in showPopop(View, int) :
Technical answers from my Stack Overflow history, with source links and licenses.
Showing 2 of 2 answers tagged listview
Exported May 9, 2026
The MenuBuilder is a hidden class but does contain a method to show icons. You will need to use reflection to show the icons in the menu. Try adding this in showPopop(View, int) :
You can change the EdgeEffect color of a ListView or GridView using reflection. Copy the following static factory methods into your project and use setEdgeGlowColor(yourListView, yourAwesomeColor); :