Android V7 Support Library Popup Menu

后端 未结 6 762
逝去的感伤
逝去的感伤 2020-12-09 19:06

I\'m trying to implement a PopupMenu with the Support V7 Library. All compiles fine but when I try to call:

    PopupMenu popup = new PopupMenu(this, v);
            


        
6条回答
  •  攒了一身酷
    2020-12-09 19:28

    You might want to check if you have an appropriate theme specified in your manifest file:

    
    

提交回复
热议问题