2 shidangche shidangche 于 2016.09.08 11:14 提问

android xml文件中 showAsAction相关

Should use app:showAsAction with the appcompat library with xmlns:app="http://schemas.android.com/apk/res-auto" less... (Ctrl+F1)
When using the appcompat library, menu resources should refer to the showAsAction in the app: namespace, not the android: namespace.

Similarly, when not using the appcompat library, you should be using the android:showAsAction attribute.

1个回答

dongfeng9ge
dongfeng9ge   Ds   Rxr 2016.10.19 13:08

你的sdk版本太旧了,你下载个新版本吧

Csdn user default icon
上传中...
上传图片
插入图片