我正在尝试使用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
更新后的问题 –