ecd12160f88f9e7b61904ef69b8569570783138a
[platform/core/csapi/tizenfx.git] / test / NUITizenGallery / Examples / ButtonTest / ButtonTest7Page.xaml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ContentPage x:Class="NUITizenGallery.ButtonTest7Page"
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="ButtonTest7Page"/>
11     </ContentPage.AppBar>
12
13     <!-- Content is main placdeholder 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             <View.Layout>
19                 <LinearLayout LinearOrientation="Vertical" LinearAlignment="Center" CellPadding="30,30"/>
20             </View.Layout>
21
22             <TextLabel x:Name="text1"
23                          WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
24                          HeightSpecification="{Static LayoutParamPolicies.WrapContent}"
25                          PointSize="8"
26                          Text="Button Press and release event trigger test" />
27
28             <Button x:Name="button1"
29                       WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
30                       SizeHeight="70"
31                       BackgroundColor="#3db9cc"
32                       PointSize="5"
33                       Opacity="1"
34                       Text="Click me"/>
35
36             <TextLabel x:Name="text2"
37                          WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
38                          HeightSpecification="{Static LayoutParamPolicies.WrapContent}"
39                          PointSize="8"
40                          Text="Normal" />
41         </View>
42     </ContentPage.Content>
43
44 </ContentPage>