Replaced Wi-Fi CAPI with Wi-Fi manager CAPI
[apps/native/ug-mobile-ap.git] / resources / tethering.edc
1 #define TETH_ENTRYPASSWORDVIEW_FIELD_MIN_MAX 0 66
2 #define RENAME_POPUP_ENTRY_2BUTTON_BG_MIN 0 291
3 #define POPUP_WITH_LANDSCAPE 0 200
4 #define LANDSCAPE_CONTENT 0 50
5
6
7 #define TETH_POPUP_PAD_W 0
8 #define TETH_POPUP_PAD_H 16
9
10 #define POPUP_HEIGHT_LANDSCAPE 50
11 #define POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC 66
12 #define POPUP_WITH_2_GL_ITEMS 200
13
14 #define POPUP_CHECK_VIEW_LAYOUT_MIN_INC 0 165
15 #define POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC 0 100
16 #define POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC 0 27
17 #define POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC 38 38
18
19 collections {
20         base_scale: 1.8;
21         group { name: "popup_checkview_layout";
22                 parts {
23                         part { name: "bg";
24                                 scale: 1;
25                                 type: SPACER;
26                                 description {
27                                         state: "default" 0.0;
28                                         min: POPUP_CHECK_VIEW_LAYOUT_MIN_INC;
29                                         fixed: 1 0;
30                                 }
31                         }
32                         part { name: "elm.swallow.content";
33                                 type: SWALLOW;
34                                 scale: 1;
35                                 description { state: "default" 0.0;
36                                         fixed: 1 0;
37                                         min: POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC;
38                                         align: 0.0 0.0;
39                                         rel1 {
40                                                 relative: 0.0 0.0;
41                                         }
42                                         rel2 {
43                                                 relative: 1.0 0.0;
44                                                 to: "check";
45                                         }
46                                         color: 0 255 0 1;
47                                 }
48                         }
49                         part { name: "check";
50                                 type: SPACER;
51                                 scale: 1;
52                                 description { state: "default" 0.0;
53                                         align: 0.0 1.0;
54                                         min: POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC;
55                                         fixed: 1 1;
56                                         rel1 {
57                                                 relative: 0.0 1.0;
58                                                 to: "pad_b";
59                                                 offset: 15 0;
60                                         }
61                                         rel2 {
62                                                 relative: 1.0 0.0;
63                                                 to_y: "pad_b";
64                                         }
65                                 }
66                         }
67                         part { name: "elm.swallow.end";
68                                 type: SWALLOW;
69                                 scale: 1;
70                                 description { state: "default" 0.0;
71                                         align: 0.0 0.5;
72                                         min: POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC;
73                                         fixed: 1 1;
74                                         rel1.to: check;
75                                         rel2.to: check;
76                                 }
77                         }
78                         part { name: "pad_b";
79                                 type: SPACER;
80                                 scale: 1;
81                                 description { state: "default" 0.0;
82                                         align: 0.0 1.0;
83                                         min: POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC;
84                                         fixed: 0 1;
85                                         rel1 {
86                                                 relative: 0.0 1.0;
87                                         }
88                                         rel2 {
89                                                 relative: 1.0 1.0;
90                                         }
91                                 }
92                         }
93                 }
94         }
95         group {
96                 name: "entry_style";
97                 parts {
98                         part {
99                                 name: "base";
100                                 type: SPACER;
101                                 scale: 1;
102                                 description {
103                                         state: "default" 0.0;
104                                         min: 0 POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC;
105                                 }
106                         }
107                         part { name: "pad_l";
108                                 type: SPACER;
109                                 scale: 1;
110                                 description {
111                                         state: "default" 0.0;
112                                         min: TETH_POPUP_PAD_W 0;
113                                         rel1 {
114                                                 relative: 0.0 0.0;
115                                                 to: "base";
116                                         }
117                                         rel2 {
118                                                 relative: 0.0 1.0;
119                                                 to: "base";
120                                         }
121                                         align: 0.0 0.0;
122                                 }
123                         }
124                         part { name: "pad_r";
125                                 type: SPACER;
126                                 scale: 1;
127                                 description {
128                                         state: "default" 0.0;
129                                         min: TETH_POPUP_PAD_W 0;
130                                         fixed: 0 0;
131                                         rel1 {
132                                                 relative: 1.0 0.0;
133                                                 to: "base";
134                                         }
135                                         rel2 {
136                                                 relative: 1.0 1.0;
137                                                 to: "base";
138                                         }
139                                         align: 1.0 0.0;
140                                 }
141                         }
142                         part { name: "entry_part";
143                                 type: SWALLOW;
144                                 scale: 1;
145                                 description {
146                                         state: "default" 0.0;
147                                         min: 0 POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC;
148                                         align: 0.0 0.0;
149                                         rel1{
150                                                 relative: 1.0 0.0 ;
151                                                 to_x: "pad_l";
152                                         }
153                                         rel2{
154                                                 relative: 0.0 1.0;
155                                                 to_x: "pad_r";
156                                         }
157                                 }
158                         }
159                 }
160         }
161         group { name: "rename_device_portrait";
162                 parts {
163                         part {
164                                 name: "base";
165                                 type: SPACER;
166                                 scale: 1;
167                                 description {
168                                         state: "default" 0.0;
169                                         min: RENAME_POPUP_ENTRY_2BUTTON_BG_MIN;
170                                         fixed: 1 0;
171                                 }
172                         }
173                         part {
174                                 name: "content_top_padding";
175                                 type: SPACER;
176                                 scale: 1;
177                                 description {
178                                         state: "default" 0.0;
179                                         min: 0 15;
180                                         fixed: 0 1;
181                                         align: 0.0 0.0;
182                                         rel1 {
183                                                 relative: 0.0 0.0;
184                                                 to_x: "base";
185                                         }
186                                         rel2 {
187                                                 relative: 1.0 0.0;
188                                                 to_x: "base";
189                                         }
190                                 }
191                         }
192                         part {
193                                 name: "content_left_padding";
194                                 type: SPACER;
195                                 scale: 1;
196                                 description {
197                                         state: "default" 0.0;
198                                         min: 30 0;
199                                         fixed: 1 0;
200                                         align: 0.0 0.0;
201                                         rel1 {
202                                                 to: "base";
203                                                 relative: 0.0 0.0;
204                                         }
205                                         rel2 {
206                                                 to: "base";
207                                                 relative: 0.0 1.0;
208                                         }
209                                 }
210                         }
211                         part {
212                                 name: "content_right_padding";
213                                 type: SPACER;
214                                 scale: 1;
215                                 description {
216                                         state: "default" 0.0;
217                                         min: 30 0;
218                                         fixed: 1 0;
219                                         align: 1.0 0.0;
220                                         rel1 {
221                                                 to: "base";
222                                                 relative: 1.0 0.0;
223                                         }
224                                         rel2 {
225                                                 to: "base";
226                                                 relative: 1.0 1.0;
227                                         }
228                                 }
229                         }
230                         part {
231                                 name: "content_bottom_padding";
232                                 type: SPACER;
233                                 scale: 1;
234                                 description {
235                                         state: "default" 0.0;
236                                         min: 0 15;
237                                         fixed: 0 1;
238                                         align: 0.0 1.0;
239                                         rel1 {
240                                                 relative: 1.0 0.0;
241                                                 to_x: "base";
242                                         }
243                                         rel2 {
244                                                 relative: 1.0 1.0;
245                                                 to_x: "base";
246                                         }
247                                 }
248                         }
249                         part {
250                                 name: "content_field";
251                                 type: SPACER;
252                                 scale: 1;
253                                 description {
254                                         state: "default" 0.0;
255                                         min: 0 96;
256                                         fixed: 0 1;
257                                         align: 0.5 0.0;
258                                         rel1 {
259                                                 relative: 0.0 1.0;
260                                                 to: "content_top_padding";
261                                         }
262                                         rel2.to: "content_top_padding";
263                                 }
264                         }
265                         part {
266                                 name: "elm.swallow.content";
267                                 type: SWALLOW;
268                                 scale: 1;
269                                 description {
270                                         state: "default" 0.0;
271                                         min: 0 96;
272                                         fixed: 1 1;
273                                         align: 0.5 0.5;
274                                         rel1.to: "content_field";
275                                         rel2.to: "content_field";
276                                 }
277                         }
278                         part {
279                                 name: "end_top_padding";
280                                 type: SPACER;
281                                 scale: 1;
282                                 description {
283                                         state: "default" 0.0;
284                                         min: 0 0;
285                                         fixed: 0 1;
286                                         align: 0.0 0.0;
287                                         rel1 {
288                                                 to: "content_field";
289                                                 relative: 0.0 1.0;
290                                         }
291                                         rel2.to: "content_field";
292                                 }
293                         }
294                         part {
295                                 name: "end_field";
296                                 type: SPACER;
297                                 scale: 1;
298                                 description {
299                                         state: "default" 0.0;
300                                         min: 0 150;
301                                         fixed: 0 0;
302                                         align: 0.0 0.0;
303                                         rel1 {
304                                                 to_x: "content_left_padding";
305                                                 to_y: "end_top_padding";
306                                                 relative: 1.0 1.0;
307                                         }
308                                         rel2 {
309                                                 to_x: "content_right_padding";
310                                                 to_y: "base";
311                                                 relative : 0.0 1.0;
312                                         }
313                                 }
314                         }
315                         part {
316                                 name: "elm.swallow.end";
317                                 type: SWALLOW;
318                                 scale: 1;
319                                 mouse_events: 0;
320                                 description {
321                                         state: "default" 0.0;
322                                         fixed: 1 1;
323                                         align: 0.0 0.5;
324                                         rel1.to: "end_field";
325                                         rel2.to: "end_field";
326                                 }
327                         }
328                 }
329         }
330         group {
331                 name: "rename_device_landscape";
332                 inherit: "rename_device_portrait";
333                 parts {
334                         part {
335                         name: "base";
336                         type: SPACER;
337                         scale: 1;
338                         description {
339                                 state: "default" 0.0;
340                                 min: POPUP_WITH_LANDSCAPE;
341                                 fixed: 1 0;
342                         }
343                 }
344                         part {
345                                 name: "end_field";
346                                 type: SPACER;
347                                 scale: 1;
348                                 description {
349                                         state: "default" 0.0;
350                                         min: LANDSCAPE_CONTENT;
351                                         fixed: 0 0;
352                                         align: 0.0 0.0;
353                                         rel1 {
354                                                 to: "end_top_padding";
355                                                 relative: 0.0 1.0;
356                                         }
357                                         rel2.to: "end_top_padding";
358                                 }
359                         }
360                         part {
361                                 name: "elm.swallow.end";
362                                 type: SWALLOW;
363                                 scale: 1;
364                                 description {
365                                         state: "default" 0.0;
366                                         fixed: 1 1;
367                                         align: 0.0 0.5;
368                                         rel1.to: "end_field";
369                                         rel2.to: "end_field";
370                                 }
371                         }
372                 }
373         }
374         group {
375                 name: "rename_device_ly";
376                 parts {
377                         part {
378                                 name:"pad_t";
379                                 type: SPACER;
380                                 scale: 1;
381                                 description {
382                                         state: "default" 0.0;
383                                         min: 0 0;
384                                         align: 0.5 0.0;
385                                         fixed: 0 1;
386                                         rel2.relative: 1.0 0.0;
387                                 }
388                         }
389                         part {
390                                 name:"elm.swallow.layout";
391                                 type: SWALLOW;
392                                 scale: 1;
393                                 mouse_events: 1;
394                                 repeat_events: 1;
395                                 description {
396                                         state: "default" 0.0;
397                                         min: 0 POPUP_WITH_2_GL_ITEMS;
398                                         align: 0.5 1.0;
399                                         fixed: 1 0;
400                                         rel1 {
401                                                 relative: 1.0 1.0;
402                                                 to_x: "pad_l";
403                                                 to_y: "pad_t";
404                                         }
405                                         rel2 {
406                                                 relative: 0.0 0.0;
407                                                 to_x: "pad_r";
408                                                 to_y: "pad_b";
409                                         }
410                                 }
411                         }
412
413                         part {
414                                 name:"pad_b";
415                                 type: SPACER;
416                                 scale: 1;
417                                 description {
418                                         state: "default" 0.0;
419                                         align: 0.5 1.0;
420                                         min: 0 0;
421                                         fixed: 0 1;
422                                         rel1.relative: 0.0 1.0;
423                                 }
424                         }
425
426                         part {
427                                 name: "pad_l";
428                                 type: SPACER;
429                                 scale: 1;
430                                 description {
431                                         state: "default" 0.0;
432                                         min: 0 0;
433                                         fixed: 0 0;
434                                         align: 0.0 0.0;
435                                         rel1 {
436                                                 relative: 0.0 0.0;
437                                         }
438                                         rel2 {
439                                                 relative: 0.0 1.0;
440                                         }
441                                  }
442                         }
443
444                         part {
445                                 name: "pad_r";
446                                 type: SPACER;
447                                 scale: 1;
448                                 description {
449                                         state: "default" 0.0;
450                                         min: 0 0;
451                                         fixed: 0 0;
452                                         align: 1.0 0.0;
453                                         rel1 {
454                                                 relative: 1.0 0.0;
455                                         }
456                                         rel2 {
457                                                 relative: 1.0 1.0;
458                                         }
459                                 }
460                         }
461                 }
462         }
463         group { name: "editfield_layout";
464                 parts {
465                         part { name: "bg";
466                                 type: SPACER;
467                                 scale: 1;
468                                 description { state: "default" 0.0;
469                                 min : 0 250;
470                                 }
471                         }       
472                         part { name: "top_padding";
473                                 type: SPACER;
474                                 scale: 1;
475                                 description { state: "default" 0.0;
476                                         min: 0 15;
477                                         fixed : 0 1;
478                                         rel1 {
479                                                 relative: 0 0;
480                                                 to: "bg";
481                                         }
482                                         rel2 {
483                                                 relative: 1 0;
484                                                 to: "bg";
485                                         }
486                                 }
487                         }
488                         part { name: "bg_entry";
489                                 type: SPACER;
490                                 scale:1;
491                                 description { state: "default" 0.0;
492                                         min: 0 66;
493                                         fixed : 0 1;
494                                         rel1 {
495                                                 relative: 0.0 0.0;
496                                                 to: "top_padding";
497                                         }
498                                         rel2 {
499                                                 relative: 1.0 0.0;
500                                                 to: "top_padding";
501                                         }
502                                         align: 0.5 0;
503                                 }
504                         }
505                         part { name: "entry_part";
506                                 type: SWALLOW;
507                                 scale: 1;
508                                 description { state: "default" 0.0;
509                                         fixed: 1 1;
510                                         rel1.to: "bg_entry";
511                                         rel2.to: "bg_entry";
512                                         align: 0.5 0.5;
513                                 }
514                         }
515                         part { name : "btm_pad";
516                                 type: SPACER;
517                                 scale: 1;
518                                 description { state: "default" 0.0;
519                                         min: 0 15;
520                                         fixed : 0 1;
521                                         rel1 {
522                                                 relative: 0.0 1.0;
523                                                 to: "bg_entry";
524                                         }
525                                         rel2 {
526                                                 relative: 1.0 1.0;
527                                                 to: "bg_entry";
528                                         }
529                                         align: 0 0;
530                                 }
531                         }
532                         part { name : "description";
533                                 type: SWALLOW;
534                                 scale: 1;
535                                 description { state: "default" 0.0;
536                                         min: 0 100;
537                                         rel1 {
538                                                 relative: 0.0 1.0;
539                                                 to: "btm_pad";
540                                         }
541                                         rel2 {
542                                                 relative: 1.0 1.0;
543                                                 to: "bg";
544                                         }
545                                         align: 0 0;
546                                 }
547                         }
548                 }
549         }
550 }
551 #undef TETH_ENTRYPASSWORDVIEW_FIELD_MIN_MAX
552 #undef RENAME_POPUP_ENTRY_2BUTTON_BG_MIN
553 #undef POPUP_WITH_LANDSCAPE
554 #undef LANDSCAPE_CONTENT