fa9a76bf0615d07d8ed428e18dd58ea7e32ce88b
[platform/core/csapi/tizenfx.git] / test / NUITizenGallery / res / layout / ButtonTest1Page.xaml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <b:View x:Class="NUITizenGallery.ButtonTest1Page"
3 xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
4   xmlns:b="clr-namespace:Tizen.NUI.BaseComponents;assembly=Tizen.NUI"
5   xmlns:nui="clr-namespace:Tizen.NUI.Components;assembly=Tizen.NUI.Components"
6   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
7
8     <b:View x:Name="rootView"
9             HeightResizePolicy="FillToParent"
10             WidthResizePolicy="FillToParent"
11             BackgroundColor ="#ffffff">
12         <View.Layout>
13             <LinearLayout LinearOrientation="Vertical" LinearAlignment="Top" CellPadding="50,50"/>
14         </View.Layout>
15
16         <nui:Button x:Name="button1"
17
18                     WidthResizePolicy="FillToParent"
19                     BackgroundColor="#52c7d9"
20                     PointSize="10"
21                     Text="Text Button"
22                     TextColor="#ffffff"
23                     Weight="0.12"/>
24
25         <nui:Button x:Name="button2"
26
27                     WidthResizePolicy="FillToParent"
28                     BackgroundColor="#52c7d9"
29                     PointSize="10"
30                     TextColor="#ffffff"
31                     Weight="0.12"> 
32             <nui:Button.Icon>
33                 <b:ImageView x:Name="imageview1" SizeHeight="60" SizeWidth="60" />
34             </nui:Button.Icon>            
35         </nui:Button>
36
37         <nui:Button x:Name="button3"
38
39                     WidthResizePolicy="FillToParent"
40                     BackgroundColor="#52c7d9"
41                     PointSize="10"
42                     Text="Image and Text Button"
43                     TextColor="#ffffff"
44                     Weight="0.12">
45             <nui:Button.Icon>
46                 <b:ImageView x:Name="imageview2" SizeHeight="60" SizeWidth="60" />
47             </nui:Button.Icon>      
48         </nui:Button>
49
50         <nui:Button x:Name="button4"
51
52                     WidthResizePolicy="FillToParent"
53                     BackgroundColor="#ffffff"
54                     PointSize="10"
55                     Text="Color Change"
56                     TextColor="#52c7d9"
57                     Weight="0.12">
58             <nui:Button.Icon>
59                 <b:ImageView x:Name="imageview3" SizeHeight="60" SizeWidth="60" />
60             </nui:Button.Icon>      
61         </nui:Button>
62
63         <nui:Button x:Name="button5"
64
65                     WidthResizePolicy="FillToParent"
66                     BackgroundColor="#52c7d9"
67                     PointSize="10"
68                     Text="Text Toggle"
69                     TextColor="#ffffff"
70                     Weight="0.12">
71             <nui:Button.Icon>
72                 <b:ImageView x:Name="imageview4" SizeHeight="60" SizeWidth="60" />
73             </nui:Button.Icon>      
74         </nui:Button>
75
76         <nui:Button x:Name="button6"
77
78                     WidthResizePolicy="FillToParent"
79                     BackgroundColor="#52c7d9"
80                     PointSize="10"
81                     Text="Image Toggle"
82                     TextColor="#ffffff"
83                     Weight="0.12">
84             <nui:Button.Icon>
85                 <b:ImageView x:Name="imageview5" SizeHeight="60" SizeWidth="60" />
86             </nui:Button.Icon>      
87         </nui:Button>
88
89         <nui:Button x:Name="button7"
90
91                     WidthResizePolicy="FillToParent"
92                     BackgroundColor="#52c7d9"
93                     PointSize="10"
94                     IsEnabled="False"
95                     Text="Disabled button"
96                     TextColor="#ffffff"
97                     Weight="0.12"/>
98
99         <nui:Button x:Name="button8"
100
101                     WidthResizePolicy="FillToParent"
102                     BackgroundColor="#52c7d9"
103                     PointSize="10"
104                     Text="Disabled toggle"
105                     TextColor="#ffffff"
106                     Weight="0.12"/>
107     </b:View>
108 </b:View>