2
我创建了一个风格并将其应用到一个按钮,但是当我尝试建立我得到异常:如何解决“包'android'中找不到属性'style'的资源标识符?
No resource identifier found for attribute ‘style’ in package ‘android’
这是按钮的代码:
<Button
android:text="Settings"
android:style="@style/SecondaryButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/settingsButton"
android:layout_weight="0" />
出了什么问题?