f737664b0f38f88a2d5910acd899b4e1fe418472
[platform/core/csapi/tizenfx.git] / test / NUITizenGallery / Examples / OpacityTest / OpacityTest1Page.xaml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ContentPage x:Class="NUITizenGallery.OpacityTest1Page"
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="OpacityTest1Page"/>
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         <Button Text="Opacity 0.4" Opacity="0.4" Position2D="80,100"/>
20         <Button Text="Opacity 0.2" Opacity="0.2" Position2D="340,100"/>
21         <Button Text="Opacity 0.9" Opacity="0.9" Position2D="200,200"/>
22         <View Position2D="270,300">
23             <View.Layout>
24               <LinearLayout LinearOrientation="Vertical" LinearAlignment="Center" CellPadding="10, 10"/>
25             </View.Layout>
26
27             <TextLabel Text="Opacity 0.2" Opacity="0.2"/>
28             <TextLabel Text="Opacity 0.4" Opacity="0.4"/>
29             <TextLabel Text="Opacity 0.6" Opacity="0.6"/>
30         </View>
31         <Button Text="Opacity 1.0" Opacity="1.0" Position2D="200,520"/>
32         </View>
33     </ContentPage.Content>
34 </ContentPage>