Imported Upstream version 0.9.1
[platform/upstream/iotivity.git] / service / soft-sensor-manager / SampleApp / tizen / SSMTesterApp / res / ui_controls.edc
1 /*
2  * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  *  Licensed under the Apache License, Version 2.0 (the "License");
5  *  you may not use this file except in compliance with the License.
6  *  You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  *  Unless required by applicable law or agreed to in writing, software
11  *  distributed under the License is distributed on an "AS IS" BASIS,
12  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *  See the License for the specific language governing permissions and
14  *  limitations under the License.
15  *
16  */
17
18 collections {
19    base_scale: 1.8;
20    group { name: "mainpage_layout";
21    parts{
22            part { name: "query_text_bg";
23                  type: RECT;
24                  scale: 1;
25                  description { state: "default" 0.0;
26                     color: 220 220 220 255;
27                                     
28                       align: 0.0 0.02;
29                       // set the size to 200x200
30                       min: 200 200;
31                       max: 350 250;     
32                  }
33               }
34            
35         part { name: "query_text";
36                    type: SWALLOW;
37                    description 
38                    { 
39                       state: "default" 0.0;                   
40                       rel1.to: "query_text_bg";
41               rel2.to: "query_text_bg";      
42                         }
43         }
44         part { name: "register";
45                    type: SWALLOW;
46                    description 
47                    { 
48                       state: "default" 0.0;
49                       align: 0.2 0.01;
50
51                       min: 100 100;
52                       max: 275 100;               
53
54                       rel1.relative: 1.0 0.1;
55                       rel1.to: "query_text";
56                       //rel2.relative: 1.0 1.0;                                  
57                         }
58         }
59         part { name: "clear";
60                    type: SWALLOW;
61                    description 
62                    { 
63                       state: "default" 0.0;
64                       align: 0.0 0.02;
65                       // set the size to 200x200
66                       min: 100 100;
67                       max: 275 100;                                  
68                       rel1.relative: 0.0 1.0;
69                       rel1.to: "register";
70                      // rel2.relative: 1.0 1.0;   
71                         }
72         }
73         
74         part { name: "example_queries";
75                    type: SWALLOW;
76                    description 
77                    { 
78                       state: "default" 0.0;
79                       align: 0.0 0.02;
80                       // set the size to 200x200
81                       min: 100 100;
82                       max: 500 100;                                  
83                       rel1.relative: 0.0 1.0;
84                       rel1.to: "query_text";
85                       rel2.relative: 1.0 1.0;   
86                         }
87         }
88         
89         part { name: "search_devices";
90                    type: SWALLOW;
91                    description 
92                    { 
93                       state: "default" 0.0;
94                       align: 0.0 0.0;
95                       // set the size to 200x200
96                       min: 100 100;
97                       max: 360 100;                                  
98                       rel1.relative: 0.0 0.7;
99                       rel1.to: "example_queries";
100                       rel2.relative: 1.0 1.0;   
101                         }
102         }
103         
104         part { name: "discomfort_index";
105                    type: SWALLOW;
106                    description 
107                    { 
108                       state: "default" 0.0;
109                       align: 0.1 0.0;
110                       // set the size to 200x200
111                       min: 100 100;
112                       max: 360 100;                                  
113                       rel1.relative: 1.0 0.0;
114                       rel1.to: "search_devices";
115                       rel2.relative: 1.0 1.0;   
116                         }
117         }
118         
119         part { name: "unregister_query_label";
120                    type: SWALLOW;
121                    description 
122                    { 
123                       state: "default" 0.0;
124                       align: 0.0 0.02;
125                       // set the size to 200x200
126                       min: 100 100;
127                       max: 500 100;                                  
128                       rel1.relative: 0.0 1.0;
129                       rel1.to: "search_devices";
130                       rel2.relative: 1.0 1.0;   
131                         }
132         }
133         
134         part { name: "minus";
135                    type: SWALLOW;
136                    description 
137                    { 
138                       state: "default" 0.0;
139                       align: 0.0 0.02;
140                       // set the size to 200x200
141                       min: 100 100;
142                       max: 100 100;                                  
143                       rel1.relative: 0.0 0.7;
144                       rel1.to: "unregister_query_label";
145                       rel2.relative: 1.0 1.0;   
146                         }
147         }
148         
149         part { name: "unregister_query_id_bg";
150                  type: RECT;
151                  scale: 1;
152                  description { state: "default" 0.0;
153                     color: 220 220 220 255;
154                                     
155                       align: 0.02 0.0;
156                       // set the size to 200x200
157                       min: 100 75;
158                       max: 175 75;      
159                       
160                       rel1.relative: 1.0 0.0;
161                       rel1.to: "minus";
162                       rel2.relative: 1.0 1.0;  
163                  }
164               }
165         
166         
167         part { name: "unregister_query_id";
168                    type: SWALLOW;
169                    description 
170                    { 
171                       state: "default" 0.0;
172                           rel1.to: "unregister_query_id_bg";
173               rel2.to: "unregister_query_id_bg";                                                                              
174                         }
175         }
176         
177         part { name: "plus";
178                    type: SWALLOW;
179                    description 
180                    { 
181                       state: "default" 0.0;
182                       align: 0.02 0.0;
183                       // set the size to 200x200
184                       min: 100 100;
185                       max: 100 100;                                  
186                       rel1.relative: 1.0 0.0;
187                       rel1.to: "unregister_query_id";
188                       rel2.relative: 1.0 1.0;   
189                         }
190         }
191         
192         part { name: "unregister_button";
193                    type: SWALLOW;
194                    description 
195                    { 
196                       state: "default" 0.0;
197                       align: 0.2 0.0;
198                       // set the size to 200x200
199                       min: 100 100;
200                       max: 250 100;                                  
201                       rel1.relative: 1.0 0.0;
202                       rel1.to: "plus";
203                       rel2.relative: 1.0 1.0;   
204                         }
205         }
206         
207         part { name: "log_button";
208                    type: SWALLOW;
209                    description 
210                    { 
211                       state: "default" 0.0;
212                       align: 0.0 0.05;
213                       // set the size to 200x200
214                       min: 100 100;
215                       max: 720 100;                                  
216                       rel1.relative: 0.0 1.0;
217                       rel1.to: "minus";
218                       rel2.relative: 1.0 1.0;   
219                         }
220         }
221         
222         part { name: "log_text_bg";
223                    type: RECT;
224                    scale: 1;
225                    description 
226                    { 
227                       state: "default" 0.0;
228                       align: 0.02 0.02;
229                        color: 220 220 220 255;
230                       // set the size to 200x200
231                       min: 100 400;
232                       max: 720 200;                                  
233                       rel1.relative: 0.0 1.0;
234                       rel1.to: "log_button";
235                       rel2.relative: 1.0 1.0;   
236                         }
237         }
238                 
239         part { name: "log_text";
240                    type: SWALLOW;
241                    description 
242                    { 
243                       state: "default" 0.0;
244                         rel1.to: "log_text_bg";
245               rel2.to: "log_text_bg";
246                         }
247         }
248    }
249 }
250 }
251