我正在嘗試使用Sherlock。 當我的項目min sdk 2.2和max api 15時,我所做的步驟是將abc庫帶到我的項目中。問題是我無法設置樣式來使用它。 錯誤使用樣式Theme.Sherlock時未找到資源
Error retrieving parent for item: No resource found that matches the given name '@style/ Theme.Sherlock'.
我的XML代碼:
<resources>
<style name="AppTheme" parent="@style/Theme.Sherlock" />
</resources>
我的清單文件:
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme">
,我用的是1.6 java的。我正在運行4.0.3 avd。 我知道你會給我一個網站的鏈接,但我沒有找到任何可以幫助的。 我正在使用eclipse和Sherlock 4.0.3.If你可以給我解決方案如何做到這一點簡單的方法與指示。
更新: 我不知道爲什麼,但是當我在我的項目做導入庫ABC它看起來不錯,但是當我點擊申請,並退出返回到庫後的設置,我看到紅色的x。
謝謝。
輸出寫着''@風格/ Theme.Sherlock'',用空格。你是否可能使用'__Theme_Sherlock'在清單或應用程序本身中設置主題? – Eric
更新後的問題 –