[Nocontent] Layout base will resize w.r.t to naviframe content.
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / layout.edc
1 /*
2  * efl-theme-tizen
3  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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
19
20    /*************************************************/
21    /* elm_layout -> fundamental template style      */
22    /*************************************************/
23    group { name: "elm/layout/application/default";
24       alias: "elm/layout/application/noindicator";
25       parts {
26          part { name: "elm.swallow.bg";
27             type: SWALLOW;
28             scale: 1;
29             description { state: "default" 0.0;
30             }
31          }
32          part { name: "elm.swallow.content";
33             type: SWALLOW;
34             scale: 1;
35             description { state: "default" 0.0;
36             }
37          }
38          //Might be no need anymore
39          part { name: "elm.swallow.controlbar";
40             type: SWALLOW;
41             description { state: "default" 0.0;
42                visible: 0;
43             }
44          }
45       }
46    }
47    /*************************************************************************/
48    /* elm_layout -> fundamental template style with controlbar (deprecated) */
49    /*************************************************************************/
50    group { name: "elm/layout/application/controlbar";
51       parts {
52          part { name: "elm.swallow.bg";
53             type: SWALLOW;
54             scale: 1;
55             description { state: "default" 0.0;
56             }
57          }
58          part { name: "elm.swallow.content";
59             type: SWALLOW;
60             scale: 1;
61             description { state: "default" 0.0;
62                rel2.relative: 1.0 0.0;
63                rel2.to: "elm.swallow.controlbar";
64             }
65          }
66          part { name: "elm.swallow.controlbar";
67             type: SWALLOW;
68             scale: 1;
69             description { state: "default" 0.0;
70                min: 0 CONTROLBAR_LARGE_HEIGHT_INC;
71                fixed: 0 1;
72                rel1 { relative: 0.0 1.0; }
73                rel2 { relative: 1.0 1.0; }
74                align: 0.5 1.0;
75             }
76          }
77       }
78    }
79    /************************************************************/
80    /* elm_layout -> fundamental template style with tabbar */
81    /************************************************************/
82    group { name: "elm/layout/application/tabbar";
83       alias: "elm/layout/tabbar/default";
84       parts {
85          part { name: "elm.swallow.bg";
86             type: SWALLOW;
87             scale: 1;
88             description { state: "default" 0.0;
89             }
90          }
91          part { name: "elm.swallow.tabbar";
92             type: SWALLOW;
93             scale: 1;
94             description { state: "default" 0.0;
95                min: 0 TABBAR_DEFAULT_HEIGHT_INC;
96                fixed: 0 1;
97                rel1 { relative: 0.0 0.0; }
98                rel2 { relative: 1.0 0.0; }
99                align: 0.5 0.0;
100             }
101             description { state: "icon_text" 0.0;
102                inherit: "default" 0.0;
103                min: 0 TABBAR_ICON_TEXT_HEIGHT_INC;
104             }
105             description { state: "horizontal" 0.0;
106                inherit: "default" 0.0;
107                min: 0 TABBAR_HORIZONTAL_HEIGHT_INC;
108             }
109             description { state: "horizontal_icon_text" 0.0;
110                inherit: "default" 0.0;
111                min: 0 TABBAR_HORIZONTAL_ICON_TEXT_HEIGHT_INC;
112             }
113             description { state: "hidden" 0.0;
114                inherit: "default" 0.0;
115                min: 0 0;
116             }
117          }
118          part { name: "elm.swallow.content";
119             type: SWALLOW;
120             scale: 1;
121             description { state: "default" 0.0;
122                rel1.to_y: "elm.swallow.tabbar";
123                rel1.relative: 0.0 1.0;
124             }
125          }
126       }
127       programs {
128          program { name: "show_tabbar";
129             signal: "elm,state,show,tabbar";
130             signal: "elm,state,default,tabbar";
131             source: "elm";
132             action: STATE_SET "default" 0.0;
133             target: "elm.swallow.tabbar";
134          }
135          program { name: "hide_tabbar";
136             signal: "elm,state,hide,tabbar";
137             source: "elm";
138             action: STATE_SET "hidden" 0.0;
139             target: "elm.swallow.tabbar";
140          }
141          program { name: "icon_text_tabbar";
142             signal: "elm,state,icon_text,tabbar";
143             source: "elm";
144             action: STATE_SET "icon_text" 0.0;
145             target: "elm.swallow.tabbar";
146          }
147          program { name: "horizontal_tabbar";
148             signal: "elm,state,horizontal,tabbar";
149             source: "elm";
150             action: STATE_SET "horizontal" 0.0;
151             target: "elm.swallow.tabbar";
152          }
153          program { name: "horizontal_icon_text_tabbar";
154             signal: "elm,state,horizontal_icon_text,tabbar";
155             source: "elm";
156             action: STATE_SET "horizontal_icon_text" 0.0;
157             target: "elm.swallow.tabbar";
158          }
159       }
160    }
161
162    /*************************************************/
163    /* elm_layout -> searchbar style                 */
164    /*************************************************/
165    group { name: "elm/layout/application/searchbar_base";
166       parts {
167          part { name: "elm.swallow.bg";
168             type: SWALLOW;
169             scale: 1;
170             description { state: "default" 0.0;
171             }
172          }
173          part { name: "searchbar";
174             type: SWALLOW;
175             mouse_events: 1;
176             scale: 1;
177             description { state: "default" 0.0;
178                min: 0 SEARCHBAR_H_INC;
179                fixed: 0 1;
180                align: 0.0 1.0;
181                rel2 {
182                   relative: 1.0 0.0;
183                }
184             }
185             description { state: "visible" 0.0;
186                inherit: "default" 0.0;
187                align: 0.0 0.0;
188             }
189          }
190          part { name: "elm.swallow.content";
191             type: SWALLOW;
192             mouse_events: 1;
193             scale: 1;
194             description { state: "default" 0.0;
195                align: 0.0 0.0;
196                rel1 {
197                   relative: 0.0 1.0;
198                   to: "searchbar";
199                }
200             }
201          }
202       }
203       programs {
204          program { name: "show_searchbar";
205             signal: "elm,state,show,searchbar";
206             source: "elm";
207             action: STATE_SET "visible" 0.0;
208             target: "searchbar";
209          }
210          program { name: "show_searchbar_with_animation";
211             signal: "elm,state,show,searchbar,animation";
212             source: "elm";
213             action: STATE_SET "visible" 0.0;
214             transition: DECELERATE 0.3;
215             target: "searchbar";
216          }
217          program { name: "hide_searchbar";
218             signal: "elm,state,hide,searchbar";
219             source: "elm";
220             action: STATE_SET "default" 0.0;
221             target: "searchbar";
222          }
223          program { name: "hide_searchbar_with_animation";
224             signal: "elm,state,hide,searchbar,animation";
225             source: "elm";
226             action: STATE_SET "default" 0.0;
227             transition: ACCELERATE 0.3;
228             target: "searchbar";
229          }
230       }
231    }
232
233    /*************************************************/
234    /* elm_layout -> integrated style (deprecated)   */
235    /*************************************************/
236    group { name: "elm/standard/window/integration";
237       parts {
238          /* for event blocking */
239          part { name: "base_event";
240             type: RECT;
241             repeat_events: 0;
242             description { state: "default" 0.0;
243                visible: 1;
244                color: 0 0 0 0;
245             }
246             description { state: "block_events" 0.0;
247                inherit: "default" 0.0;
248             }
249             description { state: "repeat_events" 0.0;
250                inherit: "default" 0.0;
251                visible: 0;
252             }
253          }
254          part { name: "base";
255             type: RECT;
256             mouse_events: 1;
257             repeat_events: 1;
258             description { state: "default" 0.0;
259                color: LAYOUT_BG_COLOR_INC;
260             }
261             description { state: "white_bg" 0.0;
262                color: 255 255 255 255;
263             }
264             description { state: "black_bg" 0.0;
265                color: 0 0 0 255;
266             }
267             description { state: "beige_bg" 0.0;
268                color: 246 245 237 255;
269             }
270             description { state: "group_list_bg" 0.0;
271                color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
272             }
273             description { state: "transparent_bg" 0.0;
274                color: 0 0 0 0;
275             }
276             description { state: "edit_mode" 0.0;
277                color: LAYOUT_EDIT_MODE_BG_COLOR_INC;
278             }
279          }
280          part { name: "elm.swallow.content";
281             type: SWALLOW;
282             description {
283                state: "default" 0.0;
284                visible: 0;
285                rel1 { relative: 0.0 0.0; }
286                rel2 { relative: 1.0 1.0; }
287             }
288             description { state: "show" 0.0;
289                inherit: "default" 0.0;
290                visible: 1;
291             }
292             description { state: "show_with_navi_bar" 0.0;
293                inherit: "default" 0.0;
294                rel1 { relative: 0.0 1.0; to_y: "elm.swallow.navi_bar"; }
295                visible: 1;
296             }
297             description { state: "show" 1.0;
298                inherit: "default" 0.0;
299                rel2 { relative: 1.0 0.0; to_y: "elm.swallow.controlbar"; }
300                visible: 1;
301             }
302             description { state: "show_with_navi_bar" 1.0;
303                inherit: "default" 0.0;
304                rel1 { relative: 0.0 1.0; to_y: "elm.swallow.navi_bar"; }
305                rel2 { relative: 1.0 0.0; to_y: "elm.swallow.controlbar"; }
306                visible: 1;
307             }
308          }
309          part { name: "elm.swallow.navi_bar";
310             type: SWALLOW;
311             scale: 1;
312             description {
313                state: "default" 0.0;
314                visible: 0;
315                min: 0 NAVIFRAME_TITLE_H_INC;
316                fixed: 0 1;
317                rel1 { relative: 0.0 0.0; }
318                rel2 { relative: 1.0 0.0; }
319                align: 0.5 0;
320             }
321             description { state: "show" 0.0;
322                inherit: "default" 0.0;
323                visible: 1;
324             }
325          }
326          part { name: "elm.swallow.controlbar";
327             type: SWALLOW;
328             scale: 1;
329             description { state: "default" 0.0;
330                visible: 0;
331                min: 0 CONTROLBAR_LARGE_HEIGHT_INC;
332                fixed: 0 1;
333                rel1 { relative: 0.0 1.0; }
334                rel2 { relative: 1.0 1.0; }
335                align: 0.5 1.0;
336             }
337             description { state: "show" 0.0;
338                inherit: "default" 0.0;
339                visible: 1;
340             }
341          }
342       }
343       programs {
344          program { name: "block_events";
345             signal: "elm,base_event,block_events";
346             source: "elm";
347             action: STATE_SET "block_events" 0.0;
348             target: "base_event";
349          }
350          program { name: "repeat_events";
351             signal: "elm,base_event,repeat_events";
352             source: "elm";
353             action: STATE_SET "repeat_events" 0.0;
354             target: "base_event";
355          }
356          program { name: "show_default_bg";
357             signal: "elm,bg,show,default";
358             source: "elm";
359             script {
360                set_state(PART:"base", "default", 0.0);
361             }
362          }
363          program { name: "show_black_bg";
364             signal: "elm,bg,show,black";
365             source: "elm";
366             script {
367                set_state(PART:"base", "black_bg", 0.0);
368             }
369          }
370          program { name: "show_white_bg";
371             signal: "elm,bg,show,white";
372             source: "elm";
373             script {
374                set_state(PART:"base", "white_bg", 0.0);
375             }
376          }
377          program { name: "show_beige_bg";
378             signal: "elm,bg,show,beige";
379             source: "elm";
380             script {
381                set_state(PART:"base", "beige_bg", 0.0);
382             }
383          }
384          program { name: "show_group_list_bg";
385             signal: "elm,bg,show,group_list";
386             source: "elm";
387             script {
388                set_state(PART:"base", "group_list_bg", 0.0);
389             }
390          }
391          program { name: "show_transparent_bg";
392             signal: "elm,bg,show,transparent";
393             source: "elm";
394             script {
395                set_state(PART:"base", "transparent_bg", 0.0);
396             }
397          }
398          program { name: "show_edit_mode_bg";
399             signal: "elm,bg,show,edit_mode";
400             source: "elm";
401             script {
402                set_state(PART:"base", "edit_mode", 0.0);
403             }
404          }
405          program { name: "show_navi_bar";
406             signal: "elm,state,show,navi_bar";
407             source: "elm";
408             script {
409                set_state(PART:"elm.swallow.navi_bar", "show", 0.0);
410                run_program(PROGRAM:"check_location");
411             }
412          }
413          program { name: "hide_navi_bar";
414             signal: "elm,state,hide,navi_bar";
415             source: "elm";
416             script {
417                set_state(PART:"elm.swallow.navi_bar", "default", 0.0);
418                run_program(PROGRAM:"check_location");
419             }
420          }
421          program { name: "show_content";
422             signal: "elm,state,show,content";
423             source: "elm";
424             script {
425                set_state(PART:"elm.swallow.content", "show", 0.0);
426                run_program(PROGRAM:"check_location");
427             }
428          }
429          program { name: "hide_content";
430             signal: "elm,state,hide,content";
431             source: "elm";
432             script {
433                set_state(PART:"elm.swallow.content", "hide", 0.0);
434                run_program(PROGRAM:"check_location");
435             }
436          }
437          program { name: "show_controlbar";
438             signal: "elm,state,show,controlbar";
439             source: "elm";
440             script {
441                set_state(PART:"elm.swallow.controlbar", "show", 0.0);
442                run_program(PROGRAM:"check_location");
443             }
444          }
445          program { name: "hide_controlbar";
446             signal: "elm,state,hide,controlbar";
447             source: "elm";
448             script {
449                set_state(PART:"elm.swallow.controlbar", "default", 0.0);
450                run_program(PROGRAM:"check_location");
451             }
452          }
453          program { name: "check_location";
454             script {
455                new st[30];
456                new Float:vl;
457                new navi_bar = 0, content = 0, controlbar = 0;
458
459                get_state(PART:"elm.swallow.navi_bar", st, 30, vl)
460                if (!strncmp(st, "show", 4))  navi_bar = 1;
461                get_state(PART:"elm.swallow.content", st, 30, vl)
462                if (!strncmp(st, "show", 4))  content = 1;
463                get_state(PART:"elm.swallow.controlbar", st, 30, vl)
464                if (!strncmp(st, "show", 4))  controlbar = 1;
465
466                // set navi bar
467                if (navi_bar == 1) {
468                   set_state(PART:"elm.swallow.navi_bar", "show", 0.0)
469                }
470
471                // set content
472                if (content == 1) {
473                   if (navi_bar == 1) {
474                      set_state(PART:"elm.swallow.content", "show_with_navi_bar", 0.0)
475                   } else {
476                      set_state(PART:"elm.swallow.content", "show", 0.0)
477                   }
478                   get_state(PART:"elm.swallow.content", st, 30, vl)
479
480                   if (controlbar == 1) {
481                      set_state(PART:"elm.swallow.content", st, 1.0)
482                   }
483                }
484             }
485          }
486       }
487    }
488
489    /************************************************************/
490    /* elm_layout -> fundamental template style with fastscroll */
491    /************************************************************/
492    group { name: "elm/layout/application/fastscroll";
493       parts {
494          part {
495             name: "bg";
496             type: RECT;
497             scale: 1;
498             description {
499                state: "default" 0.0;
500                color: 0 0 0 0;
501             }
502          }
503          part {
504             name: "right.padding";
505             type: RECT;
506             scale: 1;
507             description {
508                state: "default" 0.0;
509                rel1.relative: 1.0 0.0;
510                align: 1.0 0.5;
511                min: INDEX_ITEM_WIDTH_INC 0;
512                visible: 0;
513             }
514          }
515          part {
516             name: "elm.swallow.content";
517             type: SWALLOW;
518             scale: 1;
519             description {
520                state: "default" 0.0;
521                rel2 {
522                   to: "right.padding";
523                   relative: 0.0 1.0;
524                }
525             }
526          }
527          part {
528             name: "elm.swallow.fastscroll";
529             type: SWALLOW;
530             scale: 1;
531             description {
532                state: "default" 0.0;
533             }
534          }
535       }
536    }
537 group { name: "elm/layout/editfield/default";
538    images {
539       image: "00_edit_field_clear.png" COMP;
540    }
541    parts {
542       part {
543          name: "base";
544          type: RECT;
545          scale: 1;
546          ignore_flags: ON_HOLD;
547          description {
548             state: "default" 0.0;
549             min: 0 EDITFIELD_DEFAULT_MINH_INC;
550             color: 0 0 0 0;
551          }
552       }
553       part {
554          name: "top1";
555          type: RECT;
556          scale: 1;
557          ignore_flags: ON_HOLD;
558          description {
559             state: "default" 0.0;
560             visible: 0;
561             min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
562             fixed: 1 1;
563             rel1.relative: 0.0 0.0;
564             rel2.relative: 1.0 0.0;
565             align: 0.5 0;
566          }
567       }
568       part {
569          name: "left1";
570          type: RECT;
571          scale: 1;
572          ignore_flags: ON_HOLD;
573          description {
574             state: "default" 0.0;
575             visible: 0;
576             min: EDITFIELD_DEFAULT_LEFT1_INC 0;
577             fixed: 1 1;
578             align: 0 0;
579             rel1.relative : 0.0 0.0;
580             rel2.relative : 0.0 1.0;
581          }
582       }
583       part {
584          name: "right1";
585          type: RECT;
586          scale: 1;
587          ignore_flags: ON_HOLD;
588          description {
589             state: "default" 0.0;
590             visible: 0;
591             min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
592             fixed: 1 1;
593             align: 1 0;
594             rel1.relative : 1.0 0.0;
595             rel2.relative : 1.0 1.0;
596          }
597       }
598       part {
599          name: "right2";
600          type: RECT;
601          scale: 1;
602          ignore_flags: ON_HOLD;
603          description {
604             state: "default" 0.0;
605             visible: 0;
606             min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
607             fixed: 1 1;
608             align: 1 0;
609             rel1.relative : 1.0 0.0;
610             rel2.relative : 1.0 1.0;
611          }
612       }
613       part {
614          name: "bottom1";
615          type: RECT;
616          scale: 1;
617          ignore_flags: ON_HOLD;
618          description {
619             state: "default" 0.0;
620             visible: 0;
621             min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
622             fixed: 1 1;
623             align: 0 1;
624             rel1.relative: 0.0 1.0;
625          }
626       }
627       part {
628          name: "elm.guidetext";
629          type: TEXT;
630          scale: 1;
631          ignore_flags: ON_HOLD;
632          description {
633             state: "default" 0.0;
634             align: 0.0 0.0;
635             fixed: 1 1;
636             rel1.to: "elm.swallow.content";
637             rel2.to: "elm.swallow.content";
638             color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
639             text {
640                font: "Tizen:style=Roman";
641                size: ENTRY_TEXT_SIZE_INC;
642                min: 0 0;
643                align: 0.0 0.5;
644                text_class: "tizen";
645             }
646          }
647          description {
648             state: "hidden" 0.0;
649             inherit: "default" 0.0;
650             visible: 0;
651          }
652       }
653       part {
654          name: "elm.swallow.content";
655          type: SWALLOW;
656          scale: 1;
657          ignore_flags: ON_HOLD;
658          description {
659             state: "default" 0.0;
660             min: 0 40;
661             rel1 {
662                relative : 1.0 1.0;
663                to_x: "left1";
664                to_y: "top1";
665             }
666             rel2 {
667                relative : 0.0 0.0;
668                to_x: "right1";
669                to_y: "bottom1";
670             }
671             align: 0.0 0.5;
672          }
673       }
674       part {
675          name: "eraser_image";
676          scale: 1;
677          clip_to: "eraser_image.clipper";
678          description {
679             state: "default" 0.0;
680             visible: 0;
681             min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
682             fixed: 1 1;
683             align: 1 0.5;
684             rel1 {
685                relative: 0.0 0.5;
686                to_x : "right2";
687             }
688             rel2 {
689                relative: 0.0 0.5;
690                to_x : "right2";
691             }
692             image.normal: "00_edit_field_clear.png";
693          }
694          description {
695             state: "elm.eraser.show" 0.0;
696             inherit: "default" 0.0;
697             visible: 1;
698          }
699       }
700       part { name: "eraser_image.clipper";
701          type: RECT;
702          description { state: "default" 0.0;
703             color: 0 0 0 0;
704          }
705          description { state: "elm.eraser.show" 0.0;
706             color: EDITFIELD_ERASER_DEFAULT_COLOR_INC;
707          }
708          description { state: "elm.eraser.pressed" 0.0;
709             color: EDITFIELD_ERASER_PRESSED_COLOR_INC;
710          }
711       }
712       part {
713          name: "eraser";
714          type: RECT;
715          scale: 1;
716          mouse_events: 1;
717          description {
718             state: "default" 0.0;
719             visible: 0;
720             min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC;
721             fixed: 1 1;
722             align: 1 0.5;
723             color: 0 0 0 0;
724             rel1 {
725                relative: 0.0 0.5;
726                to_x : "right2";
727             }
728             rel2 {
729                relative: 0.0 0.5;
730                to_x : "right2";
731             }
732          }
733          description {
734             state: "elm.eraser.show" 0.0;
735             inherit: "default" 0.0;
736             visible: 1;
737          }
738       }
739    }
740    programs {
741       program {
742          name: "guidetext_show";
743          signal: "elm,state,guidetext,show";
744          source: "elm";
745          action: STATE_SET "default" 0.0;
746          target: "elm.guidetext";
747       }
748       program {
749          name: "guidetext_hide";
750          signal: "elm,state,guidetext,hide";
751          source: "elm";
752          action: STATE_SET "hidden" 0.0;
753          target: "elm.guidetext";
754       }
755       program {
756          name: "eraser_show";
757          signal: "elm,state,eraser,show";
758          source: "elm";
759          action: STATE_SET "elm.eraser.show" 0.0;
760          target: "eraser_image";
761          target: "eraser_image.clipper";
762          target: "eraser";
763       }
764       program {
765          name: "eraser_hide";
766          signal: "elm,state,eraser,hide";
767          source: "elm";
768          action: STATE_SET "default" 0.0;
769          target: "eraser_image";
770          target: "eraser_image.clipper";
771          target: "eraser";
772       }
773       program {
774          name: "eraser_clicked";
775          signal: "mouse,clicked,1";
776          source: "eraser";
777          action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
778       }
779       program {
780          name: "eraser_pressed";
781          signal: "mouse,down,1";
782          source: "eraser";
783          action: STATE_SET "elm.eraser.pressed" 0.0;
784          target: "eraser_image.clipper";
785       }
786       program {
787          name: "eraser_unpressed";
788          signal: "mouse,up,1";
789          source: "eraser";
790          action: STATE_SET "elm.eraser.show" 0.0;
791          target: "eraser_image.clipper";
792       }
793    }
794 }
795
796 group { name: "elm/layout/editfield/title";
797    images {
798       image: "00_edit_field_clear.png" COMP;
799    }
800    parts {
801       part {
802          name: "base";
803          type: RECT;
804          scale: 1;
805          ignore_flags: ON_HOLD;
806          description {
807             state: "default" 0.0;
808             min: 0 EDITFIELD_TITLE_MINH_INC;
809             color: 0 0 0 0;
810          }
811       }
812       part {
813          name: "top1";
814          type: RECT;
815          scale: 1;
816          ignore_flags: ON_HOLD;
817          description {
818             state: "default" 0.0;
819             visible: 0;
820             min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC;
821             fixed: 1 1;
822             rel1.relative: 0.0 0.0;
823             rel2.relative: 1.0 0.0;
824             align: 0.5 0;
825          }
826       }
827       part {
828          name: "top2";
829          type: RECT;
830          scale: 1;
831          ignore_flags: ON_HOLD;
832          description {
833             state: "default" 0.0;
834             visible: 0;
835             min: 0 EDITFIELD_DEFAULT_TOP2_INC;
836             fixed: 1 1;
837             rel1.relative: 0.0 0.0;
838             rel2.relative: 1.0 0.0;
839             align: 0.5 0;
840          }
841       }
842       part {
843          name: "left1";
844          type: RECT;
845          scale: 1;
846          ignore_flags: ON_HOLD;
847          description {
848             state: "default" 0.0;
849             visible: 0;
850             min: EDITFIELD_DEFAULT_LEFT1_INC 0;
851             fixed: 1 1;
852             align: 0 0;
853             rel1.relative : 0.0 0.0;
854             rel2.relative : 0.0 1.0;
855          }
856       }
857       part {
858          name: "left2";
859          type: RECT;
860          scale: 1;
861          ignore_flags: ON_HOLD;
862          description {
863             state: "default" 0.0;
864             visible: 0;
865             min: EDITFIELD_DEFAULT_LEFT2_INC 0;
866             fixed: 1 1;
867             align: 0 0;
868             rel1.relative : 0.0 0.0;
869             rel2.relative : 0.0 1.0;
870          }
871       }
872       part {
873          name: "right1";
874          type: RECT;
875          scale: 1;
876          ignore_flags: ON_HOLD;
877          description {
878             state: "default" 0.0;
879             visible: 0;
880             min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
881             fixed: 1 1;
882             align: 1 0;
883             rel1.relative : 1.0 0.0;
884             rel2.relative : 1.0 1.0;
885          }
886       }
887       part {
888          name: "right2";
889          type: RECT;
890          scale: 1;
891          ignore_flags: ON_HOLD;
892          description {
893             state: "default" 0.0;
894             visible: 0;
895             min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
896             fixed: 1 1;
897             align: 1 0;
898             rel1.relative : 1.0 0.0;
899             rel2.relative : 1.0 1.0;
900          }
901       }
902       part {
903          name: "bottom1";
904          type: RECT;
905          scale: 1;
906          ignore_flags: ON_HOLD;
907          description {
908             state: "default" 0.0;
909             visible: 0;
910             min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC;
911             fixed: 1 1;
912             align: 0 1;
913             rel1.relative: 0.0 1.0;
914          }
915       }
916       part {
917          name: "bottom2";
918          type: RECT;
919          scale: 1;
920          ignore_flags: ON_HOLD;
921          description {
922             state: "default" 0.0;
923             visible: 0;
924             min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC;
925             fixed: 0 1;
926             rel1.relative: 0.0 1.0;
927             align: 0 1;
928          }
929       }
930       part {
931          name: "eraser_base";
932          type: RECT;
933          scale: 1;
934          ignore_flags: ON_HOLD;
935          description {
936             state: "default" 0.0;
937             visible: 0;
938             rel1 {
939                relative: 0.0 1.0;
940                to_y: "top1";
941             }
942          }
943       }
944       part {
945          name: "elm.text";
946          type: TEXT;
947          scale: 1;
948          ignore_flags: ON_HOLD;
949          description {
950             state: "default" 0.0;
951             align: 0.0 0.0;
952             min: 0 34;
953             fixed: 1 1;
954             rel1 {
955                relative: 1.0 1.0;
956                to_x: "left2";
957                to_y: "top2";
958             }
959             rel2 {
960                relative: 1.0 1.0;
961                to_x: "left2";
962                to_y: "top2";
963             }
964             color: EDITFIELD_TITLE_COLOR_INC;
965             text {
966                font: "Tizen:style=Medium";
967                size: EDITFIELD_TITLE_SIZE_INC;
968                min: 1 1;
969                align: 0.0 0.0;
970                text_class: "tizen";
971             }
972          }
973       }
974       part {
975          name: "elm.guidetext";
976          type: TEXT;
977          scale: 1;
978          ignore_flags: ON_HOLD;
979          description {
980             state: "default" 0.0;
981             align: 0.0 0.0;
982             fixed: 1 1;
983             rel1.to: "elm.swallow.content";
984             rel2.to: "elm.swallow.content";
985             color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
986             text {
987                font: "Tizen:style=Roman";
988                size: ENTRY_TEXT_SIZE_INC;
989                min: 0 0;
990                align: 0.0 0.5;
991                text_class: "tizen";
992             }
993          }
994          description {
995             state: "hidden" 0.0;
996             inherit: "default" 0.0;
997             visible: 0;
998          }
999       }
1000       part {
1001          name: "elm.swallow.content";
1002          type: SWALLOW;
1003          scale: 1;
1004          ignore_flags: ON_HOLD;
1005          description {
1006             state: "default" 0.0;
1007             min: 0 40;
1008             rel1 {
1009                relative : 1.0 1.0;
1010                to_x: "left1";
1011                to_y: "top1";
1012             }
1013             rel2 {
1014                relative : 0.0 0.0;
1015                to_x: "right1";
1016                to_y: "bottom1";
1017             }
1018             align: 0.0 0.5;
1019          }
1020       }
1021       part {
1022          name: "eraser_image";
1023          scale: 1;
1024          clip_to: "eraser_image.clipper";
1025          description {
1026             state: "default" 0.0;
1027             visible: 0;
1028             min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
1029             fixed: 1 1;
1030             align: 1 0.5;
1031             rel1 {
1032                relative: 0.0 0.5;
1033                to_x : "right2";
1034                to_y : "eraser_base";
1035             }
1036             rel2 {
1037                relative: 0.0 0.5;
1038                to_x : "right2";
1039                to_y : "eraser_base";
1040             }
1041             image.normal: "00_edit_field_clear.png";
1042          }
1043          description {
1044             state: "elm.eraser.show" 0.0;
1045             inherit: "default" 0.0;
1046             visible: 1;
1047          }
1048       }
1049       part { name: "eraser_image.clipper";
1050          type: RECT;
1051          description { state: "default" 0.0;
1052             color: 0 0 0 0;
1053          }
1054          description { state: "elm.eraser.show" 0.0;
1055             color: EDITFIELD_ERASER_DEFAULT_COLOR_INC;
1056          }
1057          description { state: "elm.eraser.pressed" 0.0;
1058             color: EDITFIELD_ERASER_PRESSED_COLOR_INC;
1059          }
1060       }
1061       part {
1062          name: "eraser";
1063          type: RECT;
1064          scale: 1;
1065          mouse_events: 1;
1066          description {
1067             state: "default" 0.0;
1068             visible: 0;
1069             min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC;
1070             fixed: 1 1;
1071             align: 1 0.5;
1072             color: 0 0 0 0;
1073             rel1 {
1074                relative: 0.0 0.5;
1075                to_x : "right2";
1076                to_y : "eraser_base";
1077             }
1078             rel2 {
1079                relative: 0.0 0.5;
1080                to_x : "right2";
1081                to_y : "eraser_base";
1082             }
1083          }
1084          description {
1085             state: "elm.eraser.show" 0.0;
1086             inherit: "default" 0.0;
1087             visible: 1;
1088          }
1089       }
1090    }
1091    programs {
1092       program {
1093          name: "guidetext_show";
1094          signal: "elm,state,guidetext,show";
1095          source: "elm";
1096          action: STATE_SET "default" 0.0;
1097          target: "elm.guidetext";
1098       }
1099       program {
1100          name: "guidetext_hide";
1101          signal: "elm,state,guidetext,hide";
1102          source: "elm";
1103          action: STATE_SET "hidden" 0.0;
1104          target: "elm.guidetext";
1105       }
1106       program {
1107          name: "eraser_show";
1108          signal: "elm,state,eraser,show";
1109          source: "elm";
1110          action: STATE_SET "elm.eraser.show" 0.0;
1111          target: "eraser_image";
1112          target: "eraser_image.clipper";
1113          target: "eraser";
1114       }
1115       program {
1116          name: "eraser_hide";
1117          signal: "elm,state,eraser,hide";
1118          source: "elm";
1119          action: STATE_SET "default" 0.0;
1120          target: "eraser_image";
1121          target: "eraser_image.clipper";
1122          target: "eraser";
1123       }
1124       program {
1125          name: "eraser_clicked";
1126          signal: "mouse,clicked,1";
1127          source: "eraser";
1128          action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
1129       }
1130       program {
1131          name: "eraser_pressed";
1132          signal: "mouse,down,1";
1133          source: "eraser";
1134          action: STATE_SET "elm.eraser.pressed" 0.0;
1135          target: "eraser_image.clipper";
1136       }
1137       program {
1138          name: "eraser_unpressed";
1139          signal: "mouse,up,1";
1140          source: "eraser";
1141          action: STATE_SET "elm.eraser.show" 0.0;
1142          target: "eraser_image.clipper";
1143       }
1144    }
1145 }
1146
1147 group { name: "elm/layout/searchbar/default";
1148    images {
1149       image: "00_search_edit_field_bg.png" COMP;
1150    }
1151    parts {
1152       part { name: "inputfield_base";
1153          type: SPACER;
1154          scale: 1;
1155          description { state: "default" 0.0;
1156             align: 0.0 0.0;
1157          }
1158       }
1159       part { name: "top_left_padding";
1160          type: SPACER;
1161          mouse_events: 0;
1162          scale: 1;
1163          description {
1164             state: "default" 0.0;
1165             min: SEARCHBAR_LEFT_PADDING_INC SEARCHBAR_TOP_PADDING_INC;
1166             fixed: 1 1;
1167             align: 0.0 0.0;
1168             rel1 { relative: 0.0 0.0; to: "inputfield_base"; }
1169             rel2 { relative: 0.0 0.0; to: "inputfield_base"; }
1170          }
1171       }
1172       part { name: "bottom_right_padding";
1173          type: SPACER;
1174          mouse_events: 0;
1175          scale: 1;
1176          description {
1177             state: "default" 0.0;
1178             min: SEARCHBAR_RIGHT_PADDING_INC SEARCHBAR_BOTTOM_PADDING_INC;
1179             fixed: 1 1;
1180             align: 1.0 1.0;
1181             rel1 { relative: 1.0 1.0; to: "inputfield_base"; }
1182             rel2 { relative: 1.0 1.0; to: "inputfield_base"; }
1183          }
1184       }
1185       part { name: "inputfield_rect";
1186          type: RECT;
1187          scale: 1;
1188          description { state: "default" 0.0;
1189             min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC;
1190             align: 0.0 0.5;
1191             rel1 { relative: 1.0 1.0; to: "top_left_padding"; }
1192             rel2 { relative: 0.0 0.0; to: "bottom_right_padding"; }
1193             color: 0 0 0 0;
1194          }
1195       }
1196       part {
1197          name: "elm.swallow.content";
1198          type: SWALLOW;
1199          scale: 1;
1200          ignore_flags: ON_HOLD;
1201          description { state: "default" 0.0;
1202             min: 0 40;
1203             rel1 {
1204                relative : 0.0 0.0;
1205                to: "inputfield_rect";
1206             }
1207             rel2 {
1208                relative : 1.0 1.0;
1209                to: "inputfield_rect";
1210             }
1211             align: 0.0 0.5;
1212          }
1213       }
1214    }
1215    programs {
1216      program {
1217          name: "bg_clicked";
1218          signal: "mouse,clicked,1";
1219          source: "inputfield_rect";
1220          action: SIGNAL_EMIT "elm,bg,clicked" "elm";
1221       }
1222       program {
1223          name: "sound_play";
1224          signal: "mouse,clicked,1";
1225          source: "elm.text";
1226          action: PLAY_SAMPLE "touch_sound" 1.0;
1227       }
1228    }
1229 }
1230
1231 group { name: "elm/layout/searchbar/cancel_button";
1232    parts {
1233      part { name: "top_padding_rect";
1234          type: SPACER;
1235          scale: 1;
1236          description { state: "default" 0.0;
1237             min: 0 SEARCHBAR_TOP_PADDING_INC;
1238             fixed: 0 1;
1239             align: 0 0;
1240             rel2.relative: 1.0 0.0;
1241          }
1242       }
1243       part { name: "bottom_padding_rect";
1244          type: SPACER;
1245          scale: 1;
1246          description { state: "default" 0.0;
1247             min: 0 SEARCHBAR_BOTTOM_PADDING_INC;
1248             fixed: 0 1;
1249             align: 0 1;
1250             rel1.relative: 0.0 1.0;
1251          }
1252       }
1253       part { name: "base_bg";
1254          type: SPACER;
1255          scale: 1;
1256          description { state: "default" 0.0;
1257             min: 0 SEARCHBAR_HEIGHT_INC;
1258             align: 0 0.5;
1259             fixed: 0 1;
1260             rel1 {
1261                relative: 0.0 1.0;
1262                to: "top_padding_rect";
1263             }
1264             rel2 {
1265                relative: 1.0 0.0;
1266                to: "bottom_padding_rect";
1267             }
1268          }
1269       }
1270       part { name: "left_padding_rect";
1271          type: SPACER;
1272          scale: 1;
1273          description { state: "default" 0.0;
1274             min: SEARCHBAR_LEFT_PADDING_INC 0;
1275             fixed: 1 0;
1276             align: 0 0;
1277             rel2.relative: 0.0 1.0;
1278          }
1279       }
1280       part { name: "right_padding_rect";
1281          type: SPACER;
1282          scale: 1;
1283          description { state: "default" 0.0;
1284             min: SEARCHBAR_RIGHT_PADDING_INC 0;
1285             fixed: 1 0;
1286             align: 1.0 0.0;
1287             rel1.relative: 1.0 0.0;
1288          }
1289          description { state: "in" 0.0;
1290             inherit: "default" 0.0;
1291             min: SEARCHBAR_CANCEL_BUTTON_WITH_DOUBLE_PADDING_W_INC 0;
1292          }
1293       }
1294       part { name: "inputfield_rect";
1295          type: RECT;
1296          scale: 1;
1297          description { state: "default" 0.0;
1298             align: 0.0 0.5;
1299             min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC;
1300             rel1 {
1301                relative: 1.0 0.0;
1302                to_x: "left_padding_rect";
1303                to_y: "base_bg";
1304             }
1305             rel2 {
1306                relative: 0.0 1.0;
1307                to_x: "right_padding_rect";
1308                to_y: "base_bg";
1309             }
1310             color: 0 0 0 0;
1311          }
1312       }
1313       part { name: "right_btn_padding_rect";
1314          type: SPACER;
1315          scale: 1;
1316          description { state: "default" 0.0;
1317             min: SEARCHBAR_RIGHT_PADDING_INC 0;
1318             fixed: 1 0;
1319             align: 0.0 0.0;
1320             rel1.relative: 1.0 0.0;
1321             rel1.to: "inputfield_rect";
1322             rel2.relative: 1.0 1.0;
1323             rel2.to: "inputfield_rect";
1324          }
1325          description { state: "in" 0.0;
1326             inherit: "default" 0.0;
1327             min: SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 0;
1328          }
1329       }
1330       part { name: "button_cancel";
1331          type: SWALLOW;
1332          mouse_events: 1;
1333          scale: 1;
1334          description { state: "default" 0.0;
1335             fixed: 1 1;
1336             min: SEARCHBAR_CANCEL_BUTTON_W_INC 0;
1337             align: 0.0 0.5;
1338             state: "default" 0.0;
1339             rel1 {
1340                relative: 1.0 1.0;
1341                to_x: "right_btn_padding_rect";
1342                to_y: "top_padding_rect";
1343             }
1344             rel2 {
1345                relative: 1.0 0.0;
1346                to_x: "right_btn_padding_rect";
1347                to_y: "bottom_padding_rect";
1348             }
1349          }
1350       }
1351       part {
1352          name: "elm.swallow.content";
1353          type: SWALLOW;
1354          scale: 1;
1355          ignore_flags: ON_HOLD;
1356          description { state: "default" 0.0;
1357             min: 0 40;
1358             rel1 {
1359                relative : 0.0 0.0;
1360                to: "inputfield_rect";
1361             }
1362             rel2 {
1363                relative : 1.0 1.0;
1364                to: "inputfield_rect";
1365             }
1366             align: 0.0 0.5;
1367          }
1368       }
1369    }
1370    programs {
1371       program {
1372          name: "sound_play";
1373          signal: "mouse,clicked,1";
1374          source: "elm.text";
1375          action: PLAY_SAMPLE "touch_sound" 1.0;
1376       }
1377      program {
1378          name: "bg_clicked";
1379          signal: "mouse,clicked,1";
1380          source: "inputfield_rect";
1381          action: SIGNAL_EMIT "elm,bg,clicked" "elm";
1382       }
1383       program { name: "cancel_in";
1384          signal: "cancel,in";
1385          source: "";
1386          action: STATE_SET "in" 0.0;
1387          target: "right_padding_rect";
1388          target: "right_btn_padding_rect";
1389          transition: LINEAR 0.3;
1390       }
1391       program { name: "cancel_out";
1392          signal: "cancel,out";
1393          source: "";
1394          action: STATE_SET "default" 0.0;
1395          target: "right_padding_rect";
1396          target: "right_btn_padding_rect";
1397          transition: LINEAR 0.3;
1398       }
1399       program { name: "cancel_show";
1400          signal: "cancel,show";
1401          source: "";
1402          action: STATE_SET "in" 0.0;
1403          target: "right_padding_rect";
1404          target: "right_btn_padding_rect";
1405       }
1406       program { name: "cancel_hide";
1407          signal: "cancel,hide";
1408          source: "";
1409          action: STATE_SET "default" 0.0;
1410          target: "right_padding_rect";
1411          target: "right_btn_padding_rect";
1412       }
1413    }
1414 }
1415
1416 group {
1417    name: "elm/layout/nocontents/full";
1418    alias: "elm/nocontents/base/full";
1419    alias: "elm/nocontents/base/default";
1420    styles{
1421       style { name: "nocontent_style";
1422          base: "font=Tizen:style=Bold font_size="NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC" align=center color="NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC" wrap=mixed ellipsis=1.0 text_class=tizen";
1423          tag:  "br" "\n";
1424          tag:  "hilight" "+ font=Tizen:style=Bold";
1425          tag:  "b" "+ font=Tizen:style=Bold";
1426          tag:  "tab" "\t";
1427       }
1428       style { name: "nocontent_help_text";
1429          base: "font=Tizen:style=Regular font_size="NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC" align=left color="NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC" wrap=mixed ellipsis=1.0 text_class=tizen";
1430          tag:  "br" "\n";
1431          tag:  "hilight" "+ font=Tizen:style=Regular";
1432          tag:  "b" "+ font=Tizen:style=Regular";
1433          tag:  "tab" "\t";
1434       }
1435    }
1436    images {
1437       image: "00_nocontents_picture.png" COMP;
1438    }
1439    parts {
1440       part { name: "bg";
1441          type: RECT;
1442          scale: 1;
1443          description { state: "default" 0.0;
1444             visible: 0;
1445             fixed: 1 1;
1446             min: NOCONTENT_BASE_MIN_WIDTH_HEIGHT_INC;
1447             rel1 {
1448                relative: 0.5 0.5;
1449             }
1450             rel2 {
1451                relative: 0.5 0.5;
1452             }
1453          }
1454       }
1455       part { name: "nocontents.image";
1456          description { state: "default" 0.0;
1457             fixed: 1 1;
1458             min: NOCONTENT_IMAGE_WIDTH_HEIGHT_INC;
1459             align: 0.5 0.0;
1460             rel1 {
1461                relative: 0.5 0.0;
1462                to: "bg";
1463             }
1464             rel2 {
1465                relative: 0.5 0.0;
1466                to: "bg";
1467             }
1468             image {
1469                normal: "00_nocontents_picture.png";
1470             }
1471             color: NOCONTENT_IMAGE_COLOR_INC;
1472             aspect: 1.0 1.0;
1473             aspect_preference: BOTH;
1474          }
1475       }
1476       part { name: "elm.text";
1477          type: TEXTBLOCK;
1478          description { state: "default" 0.0;
1479             min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
1480             align: 0.5 1.0;
1481             fixed: 0 1;
1482             rel1 {
1483                relative: 0.0 1.0;
1484                to: "bg";
1485             }
1486             rel2 {
1487                relative: 1.0 1.0;
1488                to: "bg";
1489             }
1490             text {
1491                style: "nocontent_style";
1492                min: 0 1;
1493                max: 0 1;
1494             }
1495          }
1496       }
1497       part { name: "padding_after_text";
1498          mouse_events: 0;
1499          type: RECT;
1500          description { state: "default" 0.0;
1501             align: 0.5 0.0;
1502             min: NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC;
1503             visible: 0;
1504             fixed: 0 1;
1505             rel1 {
1506                relative: 0.0 1.0;
1507                to: "elm.text";
1508             }
1509             rel2 {
1510                relative: 1.0 1.0;
1511                to: "elm.text";
1512             }
1513          }
1514          description { state: "landscape" 0.0;
1515             inherit: "default" 0.0;
1516             min: NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC;
1517          }
1518       }
1519       part { name: "elm.help.text";
1520          type: TEXTBLOCK;
1521          description { state: "default" 0.0;
1522             align: 0.5 0.0;
1523             min: NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC;
1524             fixed: 1 1;
1525             rel1 {
1526                relative: 0.5 1.0;
1527                to: "padding_after_text";
1528             }
1529             rel2 {
1530                relative: 0.5 1.0;
1531                to: "padding_after_text";
1532             }
1533             text {
1534                style: "nocontent_help_text";
1535                align: 0.0 0.5;
1536                min: 0 1;
1537                max: 0 1;
1538             }
1539          }
1540          description { state: "landscape" 0.0;
1541             inherit: "default" 0.0;
1542             min: NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC;
1543          }
1544       }
1545       part { name: "pad_after_help_text";
1546          mouse_events: 0;
1547          type: RECT;
1548          description { state: "default" 0.0;
1549             visible: 0;
1550             align: 0.5 0.0;
1551             min: NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC;
1552             fixed: 0 1;
1553             rel1 {
1554                relative: 0.0 1.0;
1555                to: "elm.help.text";
1556             }
1557             rel2 {
1558                relative: 1.0 1.0;
1559                to: "elm.help.text";
1560             }
1561          }
1562          description { state: "landscape" 0.0;
1563             inherit: "default" 0.0;
1564             min: NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC;
1565          }
1566       }
1567       part { name: "swallow_area";
1568          type: SWALLOW;
1569          description { state: "default" 0.0;
1570             min: NOCONTENT_PORTRAIT_SWALLOW_AREA_MIN_INC;
1571             fixed: 1 1;
1572             align: 0.5 0.0;
1573             rel1 {
1574                relative: 0.5 1.0;
1575                to: "pad_after_help_text";
1576             }
1577             rel2 {
1578                relative: 0.5 1.0;
1579                to: "pad_after_help_text";
1580             }
1581          }
1582          description { state: "landscape" 0.0;
1583             inherit: "default" 0.0;
1584             min: NOCONTENT_LANDSCAPE_SWALLOW_AREA_MIN_INC;
1585          }
1586       }
1587    }
1588    programs {
1589       program { name: "landscape_mode";
1590          source: "elm";
1591          signal: "elm,state,orient,90";
1592          action: STATE_SET "landscape" 0.0;
1593          target: "swallow_area";
1594          target: "elm.help.text";
1595          target: "padding_after_text";
1596          target: "pad_after_help_text";
1597       }
1598       program { name: "landscape_mode2";
1599          source: "elm";
1600          signal: "elm,state,orient,270";
1601          action: STATE_SET "landscape" 0.0;
1602          target: "swallow_area";
1603          target: "elm.help.text";
1604          target: "padding_after_text";
1605          target: "pad_after_help_text";
1606       }
1607       program { name: "portrait_mode";
1608          source: "elm";
1609          signal: "elm,state,orient,0";
1610          action: STATE_SET "default" 0.0;
1611          target: "swallow_area";
1612          target: "elm.help.text";
1613          target: "padding_after_text";
1614          target: "pad_after_help_text";
1615       }
1616       program { name: "portrait_mode2";
1617          source: "elm";
1618          signal: "elm,state,orient,180";
1619          action: STATE_SET "default" 0.0;
1620          target: "swallow_area";
1621          target: "elm.help.text";
1622          target: "padding_after_text";
1623          target: "pad_after_help_text";
1624       }
1625    }
1626 }
1627
1628 group {
1629    name: "elm/layout/nocontents/multimedia";
1630    alias: "elm/nocontents/base/multimedia";
1631    inherit: "elm/layout/nocontents/full";
1632    images {
1633       image: "00_nocontents_multimedia.png" COMP;
1634    }
1635    parts {
1636       part { name: "nocontents.image";
1637          description { state: "default" 0.0;
1638             image {
1639                normal: "00_nocontents_multimedia.png";
1640             }
1641          }
1642       }
1643    }
1644 }
1645
1646 group {
1647    name: "elm/layout/nocontents/text";
1648    alias: "elm/nocontents/base/text";
1649    inherit: "elm/layout/nocontents/full";
1650    images {
1651       image: "00_nocontents_text.png" COMP;
1652    }
1653    parts {
1654       part { name: "nocontents.image";
1655          description { state: "default" 0.0;
1656             image {
1657                normal: "00_nocontents_text.png";
1658             }
1659          }
1660       }
1661    }
1662 }
1663
1664 group {
1665    name: "elm/layout/nocontents/unnamed";
1666    alias: "elm/nocontents/base/unnamed";
1667    inherit: "elm/layout/nocontents/full";
1668    images {
1669       image: "00_nocontents_unnamed.png" COMP;
1670    }
1671    parts {
1672       part { name: "nocontents.image";
1673          description { state: "default" 0.0;
1674             image {
1675                normal: "00_nocontents_unnamed.png";
1676             }
1677          }
1678       }
1679    }
1680 }
1681
1682 group {
1683    name: "elm/layout/nocontents/devices";
1684    alias: "elm/nocontents/base/devices";
1685    inherit: "elm/layout/nocontents/full";
1686    images {
1687       image: "00_nocontents_devices.png" COMP;
1688    }
1689    parts {
1690       part { name: "nocontents.image";
1691          description { state: "default" 0.0;
1692             image {
1693                normal: "00_nocontents_devices.png";
1694             }
1695          }
1696       }
1697    }
1698 }
1699
1700 group {
1701    name: "elm/layout/nocontents/album";
1702    alias: "elm/nocontents/base/album";
1703    inherit: "elm/layout/nocontents/full";
1704    images {
1705       image: "00_nocontents_album.png" COMP;
1706    }
1707    parts {
1708       part { name: "nocontents.image";
1709          description { state: "default" 0.0;
1710             image {
1711                normal: "00_nocontents_album.png";
1712             }
1713          }
1714       }
1715    }
1716 }
1717
1718 group {
1719    name: "elm/layout/nocontents/search";
1720    alias: "elm/nocontents/base/search";
1721    parts {
1722       part { name: "bg";
1723          type: RECT;
1724          scale: 1;
1725          description { state: "default" 0.0;
1726             visible: 0;
1727          }
1728       }
1729       part { name: "elm.text";
1730          mouse_events: 0;
1731          type: TEXTBLOCK;
1732          scale: 1;
1733          description { state: "default" 0.0;
1734             fixed: 0 1;
1735             align: 0.5 0.5;
1736             min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
1737             rel1 {
1738                relative: 0.0 0.5;
1739                to:"bg";
1740             }
1741             rel2 {
1742                relative: 1.0 0.5;
1743                to:"bg";
1744             }
1745             text {
1746                style: "nocontent_style";
1747                min: 0 1;
1748                max: 0 1;
1749             }
1750          }
1751       }
1752       part { name: "text_bottom_padding";
1753          mouse_events: 0;
1754          type: RECT;
1755          scale: 1;
1756          description { state: "default" 0.0;
1757             min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
1758             fixed: 0 1;
1759             align: 0.5 0.0;
1760             visible: 0;
1761             rel1 {
1762                relative: 0.0 1.0;
1763                to:"elm.text";
1764             }
1765             rel2 {
1766                relative: 1.0 1.0;
1767                to:"elm.text";
1768             }
1769          }
1770       }
1771       part { name: "custom";
1772          mouse_events: 1;
1773          type: SWALLOW;
1774          scale: 1;
1775          description { state: "default" 0.0;
1776             fixed: 0 1;
1777             align: 0.5 0.0;
1778             visible: 1;
1779             rel1 {
1780                relative: 0.0 1.0;
1781                to:"text_bottom_padding";
1782             }
1783             rel2 {
1784                relative: 1.0 1.0;
1785                to:"text_bottom_padding";
1786             }
1787          }
1788       }
1789    }
1790 }