3
我的应用程序中有以下样式。如何将样式应用于Android中的所有ImageButtons?
<style name="BtnPressed">
<item name="android:background">@drawable/btn_default</item>
</style>
现在我想申请到我申请中的所有ImageButtons
。我试图使用this question中提到的解决方案,但没有奏效。我正在使用API-7。
您是否也看过该链接的问题部分?该用户已正确设置;你必须使用带'parent =“android:Theme”'的'