8b627f0feb94f5cc11b12fe8750ed610d239428b
[apps/core/preloaded/calendar.git] / data / edc / layout / inc.layouts.edc
1 /*
2   *
3   *  Copyright 2012  Samsung Electronics Co., Ltd
4   *
5   *  Licensed under the Flora License, Version 1.0 (the "License");
6   *  you may not use this file except in compliance with the License.
7   *  You may obtain a copy of the License at
8   *
9   *       http://floralicense.org/license/
10   *
11   *  Unless required by applicable law or agreed to in writing, software
12   *  distributed under the License is distributed on an "AS IS" BASIS,
13   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   *  See the License for the specific language governing permissions and
15   *  limitations under the License.
16   */
17
18 #define CONTENT_LEFT_PADDING 25
19
20 group { name, "dialoguegroup/alarm/custom";
21
22         images {
23                 image, DIALOG_EDIT_DEFAULT COMP;
24         }
25
26         parts {
27                 part { name, "base";
28                         type, RECT;
29                         scale, 1;
30                         description {
31                                 state, "default" 0.0;
32                                 min, 0 169;
33                                 color, 0 0 0 0;
34                         }
35                 }
36                 part { name, "left_padding";
37                         type, RECT;
38                         scale, 1;
39                         description {
40                                 state, "default" 0.0;
41                                 min, 15 0;
42                                 fixed, 1 0;
43                                 rel1.to, "base";
44                                 rel2 { relative, 0.0 1.0; to, "base"; }
45                                 align, 0.0 0.0;
46                                 color, 0 0 0 0;
47                         }
48                 }
49                 part { name, "right_padding";
50                         type, RECT;
51                         scale, 1;
52                         description {
53                                 state, "default" 0.0;
54                                 min, 10 0;
55                                 fixed, 1 0;
56                                 rel1 { relative, 1.0 0.0; to, "base"; }
57                                 rel2.to, "base";
58                                 align, 1.0 0.0;
59                                 color, 0 0 0 0;
60                         }
61                 }
62                 part { name, "bottom_padding";
63                         type, RECT;
64                         scale, 1;
65                         description {
66                                 state, "default" 0.0;
67                                 min, 0 16;
68                                 fixed, 0 1;
69                                 rel1 { relative, 0.0 1.0; to, "base"; }
70                                 rel2.to, "base";
71                                 align, 0.5 1.0;
72                                 color, 0 0 0 0;
73                         }
74                 }
75
76                 part { name, "text_left_padding";
77                         type, RECT;
78                         scale, 1;
79                         description {
80                                 state, "default" 0.0;
81                                 min, 16 0;
82                                 fixed, 1 0;
83                                 rel1 {
84                                         relative, 1.0 0.5;
85                                         to_x, "content"; to_y, "base";
86                                 }
87                                 rel2 {
88                                         relative, 1.0 0.5;
89                                         to_x, "content"; to_y, "base";
90                                 }
91                                 align, 0.0 0.0;
92                                 color, 0 0 0 0;
93                         }
94                 }
95                 part { name, "text";
96                         type, TEXT;
97                         scale, 1;
98                         description {
99                                 state, "default" 0.0;
100                                 align, 0.0 0.5;
101                                 rel1 {
102                                         relative, 1.0 0.0;
103                                         to_x, "text_left_padding"; to_y, "base";
104                                 }
105                                 rel2 {
106                                         relative, 0.0 0.5;
107                                         to_x, "right_padding"; to_y, "base";
108                                 }
109                                 text {
110                                         font, "SLP:style=Roman";
111                                         size, 32;
112                                         min, 0 0;
113                                         align, 0.0 0.5;
114                                 }
115                                 color, 0 0 0 255;
116                         }
117                 }
118                 part { name, "content";
119                         type, SWALLOW;
120                         scale, 1;
121                         description {
122                                 state, "default" 0.0;
123                                 align, 0.0 0.5;
124                                 fixed, 1 1;
125                                 rel1 {
126                                         relative, 1.0 0.0;
127                                         to_x, "left_padding"; to_y, "base";
128                                 }
129                                 rel2 {
130                                         relative, 1.0 0.5;
131                                         to_x, "left_padding"; to_y, "base";
132                                 }
133                         }
134                 }
135                 part { name, "base/custom";
136                         type, RECT;
137                         description {
138                                 state, "default" 0.0;
139                                 rel1 {
140                                         relative, 1.0 0.5;
141                                         to_x, "text_left_padding"; to_y, "base";
142                                 }
143                                 rel2 {
144                                         relative, 0.0 0.0;
145                                         to_x, "right_padding"; to_y, "bottom_padding";
146                                 }
147                                 color, 0 0 0 0;
148                         }
149                 }
150                 part { name, "input_bg";
151                         scale, 1;
152                         description {
153                                 state, "default" 0.0;
154                                 min, 80 0;
155                                 fixed, 1 0;
156                                 rel1.to, "base/custom";
157                                 rel2 { relative, 0.0 1.0; to, "base/custom"; }
158                                 image {
159                                         normal, "01_dialoguegroup_edit_default.png";
160                                         border, 13 13 9 14;
161                                         border_scale, 1;
162                                 }
163                                 align, 0.0 0.5;
164                         }
165                 }
166                 part { name, "input_left_padding";
167                         type, RECT;
168                         scale, 1;
169                         description {
170                                 state, "default" 0.0;
171                                 min, 16 0;
172                                 fixed, 1 0;
173                                 rel1.to, "input_bg";
174                                 rel2 { relative, 0.0 1.0; to, "input_bg"; }
175                                 color, 0 0 0 0;
176                                 align, 0.0 0.5;
177                         }
178                 }
179                 part { name, "input_sw";
180                         type, SWALLOW;
181                         description {
182                                 state, "default" 0.0;
183                                 rel1 { relative, 1.0 0.0; to, "input_left_padding"; }
184                                 rel2.to, "input_bg";
185                         }
186                 }
187                 part { name, "button_left_padding";
188                         type, RECT;
189                         scale, 1;
190                         description {
191                                 state, "default" 0.0;
192                                 min, 16 0;
193                                 fixed, 1 0;
194                                 rel1 { relative, 1.0 0.0; to, "input_bg"; }
195                                 rel2 { relative, 1.0 1.0; to, "input_bg"; }
196                                 align, 0.0 0.5;
197                                 color, 0 0 0 0;
198                         }
199                 }
200                 part { name, "button";
201                         type, SWALLOW;
202                         scale, 1;
203                         description {
204                                 state, "default" 0.0;
205                                 min, 120 0;
206                                 fixed, 1 1;
207                                 rel1 { relative, 1.0 0.5; to, "button_left_padding"; }
208                                 rel2 { relative, 1.0 0.5; to, "button_left_padding"; }
209                                 align, 0.0 0.5;
210                                 color, 0 0 0 0;
211                         }
212                 }
213                 part { name, "text_left_padding2";
214                         type, RECT;
215                         scale, 1;
216                         description {
217                                 state, "default" 0.0;
218                                 min, 16 0;
219                                 fixed, 1 0;
220                                 rel1 { relative, 1.0 0.0; to, "button"; }
221                                 rel2 { relative, 1.0 1.0; to, "button"; }
222                                 align, 0.0 0.0;
223                                 color, 0 0 0 0;
224                         }
225                 }
226                 part { name, "text2";
227                         type, TEXT;
228                         scale, 1;
229                         description {
230                                 state, "default" 0.0;
231                                 align, 0.0 0.5;
232                                 rel1 {
233                                         relative, 1.0 0.5;
234                                         to_x, "text_left_padding2"; to_y, "base";
235                                 }
236                                 rel2 {
237                                         relative, 0.0 1.0;
238                                         to_x, "right_padding"; to_y, "base";
239                                 }
240                                 text {
241                                         font, "SLP:style=Roman";
242                                         size, 32;
243                                         min, 0 0;
244                                         align, 0.0 0.5;
245                                 }
246                                 color, 0 0 0 255;
247                         }
248                 }
249         }
250 }
251
252 group { name, "dialoguegroup/repeat/times";
253
254         images {
255                 image, "01_dialoguegroup_edit_default.png" COMP;
256         }
257
258         parts {
259                 part { name, "base";
260                         type, RECT;
261                         scale, 1;
262                         description {
263                                 state, "default" 0.0;
264                                 min, 0 50;
265                                 visible, 0;
266                         }
267                 }
268                 part { name, "left_padding";
269                         type, RECT;
270                         scale, 1;
271                         description {
272                                 state, "default" 0.0;
273                                 min, 0 0;
274                                 fixed, 1 0;
275                                 rel1.to, "base";
276                                 rel2 { relative, 0.0 1.0; to, "base"; }
277                                 align, 0.0 0.0;
278                                 visible, 0;
279                         }
280                 }
281                 part { name, "right_padding";
282                         type, RECT;
283                         scale, 1;
284                         description {
285                                 state, "default" 0.0;
286                                 min, 10 0;
287                                 fixed, 1 0;
288                                 rel1 { relative, 1.0 0.0; to, "base"; }
289                                 rel2.to, "base";
290                                 align, 1.0 0.0;
291                                 visible, 0;
292                         }
293                 }
294                 part { name, "radio";
295                         type, SWALLOW;
296                         scale, 1;
297                         description {
298                                 state, "default" 0.0;
299                                 align, 0.0 0.5;
300                                 fixed, 1 1;
301                                 rel1 {
302                                         relative, 1.0 0.0;
303                                         to_x, "left_padding"; to_y, "base";
304                                 }
305                                 rel2 {
306                                         relative, 1.0 1.0;
307                                         to_x, "left_padding"; to_y, "base";
308                                 }
309                         }
310                 }
311                 part { name, "radio_right_padding";
312                         type, RECT;
313                         scale, 1;
314                         description {
315                                 state, "default" 0.0;
316                                 min, CONTENT_LEFT_PADDING 0;
317                                 fixed, 1 0;
318                                 rel1 {
319                                         relative, 1.0 0.0;
320                                         to_x, "radio"; to_y, "base";
321                                 }
322                                 rel2 {
323                                         relative, 1.0 1.0;
324                                         to_x, "radio"; to_y, "base";
325                                 }
326                                 align, 0.0 0.0;
327                                 visible, 0;
328                         }
329                 }
330                 part { name, "input_bg";
331                         scale, 1;
332                         description {
333                                 state, "default" 0.0;
334                                 min, 0 80;
335                                 fixed, 0 1;
336                                 align, 0.0 0.5;
337                                 rel1 { relative, -0.1 -0.1; to, "input_sw"; }
338                                 rel2 { relative, 1.1 1.1; to, "input_sw"; }
339                                 image {
340                                         normal, "01_dialoguegroup_edit_default.png";
341                                         border, 13 13 9 14;
342                                         border_scale, 1;
343                                 }
344                         }
345                 }
346                 part { name, "input_sw";
347                         type, SWALLOW;
348                         description {
349                                 state, "default" 0.0;
350                                 rel1 { relative, 1.0 0.0; to, "radio_right_padding"; }
351                                 rel2 { relative, 1.0 1.0; to, "radio_right_padding"; }
352                                 align, 0.0 0.5;
353                         }
354                 }
355                 part { name, "input_bg_right_padding";
356                         type, RECT;
357                         scale, 1;
358                         description {
359                                 state, "default" 0.0;
360                                 min, CONTENT_LEFT_PADDING 0;
361                                 fixed, 1 0;
362                                 rel1 {
363                                         relative, 1.0 0.0;
364                                         to_x, "input_bg"; to_y, "base";
365                                 }
366                                 rel2 {
367                                         relative, 1.0 1.0;
368                                         to_x, "input_bg"; to_y, "base";
369                                 }
370                                 align, 0.0 0.0;
371                                 visible, 0;
372                         }
373                 }
374                 part { name, "text";
375                         type, TEXT;
376                         scale, 1;
377                         description {
378                                 state, "default" 0.0;
379                                 align, 0.0 0.5;
380                                 rel1 {
381                                         relative, 1.0 0.0;
382                                         to_x, "input_bg_right_padding"; to_y, "base";
383                                 }
384                                 rel2 {
385                                         relative, 1.0 1.0;
386                                         to_x, "input_bg_right_padding"; to_y, "base";
387                                 }
388                                 text {
389                                         font: "arial";
390                     size: 42;
391                     min: 1 1;
392                                         text_class: "label";
393                                 }
394                                 color, 0 0 0 255;
395                         }
396                 }
397
398         }
399 }
400
401 group { name, "dialoguegroup/location";
402
403         parts {
404                 part { name, "base";
405                         type, RECT;
406                         description {
407                                 state, "default" 0.0;
408                                 color, 0 0 0 0;
409                         }
410                 }
411                 part { name, "pad/right";
412                         type, RECT;
413                         scale, 1;
414                         description {
415                                 state, "default" 0.0;
416                                 min, 6 0;
417                                 fixed, 1 0;
418                                 rel1 { relative , 1.0 1.0; to, "base"; }
419                                 rel2.to, "base";
420                                 align, 1.0 1.0;
421                                 color, 0 0 0 0;
422                         }
423                 }
424                 part { name, "button/base";
425                         type, SWALLOW;
426                         scale, 1;
427                         description {
428                                 state, "default" 0.0;
429                                 min, 130 0;
430                                 max, 130 0;
431                                 fixed, 1 0;
432                                 rel1 {
433                                         relative, 0.0 0.0;
434                                         to_x, "pad/right";
435                                         to_y, "base";
436                                 }
437                                 rel2 {
438                                         relative, 0.0 0.0;
439                                         to, "pad/right";
440                                 }
441                                 align, 1.0 0.5;
442                         }
443                 }
444                 part { name, "button/sw";
445                         type, SWALLOW;
446                         scale, 1;
447                         description {
448                                 state, "default" 0.0;
449                                 min, 130 74;
450                                 max, 130 74;
451                                 fixed, 1 1;
452                                 rel1 { relative, 0.0 0.5; to, "button/base"; }
453                                 rel2 { relative, 1.0 0.5; to, "button/base"; }
454                                 align, 1.0 0.5;
455                         }
456                 }
457                 part { name, "pad/button/left";
458                         type, RECT;
459                         description {
460                                 min, 15 0;
461                                 max, 15 0;
462                                 fixed, 1 0;
463                                 state, "default" 0.0;
464                                 align, 1.0 0.5;
465                                 rel1 { relative , 0.0 0.0; to, "button/sw"; }
466                                 rel2 { relative , 0.0 0.0; to, "button/sw"; }
467                         }
468                 }
469                 part { name, "editfield/sw";
470                         type, SWALLOW;
471                         description {
472                                 state, "default" 0.0;
473                                 align, 1.0 0.5;
474                                 rel1.to, "base";
475                                 rel2 {
476                                         relative, 0.0 1.0;
477                                         to_x, "pad/button/left";
478                                         to_y, "base";
479                                 }
480                         }
481                 }
482         }
483 }
484
485 //base 690x850
486 //HD size 720x1280
487 #define HEIGHT_OF_LIST_VIEW 920
488
489
490 group { name, "list/base";
491
492         parts {
493
494                 part { name, "base";
495                         type, SWALLOW;
496                         description {
497                                 state, "default" 0.0;
498                                 color, 248 246 239 255;
499                                 align: 0.0 0.0;
500                         }
501                 }
502
503                 part {name, "searchbar";
504                         type, SWALLOW;
505                                 mouse_events, 1;
506                                 scale, 1;
507                         description {
508                                         state: "default" 0.0;
509                                         min: 460 106;
510                                         fixed: 1 1;
511                                 align: 0.0 0.0;
512                                         rel1 { relative: 0.0 0.0; to: "base";}
513                                         rel2 { relative: 1.0 0.0; to: "base";}
514                                         visible, 1;
515                         }
516                         description {
517                                 state: "hide" 0.0;
518                                 align: 0.0 0.0;
519                                 rel1 { relative: 0.0 0.0; to: "base";}
520                                 rel2 { relative: 0.0 0.0; to: "base";}
521                                 visible: 0;
522                         }
523                 }
524
525                 part { name, "sw";
526                         type, SWALLOW;
527                         description {
528                                 state, "default" 0.0;
529                                 rel1 { relative: 0.0 1.0; to: "searchbar"; }
530                                 rel2.to, "base";
531                                 visible, 1;
532                         }
533                         description {
534                                 state, "hide" 0.0;
535                                 rel1 { relative: 0.0 0.0; to: "base"; }
536                                 rel2.to, "base";
537                                 visible, 1;
538                         }
539                 }
540                 part { name, "sw_nocontents";
541                         type, SWALLOW;
542                         description {
543                                 state, "default" 0.0;
544                                 rel1 { relative: 0.0 0.0; to: "base"; }
545                                 rel2.to, "base";
546                                 visible, 1;
547                         }
548                 }
549                 part {
550                         name: "sel.swallow.contents";
551                         type: SWALLOW;
552                         description {
553                                 state: "default" 0.0;
554                                 fixed: 0 1;
555                                 align: 0.5 1.0;
556                                 rel1 {
557                                         relative: 0.0 1.0;
558                                         to:"sw";
559                                 }
560                         }
561                         description {
562                                 state: "hide" 0.0;
563                                 inherit: "default" 0.0;
564                                 visible: 0;
565                         }
566                 }
567         }
568         programs {
569                 program {
570                         name: "show,selection,info";
571                         signal: "show,selection,info";
572                         source: "elm";
573                         action: STATE_SET "default" 0.0;
574                         target: "sel.swallow.contents";
575                 }
576                 program {
577                         name: "hide,selection,info";
578                         signal: "hide,selection,info";
579                         source: "elm";
580                         action: STATE_SET "hide" 0.0;
581                         target: "sel.swallow.contents";
582                 }
583                 program {
584                         name: "show";
585                         signal: "searchbar,show";
586                         action: STATE_SET "default" 0.0;
587                         target: "searchbar";
588                         target: "sw";
589                         source: "prog";
590                 }
591                 program {
592                         name: "hide";
593                         signal: "searchbar,hide";
594                         action: STATE_SET "hide" 0.0;
595                         target: "searchbar";
596                         target: "sw";
597                         source: "prog";
598                 }
599         }
600 }
601
602 group { name, "search/list/base";
603
604         parts {
605
606                 part { name, "base";
607                         type, SWALLOW;
608                         description {
609                                 state, "default" 0.0;
610                                 color, 0 0 0 0;
611                                 align: 0.0 0.0;
612                         }
613                 }
614
615                 part { name, "search_scope";
616                         type, RECT;
617                         description {
618                                 state, "default" 0.0;
619                                 min: 160 0;
620                                 fixed: 1 0;
621                                 rel1 {
622                                         relative: 0.0 0.0;
623                                         to_x: "base";
624                                         to_y: "base";
625                                 }
626                                 rel2 {
627                                         relative: 0.0 1.0;
628                                         to_x: "searchbar";
629                                         to_y: "searchbar";
630                                 }
631                                 color, 248 246 239 255;
632                                 align: 0.0 0.0;
633                         }
634                         description {
635                                 state, "hide" 0.0;
636                                 inherit: "default" 0.0;
637                                 min: 0 0;
638                                 align: 0.0 0.0;
639                                 rel1 { relative: 0.0 0.0; to: "base";}
640                                 rel2 { relative: 0.0 0.0; to: "base";}
641                                 visible: 0;
642                         }
643                 }
644                 part { name, "search_scope_button";
645                         type, SWALLOW;
646                         description {
647                                 state, "default" 0.0;
648                                 min: 140 0;
649                                 fixed: 1 0;
650                                 rel1 {
651                                         relative: 0.0 0.0;
652                                         offset: 15 15;
653                                         to_x: "search_scope";
654                                         to_y: "search_scope";
655                                 }
656                                 rel2 {
657                                         relative: 1.0 1.0;
658                                         offset: 0 -15;
659                                         to_x: "search_scope";
660                                         to_y: "search_scope";
661                                 }
662                                 visible, 1;
663                         }
664                 }
665                 part {name, "searchbar";
666                         type, SWALLOW;
667                                 mouse_events, 1;
668                                 scale, 1;
669                         description {
670                                         state: "default" 0.0;
671                                         min: 340 106;
672                                         fixed: 1 1;
673                                         align: 0.0 0.0;
674                                         rel1 {
675                                                 relative: 1.0 0.0;
676                                                 to_x: "search_scope";
677                                                 to_y: "base";
678                                         }
679                                         rel2 { relative: 1.0 0.0; to: "base";}
680                                         visible, 1;
681                         }
682                         description {
683                                 state: "hide" 0.0;
684                                 inherit: "default" 0.0;
685                                 min: 0 0;
686                                 align: 0.0 0.0;
687                                 rel1 { relative: 0.0 0.0; to: "base";}
688                                 rel2 { relative: 0.0 0.0; to: "base";}
689                                 visible: 0;
690                         }
691                 }
692
693                 part { name, "sw";
694                         type, SWALLOW;
695                         description {
696                                 state, "default" 0.0;
697                                 fixed: 0 1;
698                                 rel1 {
699                                                 relative: 0.0 1.0;
700                                                 to_x: "base";
701                                                 to_y: "searchbar";
702                                         }
703                                 rel2.to, "base";
704                                 visible, 1;
705                         }
706                 }
707         }
708
709         programs {
710                 program {
711                         name: "show";
712                         signal: "searchbar,show";
713                         action: STATE_SET "default" 0.0;
714                         target: "searchbar";
715                         target: "search_scope";
716                         source: "prog";
717                 }
718                 program {
719                         name: "hide";
720                         signal: "searchbar,hide";
721                         action: STATE_SET "hide" 0.0;
722                         target: "searchbar";
723                         target: "search_scope";
724                         source: "prog";
725                 }
726         }
727 }
728
729 group { name, "list/base/without_searchbar";
730
731         parts {
732
733                 part { name, "base";
734                         type, SWALLOW;
735                         description {
736                                 state, "default" 0.0;
737                                 align: 0.0 0.0;
738                         }
739                 }
740                 part { name, "sw";
741                         type, SWALLOW;
742                         description {
743                                 state, "default" 0.0;
744                                 rel1 {
745                                         relative: 0.0 0.0;
746                                         to_x: "base";
747                                         to_y: "base";
748                                 }
749                                 rel2 {
750                                         relative: 1.0 1.0;
751                                         to_x: "base";
752                                         to_y: "base";
753                                 }
754                                 visible, 1;
755                         }
756                 }
757                 part {
758                         name: "sel.swallow.contents";
759                         type: SWALLOW;
760                         description {
761                                 state: "default" 0.0;
762                                 fixed: 0 1;
763                                 align: 0.5 1.0;
764                                 rel1 {
765                                         relative: 0.0 1.0;
766                                         to:"sw";
767                                 }
768                         }
769                         description {
770                                 state: "hide" 0.0;
771                                 inherit: "default" 0.0;
772                                 visible: 0;
773                         }
774                 }
775         }
776         programs {
777                 program {
778                         name: "show,selection,info";
779                         signal: "show,selection,info";
780                         source: "elm";
781                         action: STATE_SET "default" 0.0;
782                         target: "sel.swallow.contents";
783                 }
784                 program {
785                         name: "hide,selection,info";
786                         signal: "hide,selection,info";
787                         source: "elm";
788                         action: STATE_SET "hide" 0.0;
789                         target: "sel.swallow.contents";
790                 }
791         }
792
793
794 }
795
796
797 group {
798         name: "ug_effect_sample";
799         parts {
800                 part {
801                         name: "clip";
802                         type: RECT;
803                         description {
804                         state: "default" 0.0;
805                         rel1 { relative: 1 0; }
806                         rel2 { relative: 2 1; }
807                         color: 255 255 255 0;
808                 }
809                         description {
810                                 state: "show" 0.0;
811                                 rel1 { relative: 0 0; }
812                                 rel2 { relative: 1 1; }
813                                 color: 255 255 255 255;
814                         }
815                 }
816                 part {
817                         name: "elm.swallow.content";
818                         type: SWALLOW;
819                         clip_to: "clip";
820                         description {
821                                 rel1.to: "clip";
822                                 rel2.to: "clip";
823                         }
824                 }
825                 part {
826                         name: "event_blocker";
827                         description {
828                         state: "default" 0.0;
829                         rel1.to: "clip";
830                         rel2.to: "clip";
831                         visible: 1;
832                         }
833                         description {
834                                 state: "show" 0.0;
835                                 inherit: "default" 0.0;
836                         }
837                         description {
838                                 state: "disabled" 0.0;
839                                 inherit: "default" 0.0;
840                                 visible: 0;
841                         }
842                 }
843         }
844         programs {
845                 program {
846                         name: "show";
847                         signal: "elm,state,show";
848                         action: STATE_SET "show" 0.0;
849                         target: "clip";
850                         target: "event_blocker";
851                         transition: "DECELERATE" 1.2;
852                         after: "show_end";
853                 }
854
855                 program {
856                         name: "hide";
857                         signal: "elm,state,hide";
858                         action: STATE_SET "default" 0.0;
859                         target: "clip";
860                         target: "event_blocker";
861                         transition: "DECELERATE" 1.0;
862                         after: "hide_end";
863                 }
864                 program {
865                         name: "disable_event_blocker";
866                         signal: "elm,state,blocker,disabled";
867                         action: STATE_SET "disabled" 0.0;
868                         target: "event_blocker";
869                 }
870                 program {
871                         name: "disable_blocker";
872                         action: SIGNAL_EMIT "elm,state,blocker,disabled" "";
873                 }
874                 program {
875                         name: "show_end";
876                         action: SIGNAL_EMIT "elm,action,show,finished" "";
877                         after: "disable_blocker";
878                 }
879                 program {
880                         name: "hide_end";
881                         action: SIGNAL_EMIT "elm,action,hide,finished" "";
882                         after: "disable_blocker";
883                 }
884         }
885 }
886
887 group { name: "popup_center_text_progressview";
888         parts{
889                 part { name: "pad_t";
890                         scale : 1;
891                         mouse_events: 0;
892                         repeat_events: 1;
893                         description { state: "default" 0.0;
894                                 align: 0.5 0.0;
895                                 min: 0 14;
896                                 fixed: 0 1;
897                                 rel1 {
898                                         relative: 1.0 0.0;
899                                         to_x: "pad_l";
900                                 }
901                                 rel2 {
902                                         relative: 0.0 0.0;
903                                         to_x: "pad_r";
904                                 }
905                         }
906                 }
907                 part { name: "pad_l";
908                         scale: 1;
909                         description { state: "default" 0.0;
910                                 min : 10 0;
911                                 fixed: 1 0;
912                                 rel1 {
913                                         relative: 0.0 0.0;
914                                 }
915                                 rel2 {
916                                         relative: 0.0 1.0;
917                                 }
918                                 align: 0.0 0.0;
919                         }
920                 }
921                 part { name: "pad_r";
922                         scale: 1;
923                         description { state: "default" 0.0;
924                                 min : 10 0;
925                                 fixed: 1 0;
926                                 rel1 {
927                                         relative: 1.0 0.0;
928                                 }
929                                 rel2 {
930                                         relative: 1.0 1.0;
931                                 }
932                                 align: 1.0 0.0;
933                         }
934                 }
935                 part{ name:"elm.swallow.content";
936                         type: SWALLOW;
937                         scale : 1;
938                         description { state: "default" 0.0;
939                                 min: 300 0;
940                                 align: 0.5 0.5;
941                                 fixed: 1 0;
942                                 rel1 {
943                                         relative: 0.5 1.0;
944                                         to: "pad_t";
945                                 }
946                                 rel2 {
947                                         relative: 0.5 0.0;
948                                         to: "pad_b";
949                                 }
950                         }
951                 }
952                 part { name: "pad_b";
953                         scale : 1;
954                         mouse_events: 0;
955                         repeat_events: 1;
956                         description { state: "default" 0.0;
957                                 align: 0.5 1.0;
958                                 min: 0 90;
959                                 fixed: 0 1;
960                                 rel1 {
961                                         relative: 1.0 1.0;
962                                         to_x: "pad_l";
963                                 }
964                                 rel2 {
965                                         relative: 0.0 1.0;
966                                         to_x: "pad_r";
967                                 }
968                         }
969                 }
970                 part { name: "elm.swallow.end";
971                         type: SWALLOW;
972                         scale : 1;
973                         mouse_events: 1;
974                         repeat_events: 1;
975                         description { state: "default" 0.0;
976                                 align: 0.0 0.0;
977                                 fixed: 1 1;
978                                 rel1 {
979                                         relative: 0.0 0.0;
980                                         to: "pad_b";
981                                 }
982                                 rel2 {
983                                         relative: 1.0 1.0;
984                                         to: "pad_b";
985                                 }
986                         }
987                 }
988                 part { name: "pad_bm";
989                         scale : 1;
990                         mouse_events: 0;
991                         repeat_events: 1;
992                         description { state: "default" 0.0;
993                                 align: 0.0 1.0;
994                                 min: 0 52;
995                                 fixed: 0 1;
996                                 rel1 {
997                                         relative: 0.0 1.0;
998                                         to: "pad_b";
999                                 }
1000                                 rel2 {
1001                                         relative: 1.0 1.0;
1002                                         to: "pad_b";
1003                                 }
1004                         }
1005                 }
1006                 part { name: "elm.text.subtext1";
1007                         type: TEXT;
1008                         scale : 1;
1009                         description { state: "default" 0.0;
1010                                 text {
1011                                         font: "SLP:style=Medium";
1012                                         size: 16;
1013                                         min: 0 0;
1014                                         align: 0.0 1.0;
1015                                 }
1016                                 color: 108 108 108 255;
1017                                 align: 0.0 0.5;
1018                                 rel1 {
1019                                         relative: 0.0 0.0;
1020                                         to: "pad_bm";
1021                                 }
1022                                 rel2 {
1023                                         relative: 1.0 1.0;
1024                                         to: "pad_bm";
1025                                 }
1026                         }
1027                 }
1028                 part { name: "elm.text.subtext2";
1029                         type: TEXT;
1030                         scale : 1;
1031                         description { state: "default" 0.0;
1032                                 text {
1033                                         font: "SLP:style=Medium";
1034                                         size: 16;
1035                                         min: 0 0;
1036                                         align: 1.0 1.0;
1037                                 }
1038                                 color: 108 108 108 255;
1039                                 align: 1.0 0.5;
1040                                 rel1 {
1041                                         relative: 0.0 0.0;
1042                                         to: "pad_bm";
1043                                 }
1044                                 rel2 {
1045                                         relative: 1.0 1.0;
1046                                         to: "pad_bm";
1047                                 }
1048                         }
1049                 }
1050         }
1051 }
1052
1053 group { name, "dialoguegroup/datetime";
1054         parts {
1055                 part { name, "base";
1056                         type, RECT;
1057                         scale, 1;
1058                         description {
1059                                 state, "default" 0.0;
1060                                 min, 0 100;
1061                                 color, 0 0 0 0;
1062                         }
1063                 }
1064                 part { name, "left_padding";
1065                         type, RECT;
1066                         scale, 1;
1067                         description {
1068                                 state, "default" 0.0;
1069                                 min, 30 0;
1070                                 fixed, 1 0;
1071                                 rel1.to, "base";
1072                                 rel2 {
1073                                         relative: 0.0 1.0;
1074                                         to: "base";
1075                                 }
1076                                 align, 0.0 0.0;
1077                                 color, 0 0 0 0;
1078                         }
1079                 }
1080                 part { name, "right_padding";
1081                         type, RECT;
1082                         scale, 1;
1083                         description {
1084                                 state, "default" 0.0;
1085                                 min, 30 0;
1086                                 fixed, 1 0;
1087                                 rel1 {
1088                                         relative: 1.0 0.0;
1089                                         to: "base";
1090                                 }
1091                                 rel2.to, "base";
1092                                 align, 1.0 0.0;
1093                                 color, 0 0 0 0;
1094                         }
1095                 }
1096                 part { name, "bottom_padding";
1097                         type, RECT;
1098                         scale, 1;
1099                         description {
1100                                 state, "default" 0.0;
1101                                 min, 0 10;
1102                                 fixed, 0 1;
1103                                 rel1 { relative, 0.0 1.0; to, "base"; }
1104                                 rel2.to, "base";
1105                                 align, 0.5 1.0;
1106                                 color, 0 0 0 0;
1107                         }
1108                 }
1109                 part { name: "elm.text";
1110                         type: TEXT;
1111                         scale: 1;
1112                         mouse_events: 0;
1113                         description { state: "default" 0.0;
1114                                 min: 50 20;
1115                                 fixed: 1 1;
1116                                 visible: 1;
1117                                 rel1 {
1118                                         relative: 0.0 0.1;
1119                                         to_x: "left_padding";
1120                                 }
1121                                 rel2 {
1122                                         relative: 1.0 0.1;
1123                                         to_y: "left_padding";
1124                                 }
1125                                 align: 0.0 0.2;
1126                                 color: 124 124 124 255;
1127                                 text {
1128                                         font: "SLP:style=Bold";
1129                                         size: 32;
1130                                         min: 0 1;
1131                                         align: 0.0 0.5;
1132                                 }
1133                         }
1134                 }
1135                 part { name: "elm.icon";
1136                         type: SWALLOW;
1137                         scale: 1;
1138                         description { state: "default" 0.0;
1139                                 align: 1.0 0.5;
1140                                 fixed: 1 1;
1141                                 rel1 {
1142                                         relative: 0.0 1.0;
1143                                         offset: 0 0;
1144                                         to_x: "left_padding";
1145                                         to_y: "elm.text";
1146                                 }
1147                                 rel2 {
1148                                         relative: 0.0 0.0;
1149                                         offset: 0 0;
1150                                         to_x: "right_padding";
1151                                         to_y: "bottom_padding";
1152                                 }
1153                         }
1154                 }
1155         }
1156 }
1157
1158 group { name, "dialoguegroup/participants";
1159         parts {
1160                 part { name, "base";
1161                         type, RECT;
1162                         scale, 1;
1163                         description {
1164                                 state, "default" 0.0;
1165                                 min, 0 100;
1166                                 color, 0 0 0 0;
1167                         }
1168                 }
1169                 part { name, "top_padding";
1170                         type, RECT;
1171                         scale, 1;
1172                         description {
1173                                 state, "default" 0.0;
1174                                 min, 0 20;
1175                                 fixed, 0 1;
1176                                 rel1.to, "base";
1177                                 rel2 {
1178                                         relative: 1.0 0.0;
1179                                         to: "base";
1180                                 }
1181                                 align, 0.0 0.0;
1182                                 color, 0 0 0 0;
1183                         }
1184                 }
1185                 part { name, "bottom_padding";
1186                         type, RECT;
1187                         scale, 1;
1188                         description {
1189                                 state, "default" 0.0;
1190                                 min, 0 20;
1191                                 fixed, 0 1;
1192                                 rel1 {
1193                                         relative: 0.0 1.0;
1194                                         to: "base";
1195                                 }
1196                                 rel2.to, "base";
1197                                 align, 0.0 0.0;
1198                                 color, 0 0 0 0;
1199                         }
1200                 }
1201                 part { name, "right_padding";
1202                         type: RECT;
1203                         scale: 1;
1204                         description { state: "default" 0.0;
1205                                 align: 1.0 0.5;
1206                                 min: 10 0;
1207                                 max: 10 -1;
1208                                 fixed: 1 1;
1209                                 rel1 {
1210                                         relative: 1.0 0.0;
1211                                         offset: 0 0;
1212                                         to: "base";
1213                                 }
1214                                 rel2.to, "base";
1215                                 color, 0 0 0 0;
1216                         }
1217                 }
1218
1219                 part { name: "elm.icon.1";
1220                         type: SWALLOW;
1221                         scale: 1;
1222                         description { state: "default" 0.0;
1223                                 align: 1.0 0.5;
1224                                 rel1 {
1225                                         relative: 0.0 1.0;
1226                                         offset: 0 0;
1227                                         to_x: "base";
1228                                         to_y: "top_padding";
1229                                 }
1230                                 rel2 {
1231                                         relative: 0.0 0.0;
1232                                         offset: 0 0;
1233                                         to_x: "right_padding";
1234                                         to_y: "bottom_padding";
1235                                 }
1236                         }
1237                 }
1238                 part { name: "elm.icon.2";
1239                         type: SWALLOW;
1240                         scale: 1;
1241                         description { state: "default" 0.0;
1242                                 align: 1.0 0.5;
1243                                 min, 30 30;
1244                                 fixed: 1 1;
1245                                 rel1 {
1246                                         relative: 1.0 0.0;
1247                                         offset: 0 0;
1248                                         to: "base";
1249                                 }
1250                                 rel2.to, "base";
1251                         }
1252                 }
1253         }
1254 }
1255
1256 group { name, "dialoguegroup/tm";
1257
1258         parts {
1259                 part { name, "base";
1260                         type, RECT;
1261                         scale, 1;
1262                         description {
1263                                 state, "default" 0.0;
1264                                 min, 0 74;
1265                                 color, 0 0 0 0;
1266                         }
1267                 }
1268                 part { name, "left_padding";
1269                         type, RECT;
1270                         scale, 1;
1271                         description {
1272                                 state, "default" 0.0;
1273                                 min, 0 0;
1274                                 fixed, 1 0;
1275                                 rel1.to, "base";
1276                                 rel2 { relative, 0.0 1.0; to, "base"; }
1277                                 align, 0.0 0.0;
1278                                 color, 0 0 0 0;
1279                         }
1280                 }
1281                 part { name, "right_padding";
1282                         type, RECT;
1283                         scale, 1;
1284                         description {
1285                                 state, "default" 0.0;
1286                                 min, 16 0;
1287                                 fixed, 1 0;
1288                                 rel1 { relative, 1.0 0.0; to, "base"; }
1289                                 rel2.to, "base";
1290                                 align, 1.0 0.0;
1291                                 color, 0 0 0 0;
1292                         }
1293                 }
1294                 part { name, "text_left_padding";
1295                         type, RECT;
1296                         scale, 1;
1297                         description {
1298                                 state, "default" 0.0;
1299                                 min, CONTENT_LEFT_PADDING 0;
1300                                 fixed, 1 0;
1301                                 rel1 {
1302                                         relative, 1.0 0.5;
1303                                         to_x, "content"; to_y, "base";
1304                                 }
1305                                 rel2 {
1306                                         relative, 1.0 0.5;
1307                                         to_x, "content"; to_y, "base";
1308                                 }
1309                                 align, 0.0 0.0;
1310                                 color, 0 0 0 0;
1311                         }
1312                 }
1313                 part { name, "datefield";
1314                         type, SWALLOW;
1315                         scale, 1;
1316                         description {
1317                                 state, "default" 0.0;
1318                                 align, 0.0 0.5;
1319                                 rel1 {
1320                                         relative, 1.0 0.0;
1321                                         to_x, "text_left_padding"; to_y, "base";
1322                                 }
1323                                 rel2 {
1324                                         relative, 0.0 1.0;
1325                                         to_x, "right_padding"; to_y, "base";
1326                                 }
1327                         }
1328                 }
1329
1330                 part { name, "content";
1331                         type, SWALLOW;
1332                         scale, 1;
1333                         description {
1334                                 state, "default" 0.0;
1335                                 align, 0.0 0.5;
1336                                 fixed, 1 1;
1337                                 rel1 {
1338                                         relative, 1.0 0.0;
1339                                         to_x, "left_padding"; to_y, "base";
1340                                 }
1341                                 rel2 {
1342                                         relative, 1.0 1.0;
1343                                         to_x, "left_padding"; to_y, "base";
1344                                 }
1345                         }
1346                 }
1347
1348         }
1349 }
1350
1351 group { name, "custom/popup/genlist";
1352
1353         parts {
1354                 part { name, "base";
1355                         type, RECT;
1356                         scale, 1;
1357                         description {
1358                                 state, "default" 0.0;
1359                                 min, 620 426;
1360                                 max, 620 426;
1361                                 color, 248 246 239 255;
1362                         }
1363                         description {
1364                                 state, "contract" 0.0;
1365                                 min, 620 202;
1366                                 max, 620 202;
1367                                 color, 248 246 239 255;
1368                         }
1369
1370                 }
1371
1372                 part { name, "top/bg";
1373                         type, RECT;
1374                         scale, 1;
1375                         description {
1376                                 state, "default" 0.0;
1377                                 rel1 {
1378                                         relative: 0.0 0.0;
1379                                         to_y: "base";
1380                                         to_x: "base";
1381                         }
1382                                 rel2 {
1383                                         relative: 1.0 0.0;
1384                                         offset: 0 86;
1385                                         to_x: "base";
1386                                         to_y: "base";
1387                         }
1388                                 align: 0.0 0.0;
1389                                 color, 248 246 239 255;
1390                         }
1391                 }
1392
1393                 part { name, "segment/bg";
1394                         type, RECT;
1395                         scale, 1;
1396                         description {
1397                                 state, "default" 0.0;
1398                                 min, 580 74;
1399                                 max, 580 74;
1400                                 fixed:0 1;
1401                                 rel1 {
1402                                         relative: 0.0 0.0;
1403                                         offset: 20 6;
1404                                         to_y: "base";
1405                                         to_x: "base";
1406                         }
1407                                 rel2 {
1408                                         relative: 1.0 0.0;
1409                                         to_x: "base";
1410                                         to_y: "base";
1411                         }
1412                                 align: 0.0 0.0;
1413                                 color, 248 246 239 255;
1414                         }
1415                 }
1416                 part { name, "segment";
1417                         type, SWALLOW;
1418                         scale, 1;
1419                         description {
1420                                 state, "default" 0.0;
1421                                 fixed:0 1;
1422                                 rel1.to, "segment/bg";
1423                                 rel2.to, "segment/bg";
1424                                 align: 0.5 0.0;
1425                         }
1426                 }
1427                 part { name, "sw";
1428                         type, SWALLOW;
1429                         scale, 1;
1430                         description {
1431                                 state, "default" 0.0;
1432                                 min, 620 112;
1433                                 fixed:0 1;
1434                                 rel1 {
1435                                         relative: 0.0 1.0;
1436                                         to_x: "base";
1437                                         to_y: "top/bg";
1438                         }
1439                                 rel2.to, "base";
1440                         }
1441                 }
1442         }
1443         programs {
1444                 program { name, "contract/content";
1445                         signal, "contract,content";
1446                         source, "prog";
1447                         action, STATE_SET "contract" 0.0;
1448                         target, "base";
1449                 }
1450                 program { name, "normal/content";
1451                         signal, "normal,content";
1452                         source, "prog";
1453                         action, STATE_SET "default" 0.0;
1454                         target, "base";
1455                 }
1456         }
1457 }
1458
1459 group { name: "selectioninfo";
1460         parts {
1461                 part {
1462                         name: "gen.swallow.contents";
1463                         type: SWALLOW;
1464                         description {
1465                                 state: "default" 0.0;
1466                                 align: 0.5 0.0;
1467                         }
1468                 }
1469
1470                 part {
1471                         name: "sel.swallow.contents";
1472                         type: SWALLOW;
1473                         description {
1474                                 state: "default" 0.0;
1475                                 fixed: 0 1;
1476                                 align: 0.5 1.0;
1477                                 rel1 {
1478                                         relative: 0.0 1.0;
1479                                         to:"gen.swallow.contents";
1480                                 }
1481                         }
1482                         description {
1483                                 state: "hide" 0.0;
1484                                 inherit: "default" 0.0;
1485                                 visible: 0;
1486                         }
1487                 }
1488         }
1489         programs {
1490                 program {
1491                         name: "show";
1492                         signal: "show,selection,info";
1493                         source: "elm";
1494                         action: STATE_SET "default" 0.0;
1495                         target: "sel.swallow.contents";
1496                 }
1497                 program {
1498                         name: "hide";
1499                         signal: "hide,selection,info";
1500                         source: "elm";
1501                         action: STATE_SET "hide" 0.0;
1502                         target: "sel.swallow.contents";
1503                 }
1504         }
1505 }