Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

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

If I add a Theme with

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

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.