[NUI] Change for Size2D property to own internalSize2D which is cashed to prevent...
[platform/core/csapi/tizenfx.git] / test / NUITizenGallery / res / layout / SwipeViewTest1Page.xaml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <comp:ContentPage x:Class="NUITizenGallery.SwipeViewTest1Page"
3   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
4   xmlns:base="clr-namespace:Tizen.NUI.BaseComponents;assembly=Tizen.NUI"
5   xmlns:comp="clr-namespace:Tizen.NUI.Components;assembly=Tizen.NUI.Components"
6   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
7   HeightResizePolicy="FillToParent"
8   WidthResizePolicy="FillToParent"
9   ParentOrigin="Center"
10   PivotPoint="Center"
11   PositionUsesPivotPoint="true"
12   BackgroundColor="White">
13
14     <comp:ContentPage.AppBar>
15         <comp:AppBar x:Name="appBar"
16                     Title="SwipeViewTest1"/>
17     </comp:ContentPage.AppBar>
18
19     <comp:ContentPage.Content>
20       <base:View x:Name="ContentView"
21         WidthSpecification="{Static LayoutParamPolicies.MatchParent}" 
22         HeightSpecification="{Static LayoutParamPolicies.MatchParent}" >
23
24         <View.Layout>
25             <LinearLayout LinearOrientation="Vertical" LinearAlignment="CenterHorizontal" CellPadding="30,30"/>
26         </View.Layout>
27
28         <View x:Name="table" >
29             <base:View.Layout >
30                 <GridLayout Columns="3" Rows="4" GridOrientation="Horizontal" ColumnSpacing="2" RowSpacing="2" />
31             </base:View.Layout>
32
33             <TextLabel x:Name="text1"
34                         GridLayout.Column="1" GridLayout.Row="0"
35                         HorizontalAlignment="Center"
36                         PointSize="8"
37                         SizeHeight="70"
38                         Text="SwipeGestureRecognizer" />
39
40             <TextLabel x:Name="text2"
41                     GridLayout.Column="1" GridLayout.Row="1"
42                     WidthSpecification="200"
43                     HorizontalAlignment="Center"
44                     VerticalAlignment="Center"
45                     PointSize="8"/>
46
47             <TextLabel x:Name="text3"
48                     GridLayout.Column="1" GridLayout.Row="3"
49                     WidthSpecification="200"
50                     HorizontalAlignment="Center"
51                     VerticalAlignment="Center"
52                     PointSize="8"/>
53
54             <View x:Name="img1View" GridLayout.Column="0" GridLayout.Row="2" SizeWidth="100" SizeHeight="100">
55               <ImageView x:Name="image1"
56                       SizeWidth="1" SizeHeight="1"
57                       ResourceUrl="*Resource*/images/tizen.png" />
58             </View>
59
60             <View x:Name="img2View" GridLayout.Column="2" GridLayout.Row="2" SizeWidth="100" SizeHeight="100">
61               <ImageView x:Name="image2"
62                       SizeWidth="1" SizeHeight="1"
63                       ResourceUrl="*Resource*/images/tizen.png" />
64             </View>
65
66             <View x:Name="imgView" BackgroundColor="#ffffff" GridLayout.Column="1" GridLayout.Row="2">
67               <View.Layout>
68                   <LinearLayout LinearOrientation="Vertical" LinearAlignment="CenterHorizontal"/>
69               </View.Layout>
70
71               <ImageView x:Name="imageView"
72                         SizeWidth="200"
73                         SizeHeight="200"
74                         ResourceUrl="*Resource*/images/Boston.png" />
75
76             </View>
77
78         </View>
79       </base:View>
80     </comp:ContentPage.Content>
81 </comp:ContentPage>
82