1
附加<申報,設置樣式>標記請幫助我,錯誤的聲明,設置樣式標籤:沒有發現標籤錯誤時的Android
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<declare-styleable name=」Gallery1」>
<attr name=」android:galleryItemBackground」 />
</declare-styleable>
</resources>
看到這個答案http://stackoverflow.com/questions/4585808/difference-between-declare-styleable-and-style –