I've tried to use visual="Material" with DatePicker, but it's not working. Other controls such as 'Checkbox' etc. are working fine, but DatePicker doesn't have any Material effect.
Still, the DatePicker in iOS appears from the bottom. Isn't it should be open in a Popup like 'Android'?
Due to the native default settings, the DatePicker style is different in iOS and Android. Using Material Visual does not change the that.
If you want to use the effect for DatePicker in iOS, try the SfPicker plugin.
https://help.syncfusion.com/xamarin/picker/datepicker
Answers
I've tested the feature on a demo which works well as shown. What are the Xamarin.Forms and Material package versions in your test demo? Check the official sample, which contains the Picker part.
To enable Material Visual in your application:
Material
.Tutorial: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/visual/material-visual#apply-material-visual
@Jarvan Thanks for the reply.
It's working fine on Android. But, how does it look in iOS?
Still, the DatePicker in iOS appears from the bottom. Isn't it should be open in a Popup like 'Android'?
@tousif03raza
Due to the native default settings, the DatePicker style is different in iOS and Android. Using Material Visual does not change the that.
If you want to use the effect for DatePicker in iOS, try the SfPicker plugin.
https://help.syncfusion.com/xamarin/picker/datepicker
@Jarvan
Okay, Thanks.