tizen 2.3.1 release
[apps/home/b2-clocksetting.git] / data / changeable / groups / volumn_popup.edc
1 /*
2  *  Copyright (c) 2014 Samsung Electronics Co., Ltd.
3  *
4  *  Licensed under the Flora License, Version 1.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://floralicense.org/license/
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            relative: 1 0.4;
439            offset: 0 -40;
440          }
441          rel2 {
442            to_x: "right_body_padding";
443            relative: 0 0.4;
444            offset: 0 40;
445          }
446       }
447     }
448     part { name: "v_padding2";
449        type: SPACER;
450        scale: 1;
451        description { state: "default" 0.0;
452           min: 0 18;
453           max: -1 18;
454           fixed: 0 1;
455           align: 0.5 0;
456           rel1 {
457             to_y: "elm.icon.1";
458             relative: 0.0 1.0;
459           }
460           rel1 {
461             to_y: "elm.icon.1";
462             relative: 1.0 1.0;
463           }
464        }
465     }
466     part { name: "elm.text.2";
467       type: TEXTBLOCK;
468       scale: 1;
469       description { state: "default" 0.0;
470          min: 0 30;
471          fixed: 1 1;
472          align: 0.5 0;
473          visible: 1;
474          rel1 {
475            to_x: "left_body_padding";
476            to_y: "v_padding2";
477            relative: 1 1;
478            offset: 0 0;
479          }
480          rel2 {
481            to_x: "right_body_padding";
482            to_y: "v_padding2";
483            relative: 0 1;
484          }
485          text {
486                 style: "outdoor_style";
487             align: 0.5 0.0;
488             min: 1 1;
489          }
490       }
491       description { state: "visible" 0.0;
492         inherit: "default" 0.0;
493         visible: 1;
494       }
495     }
496     
497     part { name: "lt_padding";
498         type: SPACER;
499         scale: 1;
500         description { state: "default" 0.0;
501           min: 3 3;
502           fixed: 1 1;
503           align: 0.0 0.0;
504           rel1 {
505                 relative: 0.0 0.0;
506                 offset: 0.0 180;
507           }
508           rel2.relative: 0.0 0.0;
509         }
510       }
511       part { name: "rb_padding";
512         type: SPACER;
513         scale: 1;
514         description { state: "default" 0.0;
515           min: 3 3;
516           fixed: 1 1;
517           align: 1.0 1.0;
518           rel1.relative: 1.0 1.0;
519         }
520       }
521       part { name: "c_padding";
522         type: SPACER;
523         scale: 1;
524         description { state: "default" 0.0;
525           min: 1 0;
526           max: 1 -1;
527           fixed: 1 0;
528           align: 0.5 0.5;
529         }
530       }
531       part{ name:"actionbtn1";
532          type: SWALLOW;
533          scale: 1;
534          description { state: "default" 0.0;
535                 max: 300 76;
536             rel1 {
537               to: "lt_padding";
538               relative: 1.0 1.0;
539             }
540             rel2 {
541               to_x: "c_padding";
542               to_y: "rb_padding";
543               relative: 0.0 0.0;
544             }
545          }
546       }
547       part{ name:"actionbtn2";
548          type: SWALLOW;
549          scale: 1;
550          description { state: "default" 0.0;
551                 max: 300 76;
552             rel1 {
553               to_x: "c_padding";
554               to_y: "lt_padding";
555               relative: 1.0 1.0;
556             }
557             rel2 {
558               to: "rb_padding";
559               relative: 0.0 0.0;
560             }
561          }
562       }
563     
564        part { name: "btn1";
565          type: SWALLOW;
566          scale: 1;
567          description { state: "default" 0.0;
568             fixed: 1 1;
569             rel1 {
570                relative: 0.0 1.0;
571             }
572             rel2 {
573                to_x: "padding";
574                relative: 0.0 1.0;
575             }
576             min: 0 76;
577             align: 0.5 1;
578          }
579       }
580       part { name: "padding";
581          type: SPACER;
582          scale: 1;
583          mouse_events: 0;
584          description { state: "default" 0.0;
585             rel1 {
586                relative: 0.5 1.0;
587             }
588             rel2 {
589                relative: 0.5 1.0;
590             }
591             align: 0.5 1.0;
592             min: 1 0;
593             max: 1 0;
594             fixed: 1 0;
595          }
596       }
597       part { name: "btn2";
598          type: SWALLOW;
599          scale: 1;
600          description { state: "default" 0.0;
601             fixed: 1 1;
602             rel1 {
603                to_x: "padding";
604                relative: 1.0 1.0;
605             }
606             rel2 {
607                relative: 1.0 1.0;
608             }
609             min: 0 76;
610             align: 0.5 1;
611          }
612       }
613    
614     
615     programs {
616      program {
617         signal: "elm,state,outdoor.visible";
618         source: "*";
619         action: STATE_SET "visible" 0.0;
620         target: "elm.text.2";
621      }
622     }
623   }
624 }