我正在尝试开发我的第一个应用程序,但收到以下错误:
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#F0A0A0A0"/>
<stroke android:width="2dp" color="#A00080FF"/>
<padding android:left="5dp" android:top="0dp"
android:right="5dp" android:bottom="1dp" />
</shape>
它在上面的宽度线上说“属性缺少android名称空间前缀”
有人可以帮忙吗?
最佳答案
您的问题不是宽度而是颜色。它应该完全合格
android:color="#A00080FF"