Initialize Tizen 2.3
[apps/home/b2-clocksetting.git] / data / groups / volumn_popup.edc
1 /*
2  * Copyright (c) 2000 - 2013 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 group { name: "setting/2finger_popup/default";
18   styles{
19       style { name: "custom_style";
20          base: "font=Tizen:style=Regular font_size="36" align=center color=""#FFFFFF"" wtext_class=tizen";
21          tag:  "br" "\n";
22          tag:  "hilight" "+ font_weight=Bold";
23          tag:  "b" "+ font_weight=Bold";
24          tag:  "tab" "\t";
25       }
26       style { name: "outdoor_style";
27          base: "font=Tizen:style=Regular font_size="25" align=center color=#FF9100 text_class=tizen";
28          tag:  "br" "\n";
29          tag:  "hilight" "+ font_weight=Bold";
30          tag:  "b" "+ font_weight=Bold";
31          tag:  "tab" "\t";
32       }
33   }
34   parts {
35     part { name: "bg";
36       type: RECT;
37       scale: 1;
38       description { state: "default";
39         color: 0 0 0 255;
40         rel1.relative: 0.0 0.0;
41         rel2.relative: 1.0 1.0;
42       }
43     }
44     part { name: "top_padding";
45        type: SPACER;
46        scale: 1;
47        description { state: "default" 0.0;
48           min: 0 10;
49           max: -1 10;
50           fixed: 0 1;
51           align: 0.5 0.0;
52           rel2.relative: 1.0 0.0;
53        }
54     }
55     part { name: "bottom_padding";
56        type: SPACER;
57        scale: 1;
58        description { state: "default" 0.0;
59           min: 0 28;
60           max: -1 28;
61           fixed: 0 1;
62           align: 0.5 1.0;
63           rel1.relative: 0.0 1.0;
64        }
65     }
66     part { name: "left_padding";
67        type: SPACER;
68        scale: 1;
69        description { state: "default" 0.0;
70           min: 16 0;
71           max: 16 -1;
72           fixed: 1 0;
73           align: 0.0 0.5;
74           rel2.relative: 0.0 1.0;
75        }
76     }
77     part { name: "right_padding";
78        type: SPACER;
79        scale: 1;
80        description { state: "default" 0.0;
81           min: 16 0;
82           max: 16 -1;
83           fixed: 1 0;
84           align: 1.0 0.5;
85           rel1.relative: 1.0 0.0;
86        }
87     }
88     part { name: "elm.icon.left_top";
89       type: SWALLOW;
90       scale: 1;
91       description { state: "default" 0.0;
92          min: 60 60;
93          max: 60 60;
94          fixed: 1 1;
95          align: 0 0;
96          rel1 {
97            to_x: "left_padding";
98            to_y: "top_padding";
99            relative: 1 1;
100          }
101          rel2 {
102            to_x: "left_padding";
103            to_y: "top_padding";
104            relative: 1 1;
105          }
106       }
107     }
108     part { name: "elm.icon.right_top";
109       type: SWALLOW;
110       scale: 1;
111       description { state: "default" 0.0;
112          min: 60 60;
113          max: 60 60;
114          fixed: 1 1;
115          align: 1 0;
116          rel1 {
117            to_x: "right_padding";
118            to_y: "top_padding";
119            relative: 0 1;
120          }
121          rel2 {
122            to_x: "right_padding";
123            to_y: "top_padding";
124            relative: 0 1;
125          }
126       }
127     }
128     part { name: "elm.text";
129        type: TEXTBLOCK;
130        scale: 1;
131        description { state: "default" 0.0;
132           align: 1 0;
133           rel1 {
134              to_x: "elm.icon.right_top";
135              to_y: "top_padding";
136              relative: 0 1;
137           }
138           rel2 {
139              to_x: "elm.icon.right_top";
140              to_y: "top_padding";
141              relative: 0 1;
142           }
143           text {
144              style: "custom_style";
145              align: 0 0.5;
146              min: 1 1;
147           }
148        }
149     }
150     part { name: "v_padding1";
151        type: SPACER;
152        scale: 1;
153        description { state: "default" 0.0;
154           min: 0 18;
155           max: -1 18;
156           fixed: 0 1;
157           align: 0.5 0;
158           rel1 {
159             to_y: "elm.text";
160             relative: 0.0 1.0;
161           }
162           rel1 {
163             to_y: "elm.text";
164             relative: 1.0 1.0;
165           }
166        }
167     }
168     part { name: "left_body_padding";
169        type: SPACER;
170        scale: 1;
171        description { state: "default" 0.0;
172           min: 18 0;
173           max: 18 -1;
174           fixed: 1 0;
175           align: 0.0 0.5;
176           rel2.relative: 0.0 1.0;
177        }
178     }
179     part { name: "right_body_padding";
180        type: SPACER;
181        scale: 1;
182        description { state: "default" 0.0;
183           min: 18 0;
184           max: 18 -1;
185           fixed: 1 0;
186           align: 1.0 0.5;
187           rel1.relative: 1.0 0.0;
188        }
189     }
190     part { name: "elm.icon.1";
191       type: SWALLOW;
192       scale: 1;
193       description { state: "default" 0.0;
194          min: 0 80;
195          fixed: 1 1;
196          align: 0.5 0.5;
197          rel1 {
198            to_x: "left_body_padding";
199            to_y: "v_padding1";
200            relative: 1 1;
201            offset: 0 52;
202          }
203          rel2 {
204            to_x: "right_body_padding";
205            to_y: "v_padding1";
206            relative: 0 1;
207          }
208       }
209     }
210     part { name: "v_padding2";
211        type: SPACER;
212        scale: 1;
213        description { state: "default" 0.0;
214           min: 0 10;
215           max: -1 10;
216           fixed: 0 1;
217           align: 0.5 0;
218           rel1 {
219             to_y: "elm.icon.1";
220             relative: 0.0 1.0;
221           }
222           rel1 {
223             to_y: "elm.icon.1";
224             relative: 1.0 1.0;
225           }
226        }
227     }
228     part { name: "elm.text.2";
229       type: TEXTBLOCK;
230       scale: 1;
231       description { state: "default" 0.0;
232          min: 0 40;
233          fixed: 1 1;
234          align: 0.5 0;
235          visible: 1;
236          rel1 {
237            to_x: "left_body_padding";
238            to_y: "v_padding2";
239            relative: 1 1;
240            offset: 0 5;
241          }
242          rel2 {
243            to_x: "right_body_padding";
244            to_y: "v_padding2";
245            relative: 0 1;
246            offset: 0 35;
247          }
248          text {
249                 style: "outdoor_style";
250             align: 0.5 0.5;
251             min: 1 1;
252          }
253       }
254       description { state: "visible" 0.0;
255         inherit: "default" 0.0;
256         visible: 1;
257       }
258     }
259     programs {
260      program {
261         signal: "elm,state,outdoor.visible";
262         source: "*";
263         action: STATE_SET "visible" 0.0;
264         target: "elm.text.2";
265      }
266     }
267   }
268 }
269
270
271 group { name: "setting/2finger_popup/default2";
272   parts {
273     part { name: "bg";
274       type: RECT;
275       scale: 1;
276       description { state: "default";
277         rel1 { relative: 0.0 0.0; }
278         rel2 { relative: 1.0 1.0; }
279         color: 0 0 0 255;
280       }
281     }
282     part { name: "top_padding";
283        type: SPACER;
284        scale: 1;
285        description { state: "default" 0.0;
286           min: 0 5;
287           max: -1 5;
288           fixed: 0 1;
289           align: 0.5 0.0;
290           rel2.relative: 1.0 0.0;
291        }
292     }
293     part { name: "bottom_padding";
294        type: SPACER;
295        scale: 1;
296        description { state: "default" 0.0;
297           min: 0 28;
298           max: -1 28;
299           fixed: 0 1;
300           align: 0.5 1.0;
301           rel1.relative: 0.0 1.0;
302        }
303     }
304     part { name: "left_padding";
305        type: SPACER;
306        scale: 1;
307        description { state: "default" 0.0;
308           min: 16 0;
309           max: 16 -1;
310           fixed: 1 0;
311           align: 0.0 0.5;
312           rel2.relative: 0.0 1.0;
313        }
314     }
315     part { name: "right_padding";
316        type: SPACER;
317        scale: 1;
318        description { state: "default" 0.0;
319           min: 16 0;
320           max: 16 -1;
321           fixed: 1 0;
322           align: 1.0 0.5;
323           rel1.relative: 1.0 0.0;
324        }
325     }
326     part { name: "elm.icon.left_top";
327       type: SWALLOW;
328       scale: 1;
329       description { state: "default" 0.0;
330          min: 60 60;
331          max: 60 60;
332          fixed: 1 1;
333          align: 0 0;
334          rel1 {
335            to_x: "left_padding";
336            to_y: "top_padding";
337            relative: 1 1;
338          }
339          rel2 {
340            to_x: "left_padding";
341            to_y: "top_padding";
342            relative: 1 1;
343          }
344       }
345     }
346     part { name: "elm.icon.right_top";
347       type: SWALLOW;
348       scale: 1;
349       description { state: "default" 0.0;
350          min: 60 60;
351          max: 60 60;
352          fixed: 1 1;
353          align: 1 0;
354          rel1 {
355            to_x: "right_padding";
356            to_y: "top_padding";
357            relative: 0 1;
358          }
359          rel2 {
360            to_x: "right_padding";
361            to_y: "top_padding";
362            relative: 0 1;
363          }
364       }
365     }
366     part { name: "elm.text";
367        type: TEXTBLOCK;
368        scale: 1;
369        description { state: "default" 0.0;
370           align: 1 0;
371           max: 0 0;
372           rel1 {
373              to_x: "elm.icon.right_top";
374              to_y: "top_padding";
375              relative: 0 1;
376           }
377           rel2 {
378              to_x: "elm.icon.right_top";
379              to_y: "top_padding";
380              relative: 0 1;
381           }
382           text {
383              style: "custom_style";
384              align: 0 0.5;
385              min: 1 1;
386           }
387        }
388     }
389     part { name: "v_padding1";
390        type: SPACER;
391        scale: 1;
392        description { state: "default" 0.0;
393           min: 0 0;
394           max: -1 0;
395           fixed: 0 1;
396           align: 0.5 0;
397           rel1 {
398             to_y: "elm.text";
399             relative: 0.0 1.0;
400           }
401           rel1 {
402             to_y: "elm.text";
403             relative: 1.0 1.0;
404           }
405        }
406     }
407     part { name: "left_body_padding";
408        type: SPACER;
409        scale: 1;
410        description { state: "default" 0.0;
411           min: 18 0;
412           max: 18 -1;
413           fixed: 1 0;
414           align: 0.0 0.5;
415           rel2.relative: 0.0 1.0;
416        }
417     }
418     part { name: "right_body_padding";
419        type: SPACER;
420        scale: 1;
421        description { state: "default" 0.0;
422           min: 18 0;
423           max: 18 -1;
424           fixed: 1 0;
425           align: 1.0 0.5;
426           rel1.relative: 1.0 0.0;
427        }
428     }
429     part { name: "elm.icon.1";
430       type: SWALLOW;
431       scale: 1;
432       description { state: "default" 0.0;
433          min: 0 80;
434          fixed: 1 1;
435          align: 0.5 0.0;
436          rel1 {
437            to_x: "left_body_padding";
438            to_y: "v_padding1";
439            relative: 1 1;
440            offset: 0 52;
441          }
442          rel2 {
443            to_x: "right_body_padding";
444            to_y: "v_padding1";
445            relative: 0 1;
446          }
447       }
448     }
449     part { name: "v_padding2";
450        type: SPACER;
451        scale: 1;
452        description { state: "default" 0.0;
453           min: 0 18;
454           max: -1 18;
455           fixed: 0 1;
456           align: 0.5 0;
457           rel1 {
458             to_y: "elm.icon.1";
459             relative: 0.0 1.0;
460           }
461           rel1 {
462             to_y: "elm.icon.1";
463             relative: 1.0 1.0;
464           }
465        }
466     }
467     part { name: "elm.text.2";
468       type: TEXTBLOCK;
469       scale: 1;
470       description { state: "default" 0.0;
471          min: 0 30;
472          fixed: 1 1;
473          align: 0.5 0;
474          visible: 1;
475          rel1 {
476            to_x: "left_body_padding";
477            to_y: "v_padding2";
478            relative: 1 1;
479            offset: 0 0;
480          }
481          rel2 {
482            to_x: "right_body_padding";
483            to_y: "v_padding2";
484            relative: 0 1;
485          }
486          text {
487                 style: "outdoor_style";
488             align: 0.5 0.0;
489             min: 1 1;
490          }
491       }
492       description { state: "visible" 0.0;
493         inherit: "default" 0.0;
494         visible: 1;
495       }
496     }
497     
498     part { name: "lt_padding";
499         type: SPACER;
500         scale: 1;
501         description { state: "default" 0.0;
502           min: 3 3;
503           fixed: 1 1;
504           align: 0.0 0.0;
505           rel1 {
506                 relative: 0.0 0.0;
507                 offset: 0.0 180;
508           }
509           rel2.relative: 0.0 0.0;
510         }
511       }
512       part { name: "rb_padding";
513         type: SPACER;
514         scale: 1;
515         description { state: "default" 0.0;
516           min: 3 3;
517           fixed: 1 1;
518           align: 1.0 1.0;
519           rel1.relative: 1.0 1.0;
520         }
521       }
522       part { name: "c_padding";
523         type: SPACER;
524         scale: 1;
525         description { state: "default" 0.0;
526           min: 1 0;
527           max: 1 -1;
528           fixed: 1 0;
529           align: 0.5 0.5;
530         }
531       }
532       part{ name:"actionbtn1";
533          type: SWALLOW;
534          scale: 1;
535          description { state: "default" 0.0;
536                 max: 300 76;
537             rel1 {
538               to: "lt_padding";
539               relative: 1.0 1.0;
540             }
541             rel2 {
542               to_x: "c_padding";
543               to_y: "rb_padding";
544               relative: 0.0 0.0;
545             }
546          }
547       }
548       part{ name:"actionbtn2";
549          type: SWALLOW;
550          scale: 1;
551          description { state: "default" 0.0;
552                 max: 300 76;
553             rel1 {
554               to_x: "c_padding";
555               to_y: "lt_padding";
556               relative: 1.0 1.0;
557             }
558             rel2 {
559               to: "rb_padding";
560               relative: 0.0 0.0;
561             }
562          }
563       }
564     
565        part { name: "btn1";
566          type: SWALLOW;
567          scale: 1;
568          description { state: "default" 0.0;
569             fixed: 1 1;
570             rel1 {
571                relative: 0.0 1.0;
572             }
573             rel2 {
574                to_x: "padding";
575                relative: 0.0 1.0;
576             }
577             min: 0 76;
578             align: 0.5 1;
579          }
580       }
581       part { name: "padding";
582          type: SPACER;
583          scale: 1;
584          mouse_events: 0;
585          description { state: "default" 0.0;
586             rel1 {
587                relative: 0.5 1.0;
588             }
589             rel2 {
590                relative: 0.5 1.0;
591             }
592             align: 0.5 1.0;
593             min: 1 0;
594             max: 1 0;
595             fixed: 1 0;
596          }
597       }
598       part { name: "btn2";
599          type: SWALLOW;
600          scale: 1;
601          description { state: "default" 0.0;
602             fixed: 1 1;
603             rel1 {
604                to_x: "padding";
605                relative: 1.0 1.0;
606             }
607             rel2 {
608                relative: 1.0 1.0;
609             }
610             min: 0 76;
611             align: 0.5 1;
612          }
613       }
614    
615     
616     programs {
617      program {
618         signal: "elm,state,outdoor.visible";
619         source: "*";
620         action: STATE_SET "visible" 0.0;
621         target: "elm.text.2";
622      }
623     }
624   }
625 }