[NUI] Change for Size2D property to own internalSize2D which is cashed to prevent...
[platform/core/csapi/tizenfx.git] / test / NUITizenGallery / res / layout / FrameLayoutTest1Page.xaml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <base:View x:Class="NUITizenGallery.FrameLayoutTest1Page"
3   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
4   xmlns:base="clr-namespace:Tizen.NUI.BaseComponents;assembly=Tizen.NUI"
5   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
6   BackgroundColor="White"
7   WidthSpecification="{Static LayoutParamPolicies.MatchParent}" 
8   HeightSpecification="{Static LayoutParamPolicies.MatchParent}" >
9
10     <View.Layout>
11         <RelativeLayout />
12     </View.Layout>
13
14     <View x:Name="topLeft"
15           BackgroundColor="#FF66FF"
16           RelativeLayout.RightRelativeOffset="0.5"
17           RelativeLayout.BottomRelativeOffset="0.5"
18           RelativeLayout.FillHorizontal="True"
19           RelativeLayout.FillVertical="True"/>
20
21     <View x:Name="topRight"
22           BackgroundColor="Blue"
23           RelativeLayout.LeftRelativeOffset="0.5"
24           RelativeLayout.RightRelativeOffset="1.0"
25           RelativeLayout.BottomRelativeOffset="0.5"
26           RelativeLayout.FillHorizontal="True"
27           RelativeLayout.FillVertical="True"/>
28
29     <View x:Name="bottomRight"
30           BackgroundColor="Red"
31           RelativeLayout.RightRelativeOffset="0.5"
32           RelativeLayout.BottomRelativeOffset="1.0"
33           RelativeLayout.TopRelativeOffset="0.5"
34           RelativeLayout.FillHorizontal="True"
35           RelativeLayout.FillVertical="True"/>
36
37     <View x:Name="bottomLeft"
38           BackgroundColor="Yellow"
39           RelativeLayout.LeftRelativeOffset="0.5"
40           RelativeLayout.RightRelativeOffset="1.0"
41           RelativeLayout.BottomRelativeOffset="1.0"
42           RelativeLayout.TopRelativeOffset="0.5"
43           RelativeLayout.FillHorizontal="True"
44           RelativeLayout.FillVertical="True"/>
45
46     <View x:Name="parentBox"
47           BackgroundColor="1.0, 0.3, 0.4, 0.3"
48           RelativeLayout.LeftRelativeOffset="0.25"
49           RelativeLayout.RightRelativeOffset="0.75"
50           RelativeLayout.TopRelativeOffset="0.25"
51           RelativeLayout.BottomRelativeOffset="0.75"
52           RelativeLayout.FillHorizontal="True"
53           RelativeLayout.FillVertical="True"/>
54
55     <TextLabel x:Name="label"
56                Text="I'm button &amp; Center Label"
57                MultiLine="True"
58                LineWrapMode="Word"
59                HorizontalAlignment="Center"
60                RelativeLayout.LeftRelativeOffset="0.25"
61                RelativeLayout.RightRelativeOffset="0.75"
62                RelativeLayout.TopRelativeOffset="0.9"
63                RelativeLayout.BottomRelativeOffset="1.0"
64                RelativeLayout.FillHorizontal="True"
65                RelativeLayout.FillVertical="True"/>
66
67     <Button x:Name="button"
68             RelativeLayout.LeftRelativeOffset="0.033"
69             RelativeLayout.RightRelativeOffset="0.967"
70             RelativeLayout.TopRelativeOffset="0.25"
71             RelativeLayout.BottomRelativeOffset="0.75"
72             RelativeLayout.FillHorizontal="True"
73             RelativeLayout.FillVertical="True"
74             Text="I'm centered Button"
75             TextAlignment="Center"
76             PointSize="8"/>
77
78 </base:View>