我把它放在我的 LinearLayout 中
style="?android:attr/buttonBarStyle"
但是我遇到了这样的错误
No resource found that matches the given name (at 'style' with value '?android:attr/buttonBarStyle').
怎么解决这个问题?
最佳答案
您使用的是哪个版本? as style="?android:attr/buttonBarStyle"在 Android v3.0 中可用
检查引用:http://developer.android.com/reference/android/R.attr.html
关于找不到安卓资源,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5799410/