608f07fc09e94fabe5e1cfbeedf4c5ff1c062831
[platform/core/csapi/tizenfx.git] / test / NUITizenGallery / res / layout / BrushBorderTestPage.xaml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <base:View x:Class="NUITizenGallery.BrushBorderTestPage"
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     PositionUsesPivotPoint="True" ParentOrigin="Center" 
8     PivotPoint="Center" WidthResizePolicy="FillToParent" 
9     HeightResizePolicy="FillToParent" BackgroundColor="#FFFFFF"
10     x:Name="MainView">
11
12     LinearLayout pageLayout = new LinearLayout();
13             pageLayout.LinearOrientation = LinearLayout.Orientation.Vertical;
14             pageLayout.CellPadding = new Size2D(10, 10);
15             pageLayout.Padding = new Extents(10, 10, 10, 10);
16             this.Layout = pageLayout;
17
18     <View.Layout>
19       <LinearLayout LinearOrientation="Vertical" CellPadding="0,10" LinearAlignment="Center"/>
20     </View.Layout>
21
22     <comp:Button x:Name="ButtonSolid" Text="Set solid color" WidthResizePolicy="FillToParent"/>
23     <comp:Button x:Name="ButtonGradientLinear" Text="Set linear gradient" WidthResizePolicy="FillToParent"/>
24     <comp:Button x:Name="ButtonGradientRadial" Text="Set radial gradient" WidthResizePolicy="FillToParent"/>
25
26     <base:VisualView x:Name="ViewTest1" Size2D="500,120" BackgroundColor="#0000FF"/>
27 </base:View>