1:activity_main.xml报错:
解决方法:在按钮的时候加入:style="?android:attr/buttonBarButtonStyle"
![]5~QYOD@0WK406T2ZB9W42D.png](http://upload-images.jianshu.io/upload_images/3058898-b287838c3c014540.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
1:activity_main.xml报错:
解决方法:在按钮的时候加入:style="?android:attr/buttonBarButtonStyle"
![]5~QYOD@0WK406T2ZB9W42D.png](http://upload-images.jianshu.io/upload_images/3058898-b287838c3c014540.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)