我想在程序兼容性主题添加到我的Android xamarin项目,但VS是不承认的主题。我添加引用,你可以在图片中看到。没有资源发现,马赫在Visual Studio中给定的名称Theme.AppCompat.Light.NoActionBar - Xamarin
我styles.xml看起来是这样的:
<?xml version="1.0" encoding="utf-8" ?>
<resources>
<style name="MyTheme" parent="Theme.AppCompat.Light.NoActionBar">
...
</style>
</resources>
而且我得到这个错误:
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.NoActionBar'
任何帮助吗?
尝试删除引用,并从文件夹中删除添加在新鲜和问题为我解决了。 –