Both of those are "*Since: *API Level 11; API Level 11" -  HoneyComb or
later

Try changing your Minimum Android Target to 3.1 or later in the project
properties dialog

Stuart

On 30 May 2012 06:45, pdonovan <[email protected]> wrote:

> I'm trying to implement a simple inline date picker using Mono for Android
> 4.2.2.134493563. However, the Android.Widget.DatePicker class seems to have
> some missing properties. The following code doesn't compile, specifically
> the last 2 lines:
>
> Android.Widget.DatePicker p = new Android.Widget.DatePicker(context);
> p.CalendarViewShown = false;
> p.SpinnersShown = true;
>
> The above properties are mentioned in the online Mono for Android
> documentation here:
>
> http://androidapi.xamarin.com/?link=T%3aAndroid.Widget.DatePicker%2fP
>
> Is there any way I can work around this until this apparent bug is fixed?
>
> Regards,
>
> Paul
>
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/DatePicker-missing-properties-tp5710096.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> [email protected]
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to