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"
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;
19 <LinearLayout LinearOrientation="Vertical" CellPadding="0,10" LinearAlignment="Center"/>
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"/>
26 <base:VisualView x:Name="ViewTest1" Size2D="500,120" BackgroundColor="#0000FF"/>