[NUI] sync with https://github.com/nui-dali/NUITizenGallery
[platform/core/csapi/tizenfx.git] / test / NUITizenGallery / Examples / DatePickerTest / DatePickerTestPage.xaml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ContentPage x:Class="NUITizenGallery.DatePickerTestPage"
3   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
4   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
5   WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
6   HeightSpecification="{Static LayoutParamPolicies.MatchParent}"
7   ParentOrigin="Center"
8   PivotPoint="Center"
9   PositionUsesPivotPoint="true"
10   BackgroundColor="White">
11
12     <!-- AppBar is top-side bar with navigation content, title, and action. If you not set any contents, back button is automatically added. -->
13     <ContentPage.AppBar>
14         <AppBar x:Name="appBar" Title="DatePickerTestPage"/>
15     </ContentPage.AppBar>
16
17     <!-- Content is main placdeholder of ContentPage. Add your content into this view. -->
18     <ContentPage.Content>
19         <View x:Name="ContentView"
20           WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
21           HeightSpecification="{Static LayoutParamPolicies.MatchParent}">
22
23             <View.Layout>
24               <LinearLayout LinearOrientation="Vertical" LinearAlignment="CenterHorizontal" CellPadding="30,30"/>
25             </View.Layout>
26
27             <TextLabel x:Name="text1"
28                          WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
29                          HeightSpecification="100"
30                          HorizontalAlignment="Center"
31                          VerticalAlignment="Center" />
32             <Button x:Name="dateButton"
33                       WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
34                       HeightSpecification="80"
35                       Text="Date Picker" />
36             <Button x:Name="setMinButton"
37                       WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
38                       HeightSpecification="80"
39                       Text="Set Min Date" />
40             <Button x:Name="setMaxButton"
41                       WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
42                       HeightSpecification="80"
43                       Text="Set Max Date" />
44         </View>
45     </ContentPage.Content>
46 </ContentPage>