1 <?xml version="1.0" encoding="UTF-8" ?>
2 <comp:ContentPage x:Class="NUITizenGallery.PerformanceTest1Page"
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 WidthSpecification="{Static LayoutParamPolicies.MatchParent}" HeightSpecification="{Static LayoutParamPolicies.MatchParent}"
8 ParentOrigin="Center" PivotPoint="Center"
9 PositionUsesPivotPoint="true" BackgroundColor="White">
11 <comp:ContentPage.AppBar>
12 <comp:AppBar x:Name="appBar" Title="PerformanceTest1Page"/>
13 </comp:ContentPage.AppBar>
15 <comp:ContentPage.Content>
16 <base:View x:Name="ContentView"
17 WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
18 HeightSpecification="{Static LayoutParamPolicies.MatchParent}" >
20 <LinearLayout LinearOrientation="Vertical" LinearAlignment="Top" CellPadding="10,10" />
23 <comp:Button x:Name="StartButton" Text="Scroll to 999" WidthSpecification="{Static LayoutParamPolicies.MatchParent}" HeightSpecification="80"/>
25 <base:TextLabel x:Name="FPSLabel" WidthSpecification="{Static LayoutParamPolicies.MatchParent}" HeightSpecification="60" PointSize="8"
26 Text="Click scroll button to measure FPS"/>
28 <comp:ScrollableBase x:Name="Scroller" SnapToPage="true" ScrollingDirection="Vertical"
29 WidthSpecification="{Static LayoutParamPolicies.MatchParent}" HeightSpecification="{Static LayoutParamPolicies.MatchParent}" BackgroundColor="Blue">
30 <comp:ScrollableBase.Layout>
31 <LinearLayout LinearOrientation="Vertical" LinearAlignment="Center" CellPadding="5,5"/>
32 </comp:ScrollableBase.Layout>
33 </comp:ScrollableBase>
35 </comp:ContentPage.Content>