[NUI] sync with https://github.com/nui-dali/NUITizenGallery
[platform/core/csapi/tizenfx.git] / test / NUITizenGallery / res / layout / LayoutAddRemoveTest1Page.xaml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ContentPage x:Class="NUITizenGallery.LayoutAddRemoveTest1Page"
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     <ContentPage.AppBar>
11         <AppBar Title="LayoutAddRemoveTest1"/>
12     </ContentPage.AppBar>
13
14     <ContentPage.Content>
15         <ScrollableBase x:Name="rootView"
16           WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
17           HeightSpecification="{Static LayoutParamPolicies.MatchParent}">
18
19             <View.Layout>
20                 <LinearLayout LinearOrientation="Vertical" CellPadding="10,10"/>
21             </View.Layout>
22
23             <View x:Name="linear"
24               WidthSpecification="{Static LayoutParamPolicies.MatchParent}">
25
26                 <View.Layout>
27                     <LinearLayout LinearOrientation="Vertical" CellPadding="10,10"/>
28                 </View.Layout>
29
30             </View>
31
32             <Button x:Name="addButton"
33                 WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
34                 Text="Add"/>
35
36             <Button x:Name="removeButton"
37                 WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
38                 Text="Remove"/>
39
40         </ScrollableBase>
41     </ContentPage.Content>
42
43 </ContentPage>