forked from unoplatform/uno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(datepicker): Changed DatePicker to default on native picker on i…
…OS & Android.
- Loading branch information
1 parent
ef13d6a
commit 94004df
Showing
3 changed files
with
37 additions
and
34 deletions.
There are no files selected for viewing
37 changes: 22 additions & 15 deletions
37
...App/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_DatePartVisibility.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,25 @@ | ||
<Page | ||
x:Class="UITests.Windows_UI_Xaml_Controls.DatePicker.DatePicker_DatePartVisibility" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:UITests.Windows_UI_Xaml_Controls.DatePicker" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d" | ||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> | ||
x:Class="UITests.Windows_UI_Xaml_Controls.DatePicker.DatePicker_DatePartVisibility" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:xamarin="http://uno.ui/xamarin" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d xamarin" | ||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> | ||
|
||
<StackPanel> | ||
<DatePicker Header="All parts shown" /> | ||
<DatePicker Header="Month and year shown" DayVisible="False" /> | ||
<DatePicker Header="Month and day shown" YearVisible="False" /> | ||
<DatePicker Header="Day and year shown" MonthVisible="False" /> | ||
<DatePicker Header="Only year shown" MonthVisible="False" DayVisible="False" /> | ||
</StackPanel> | ||
<ScrollViewer> | ||
<StackPanel Spacing="6"> | ||
<DatePicker Header="All parts shown" xamarin:UseNativePicker="False" /> | ||
<DatePicker Header="Month and year shown" DayVisible="False" xamarin:UseNativePicker="False" /> | ||
<DatePicker Header="Month and day shown" YearVisible="False" xamarin:UseNativePicker="False" /> | ||
<DatePicker Header="Day and year shown" MonthVisible="False" xamarin:UseNativePicker="False" /> | ||
<DatePicker Header="Only year shown" MonthVisible="False" DayVisible="False" xamarin:UseNativePicker="False" /> | ||
<DatePicker Header="All parts shown (native)" xamarin:UseNativePicker="True" /> | ||
<DatePicker Header="Month and year shown (native)" DayVisible="False" xamarin:UseNativePicker="True" /> | ||
<DatePicker Header="Month and day shown (native)" YearVisible="False" xamarin:UseNativePicker="True" /> | ||
<DatePicker Header="Day and year shown (native)" MonthVisible="False" xamarin:UseNativePicker="True" /> | ||
<DatePicker Header="Only year shown (native)" MonthVisible="False" DayVisible="False" xamarin:UseNativePicker="True" /> | ||
</StackPanel> | ||
</ScrollViewer> | ||
</Page> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters