如果我的应用程序在 3.0+ 设备上运行,我正在尝试让我的应用程序使用 Holo Light 主题,但由于某种原因,values-v11 方法不起作用。我看到很多其他人显然在使用这种方法,但是当我在 res/values-v11/themes.xml 中定义我的主题时:
<resources>
<style name="MainStyle" parent="@android:Theme.Holo.Light">
</style>
</resources>
Eclipse 给我error: Error retrieving parent for item: No resource found that matches the given name '@android:Theme.Holo.Light'.
不管我用android:Theme.Holo.Light
还是android:style/Theme.Holo.Light
.
我的 minSdkVersion 设置为 10,我的 targetSdkVersion 设置为 15。
有任何想法吗?