1 <?xml version="1.0" encoding="UTF-8" ?>
2 <base:View x:Class="NUITizenGallery.ImageTest2Page"
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"
10 WidthResizePolicy="FillToParent"
11 HeightResizePolicy="FillToParent"
12 BackgroundColor="#FFFFFF">
15 <LinearLayout LinearOrientation="Vertical" CellPadding="10,10" LinearAlignment="Top"/>
18 <View WidthResizePolicy="FillToParent" Position2D="0, 0" Size2D="720, 450">
20 <LinearLayout LinearOrientation="Vertical" CellPadding="10,5" LinearAlignment="Center"/>
22 <comp:Button x:Name="image1Btn" Text="AspectFit" WidthResizePolicy="FillToParent" />
23 <comp:Button x:Name="image2Btn" Text="AspectFill" WidthResizePolicy="FillToParent" />
24 <comp:Button x:Name="image3Btn" Text="Fill" WidthResizePolicy="FillToParent" />
25 <comp:Button x:Name="image4Btn" Text="BackgroundColor (Default - Red)" WidthResizePolicy="FillToParent"/>
28 <View x:Name="imgView" BackgroundColor="#ffffff" Position2D="0, 450" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
30 <LinearLayout LinearOrientation="Vertical" LinearAlignment="CenterHorizontal"/>
32 <ImageView x:Name="imageView" ResourceUrl="*Resource*/images/picture.png" />