Items not showing in the ActionBar with showAsAction=“always”

后端 未结 1 1036
我寻月下人不归
我寻月下人不归 2020-12-06 06:01

I\'m new to Android programming and currently trying to get the Actionbar working. My problem is, that although I set an item in the XML file to \"always\", it constantly en

相关标签:
1条回答
  • 2020-12-06 06:45

    try android:showAsAction instead of app:showAsAction. Or if you're using the appcompat_v7 backport, use both android:showAsAction and app:showAsAction(Thanks to Commonsware).

    0 讨论(0)
提交回复
热议问题