[NUI] Fix NUITizenGallery to run on Ubuntu VS-Code debugging
[platform/core/csapi/tizenfx.git] / test / NUITizenGallery / Examples / ScrollViewTest / ScrollViewTest3Page.xaml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ContentPage x:Class="NUITizenGallery.ScrollViewTest3Page"
3   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
4   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
5   WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
6   HeightSpecification="{Static LayoutParamPolicies.MatchParent}">
7
8     <!-- AppBar is top-side bar with navigation content, title, and action. If you not set any contents, back button is automatically added. -->
9     <ContentPage.AppBar>
10         <AppBar x:Name="appBar" Title="ScrollViewTest3Page"/>
11     </ContentPage.AppBar>
12
13     <!-- Content is main placeholder of ContentPage. Add your content into this view. -->
14     <ContentPage.Content>
15         <View x:Name="ContentView"
16           WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
17           HeightSpecification="{Static LayoutParamPolicies.MatchParent}">
18
19                         <View.Layout>
20                                 <LinearLayout LinearOrientation="Vertical" LinearAlignment="Begin" CellPadding="10, 10"/>
21                         </View.Layout>
22
23                         <TextLabel x:Name="scrollInfo" Text="scroll X:0, Y:0" Size2D="700,70" />
24                         <View x:Name="lblView">
25                                 <ScrollableBase x:Name="Scroller" ScrollingDirection="Vertical" HideScrollbar="false" >
26                                         <ScrollableBase.Layout>
27                                                 <LinearLayout LinearOrientation="Vertical" CellPadding="10, 10"/>
28                                         </ScrollableBase.Layout>
29
30                                         <Button x:Name="btn" Text="Test ScrollTo" Size2D="240,100" />
31                                 </ScrollableBase>
32                         </View>
33                 </View>
34         </ContentPage.Content>
35 </ContentPage>