Same Date Picker for Both Andorid and iOS in Xamarin.forms

Subbu Naidu 11 Reputation points
2021-04-07T16:34:14.963+00:00

Hi,
I want to show same date picker (UI) for both Android and iOS using Xamarin.Forms

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JessieZhang-MSFT 7,706 Reputation points Microsoft Vendor
    2021-04-08T05:57:20.227+00:00

    Hello,

    Welcome to our Microsoft Q&A platform!

    You can use Xamarin.Forms Material Visual to achieve this.
    Material Design is an opinionated design system created by Google, that prescribes the size, color, spacing, and other aspects of how views and layouts should look and behave.

    Xamarin.Forms Material Visual can be used to apply Material Design rules to Xamarin.Forms applications, creating applications that look largely identical on iOS and Android. When Material Visual is enabled, supported views adopt the same design cross-platform, creating a unified look and feel.

    Material Visual currently supports the following controls:

    ActivityIndicator
    Button
    CheckBox
    DatePicker
    Editor
    Entry
    Frame
    Picker
    ProgressBar
    Slider
    Stepper
    TimePicker

    For DatePicker , you can check https://learn.microsoft.com/en-us/dotnet/api/xamarin.forms.datepicker?view=xamarin-forms

    For more about Xamarin.Forms Material Visual, you can check: https://learn.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/visual/material-visual

    Best Regards,

    Jessie Zhang

    ---
    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments