2
我知道這個問題已被問了很多次。但從我讀到的,我嘗試的方法應該工作。我試圖改變菜單項的背景
我試圖按照this link.這裏提到的步驟是我的代碼吧:(styles.xml)
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme">
<item name="panelFullBackground">@drawable/background</item>
</style>
</resources>
我收到一個錯誤,指出:
No resource found that matches the given name: attr 'panelFullBackground'.