Material Design in a XF app

AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭

Hi friends.
I have a question
I have a XF app and I would like to use Material Theme in Android prj. I am using these info

https://developer.xamarin.com/guides/android/user_interface/material-theme/#Compatibility

If I add a Theme with

<resources>
    <style name="MyCustomTheme" parent="android:Theme.Material">
        <!-- Your customizations go here -->
    </style>
</resources>

in my Resources/values-v21/styles.xml, I have a error:

Object reference not set to an instance of an object.

If I use parent="Theme.AppCompat, I have no exception

@JamesMontemagno have you some suggestions?

Sign In or Register to comment.