How to set the android datepicker to spinner (not calendar) mode in Xamarin Forms?
<p>When selecting the datepicker control in Xamarin Forms on an android device the Calendar Mode view of the datepicker is shown. How can I change it to show the Spinner Mode?</p>

<p>The only sample I found was to update my styles.xml</p>

<p>Here is what I have, which is not working</p>

<pre><code>&lt;resources&gt;
    &lt;style name="MyTheme.Base"
    parent="@android:style/Theme.Holo.Light.DarkActionBar"&gt;
    &lt;/style&gt;

    &lt;style name="MyTheme" parent="MyTheme.Base"&gt;
        &lt;item name="android:actionBarStyle"&gt;@style/MyTheme.ActionBarStyle&lt;/item&gt;
        &lt;item name="android:dialogTheme"&gt;@style/MyDialogTheme&lt;/item&gt;
        &lt;item name="android:datePickerStyle"&gt;@style/MyDatePicker&lt;/item&gt;
    &lt;/style&gt;

    &lt;style name="MyTheme.ActionBarStyle"
    parent="@android:style/Widget.Holo.Light.ActionBar"&gt;
        &lt;item name="android:titleTextStyle"&gt;@style/MyTheme.ActionBar.TitleTextStyle&lt;/item&gt;
        &lt;item name="android:background"&gt;@color/material_blue_500&lt;/item&gt;
    &lt;/style&gt;

    &lt;style name="MyTheme.ActionBar.TitleTextStyle" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title"&gt;
        &lt;item name="android:textColor"&gt;@android:color/white&lt;/item&gt;
    &lt;/style&gt;

    &lt;style name="MyDialogTheme" parent="android:Theme.Material.Dialog"&gt;
        &lt;item name="android:datePickerStyle"&gt;@style/MyDatePicker&lt;/item&gt;
    &lt;/style&gt;

    &lt;style name="MyDatePicker" parent="android:Widget.Material.DatePicker"&gt;
        &lt;item name="android:datePickerMode"&gt;spinner&lt;/item&gt;
    &lt;/style&gt;
&lt;/resources&gt;
</code></pre>