Android V7 Support Library Popup Menu

后端 未结 6 769
逝去的感伤
逝去的感伤 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:45

    Also check if there is another style that is applied within each activities in manifest.xml. This will override Theme.AppCompat in application tag.

提交回复
热议问题