1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ContentPage x:Class="NUITizenGallery.BackgroundColorTest1Page"
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}">
8 <!-- AppBar is top-side bar with navigation content, title, and action. If you not set any contents, back button is automatically added. -->
10 <AppBar x:Name="appBar" Title="BackgroundColorTest1Page"/>
13 <!-- Content is main placeholder of ContentPage. Add your content into this view. -->
15 <View x:Name="ContentView"
16 WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
17 HeightSpecification="{Static LayoutParamPolicies.MatchParent}">
20 <LinearLayout LinearOrientation="Vertical" LinearAlignment="Top"/>
23 <View x:Name="mainView"
24 WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
25 HeightSpecification="{Static LayoutParamPolicies.MatchParent}"
26 BackgroundColor="#00ffff"
31 <LinearLayout LinearOrientation="Vertical" LinearAlignment="Top" CellPadding="10,10"/>
34 <Button x:Name="button1"
35 WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
37 Text="Change BackgroundColor"
39 BackgroundColor="Black"/>
41 <Button x:Name="button2"
42 WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
46 BackgroundColor="Red"/>
48 <Button x:Name="button3"
49 WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
51 Text="Button2 (Blue/0.5)"
53 BackgroundColor = "Blue"
56 <Button x:Name="button4"
57 WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
59 Text="Button3 (0,0,1,.5)"
61 BackgroundColor="0,0,1,.5"
64 <TextLabel WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
66 Text="Label1 (Silver)"
67 BackgroundColor="#C0C0C0"/>
69 <TextLabel WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
71 Text="Label2 (Pink/0.5)"
72 BackgroundColor="#FF66FF"
75 <TextField WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
77 Text="This is a Entry with very looooooooooooong looooooooooooooong text, (Background color : Color.Lime)"
78 BackgroundColor="#00FF00"
81 <TextField WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
83 Text="Formatted entry (Background color : Color.Maroon)"
84 BackgroundColor="#800000"
87 <Progress WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
94 <Slider WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
97 BgTrackColor="#800080"
102 <View x:Name="loadingView"
103 BackgroundColor="Blue"
104 WidthSpecification="{Static LayoutParamPolicies.MatchParent}" >
106 <Loading x:Name="loading"
107 PositionUsesPivotPoint="True"
108 ParentOrigin="Center"
114 </ContentPage.Content>