a1152d0589b91f45009e06d54e4c7809d70ee8fb
[profile/ivi/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 group { name: "elm/layout/editfield/default";
490    images {
491       image: "00_EditField_clear.png" COMP;
492       image: "00_EditField_clear_press.png" COMP;
493    }
494    parts {
495       part {
496          name: "base";
497          type: RECT;
498          scale: 1;
499          ignore_flags: ON_HOLD;
500          description {
501             state: "default" 0.0;
502             min: 0 EDITFIELD_DEFAULT_MINH_INC;
503             color: 0 0 0 0;
504          }
505       }
506       part {
507          name: "top1";
508          type: RECT;
509          scale: 1;
510          ignore_flags: ON_HOLD;
511          description {
512             state: "default" 0.0;
513             visible: 0;
514             min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
515             fixed: 1 1;
516             rel1.relative: 0.0 0.0;
517             rel2.relative: 1.0 0.0;
518             align: 0.5 0;
519          }
520       }
521       part {
522          name: "left1";
523          type: RECT;
524          scale: 1;
525          ignore_flags: ON_HOLD;
526          description {
527             state: "default" 0.0;
528             visible: 0;
529             min: EDITFIELD_DEFAULT_LEFT1_INC 0;
530             fixed: 1 1;
531             align: 0 0;
532             rel1.relative : 0.0 0.0;
533             rel2.relative : 0.0 1.0;
534          }
535       }
536       part {
537          name: "right1";
538          type: RECT;
539          scale: 1;
540          ignore_flags: ON_HOLD;
541          description {
542             state: "default" 0.0;
543             visible: 0;
544             min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
545             fixed: 1 1;
546             align: 1 0;
547             rel1.relative : 1.0 0.0;
548             rel2.relative : 1.0 1.0;
549          }
550       }
551       part {
552          name: "right2";
553          type: RECT;
554          scale: 1;
555          ignore_flags: ON_HOLD;
556          description {
557             state: "default" 0.0;
558             visible: 0;
559             min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
560             fixed: 1 1;
561             align: 1 0;
562             rel1.relative : 1.0 0.0;
563             rel2.relative : 1.0 1.0;
564          }
565       }
566       part {
567          name: "bottom1";
568          type: RECT;
569          scale: 1;
570          ignore_flags: ON_HOLD;
571          description {
572             state: "default" 0.0;
573             visible: 0;
574             min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
575             fixed: 1 1;
576             align: 0 1;
577             rel1.relative: 0.0 1.0;
578          }
579       }
580       part {
581          name: "elm.guidetext";
582          type: TEXT;
583          scale: 1;
584          ignore_flags: ON_HOLD;
585          description {
586             state: "default" 0.0;
587             align: 0.0 0.0;
588             fixed: 1 1;
589             rel1.to: "elm.swallow.content";
590             rel2.to: "elm.swallow.content";
591             color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
592             text {
593                font: "Tizen:style=Roman";
594                size: ENTRY_TEXT_SIZE_INC;
595                min: 0 0;
596                align: 0.0 0.5;
597                text_class: "tizen";
598             }
599          }
600          description {
601             state: "hidden" 0.0;
602             inherit: "default" 0.0;
603             visible: 0;
604          }
605       }
606       part {
607          name: "elm.swallow.content";
608          type: SWALLOW;
609          scale: 1;
610          ignore_flags: ON_HOLD;
611          description {
612             state: "default" 0.0;
613             min: 0 40;
614             rel1 {
615                relative : 1.0 1.0;
616                to_x: "left1";
617                to_y: "top1";
618             }
619             rel2 {
620                relative : 0.0 0.0;
621                to_x: "right1";
622                to_y: "bottom1";
623             }
624             align: 0.0 0.5;
625          }
626       }
627       part {
628          name: "eraser_image";
629          scale: 1;
630          description {
631             state: "default" 0.0;
632             visible: 0;
633             min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
634             fixed: 1 1;
635             align: 1 0.5;
636             rel1 {
637                relative: 0.0 0.5;
638                to_x : "right2";
639             }
640             rel2 {
641                relative: 0.0 0.5;
642                to_x : "right2";
643             }
644          }
645          description {
646             state: "elm.eraser.show" 0.0;
647             inherit: "default" 0.0;
648             visible: 1;
649             image {
650                normal: "00_EditField_clear.png";
651                border: 10 10 10 10;
652                border_scale: 1;
653             }
654          }
655          description {
656             state: "elm.eraser.pressed" 0.0;
657             inherit: "default" 0.0;
658             visible: 1;
659             image {
660                normal: "00_EditField_clear_press.png";
661                border: 8 8 8 8;
662                border_scale: 1;
663             }
664          }
665       }
666       part {
667          name: "eraser";
668          type: RECT;
669          scale: 1;
670          mouse_events: 1;
671          description {
672             state: "default" 0.0;
673             visible: 0;
674             min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC;
675             fixed: 1 1;
676             align: 1 0.5;
677             color: 0 0 0 0;
678             rel1 {
679                relative: 0.0 0.5;
680                to_x : "right2";
681             }
682             rel2 {
683                relative: 0.0 0.5;
684                to_x : "right2";
685             }
686          }
687          description {
688             state: "elm.eraser.show" 0.0;
689             inherit: "default" 0.0;
690             visible: 1;
691          }
692       }
693    }
694    programs {
695       program {
696          name: "guidetext_show";
697          signal: "elm,state,guidetext,show";
698          source: "elm";
699          action: STATE_SET "default" 0.0;
700          target: "elm.guidetext";
701       }
702       program {
703          name: "guidetext_hide";
704          signal: "elm,state,guidetext,hide";
705          source: "elm";
706          action: STATE_SET "hidden" 0.0;
707          target: "elm.guidetext";
708       }
709       program {
710          name: "eraser_show";
711          signal: "elm,state,eraser,show";
712          source: "elm";
713          action: STATE_SET "elm.eraser.show" 0.0;
714          target: "eraser_image";
715          target: "eraser";
716       }
717       program {
718          name: "eraser_hide";
719          signal: "elm,state,eraser,hide";
720          source: "elm";
721          action: STATE_SET "default" 0.0;
722          target: "eraser_image";
723          target: "eraser";
724       }
725       program {
726          name: "eraser_clicked";
727          signal: "mouse,clicked,1";
728          source: "eraser";
729          action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
730       }
731       program {
732          name: "eraser_pressed";
733          signal: "mouse,down,1";
734          source: "eraser";
735          action: STATE_SET "elm.eraser.pressed" 0.0;
736          target: "eraser_image";
737       }
738       program {
739          name: "eraser_unpressed";
740          signal: "mouse,up,1";
741          source: "eraser";
742          action: STATE_SET "elm.eraser.show" 0.0;
743          target: "eraser_image";
744       }
745    }
746 }
747
748 group { name: "elm/layout/editfield/title";
749    images {
750       image: "00_EditField_clear.png" COMP;
751       image: "00_EditField_clear_press.png" COMP;
752    }
753    parts {
754       part {
755          name: "base";
756          type: RECT;
757          scale: 1;
758          ignore_flags: ON_HOLD;
759          description {
760             state: "default" 0.0;
761             min: 0 EDITFIELD_TITLE_MINH_INC;
762             color: 0 0 0 0;
763          }
764       }
765       part {
766          name: "top1";
767          type: RECT;
768          scale: 1;
769          ignore_flags: ON_HOLD;
770          description {
771             state: "default" 0.0;
772             visible: 0;
773             min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC;
774             fixed: 1 1;
775             rel1.relative: 0.0 0.0;
776             rel2.relative: 1.0 0.0;
777             align: 0.5 0;
778          }
779       }
780       part {
781          name: "top2";
782          type: RECT;
783          scale: 1;
784          ignore_flags: ON_HOLD;
785          description {
786             state: "default" 0.0;
787             visible: 0;
788             min: 0 EDITFIELD_DEFAULT_TOP2_INC;
789             fixed: 1 1;
790             rel1.relative: 0.0 0.0;
791             rel2.relative: 1.0 0.0;
792             align: 0.5 0;
793          }
794       }
795       part {
796          name: "left1";
797          type: RECT;
798          scale: 1;
799          ignore_flags: ON_HOLD;
800          description {
801             state: "default" 0.0;
802             visible: 0;
803             min: EDITFIELD_DEFAULT_LEFT1_INC 0;
804             fixed: 1 1;
805             align: 0 0;
806             rel1.relative : 0.0 0.0;
807             rel2.relative : 0.0 1.0;
808          }
809       }
810       part {
811          name: "left2";
812          type: RECT;
813          scale: 1;
814          ignore_flags: ON_HOLD;
815          description {
816             state: "default" 0.0;
817             visible: 0;
818             min: EDITFIELD_DEFAULT_LEFT2_INC 0;
819             fixed: 1 1;
820             align: 0 0;
821             rel1.relative : 0.0 0.0;
822             rel2.relative : 0.0 1.0;
823          }
824       }
825       part {
826          name: "right1";
827          type: RECT;
828          scale: 1;
829          ignore_flags: ON_HOLD;
830          description {
831             state: "default" 0.0;
832             visible: 0;
833             min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
834             fixed: 1 1;
835             align: 1 0;
836             rel1.relative : 1.0 0.0;
837             rel2.relative : 1.0 1.0;
838          }
839       }
840       part {
841          name: "right2";
842          type: RECT;
843          scale: 1;
844          ignore_flags: ON_HOLD;
845          description {
846             state: "default" 0.0;
847             visible: 0;
848             min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
849             fixed: 1 1;
850             align: 1 0;
851             rel1.relative : 1.0 0.0;
852             rel2.relative : 1.0 1.0;
853          }
854       }
855       part {
856          name: "bottom1";
857          type: RECT;
858          scale: 1;
859          ignore_flags: ON_HOLD;
860          description {
861             state: "default" 0.0;
862             visible: 0;
863             min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC;
864             fixed: 1 1;
865             align: 0 1;
866             rel1.relative: 0.0 1.0;
867          }
868       }
869       part {
870          name: "bottom2";
871          type: RECT;
872          scale: 1;
873          ignore_flags: ON_HOLD;
874          description {
875             state: "default" 0.0;
876             visible: 0;
877             min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC;
878             fixed: 0 1;
879             rel1.relative: 0.0 1.0;
880             align: 0 1;
881          }
882       }
883       part {
884          name: "eraser_base";
885          type: RECT;
886          scale: 1;
887          ignore_flags: ON_HOLD;
888          description {
889             state: "default" 0.0;
890             visible: 0;
891             rel1 {
892                relative: 0.0 1.0;
893                to_y: "top1";
894             }
895          }
896       }
897       part {
898          name: "elm.text";
899          type: TEXT;
900          scale: 1;
901          ignore_flags: ON_HOLD;
902          description {
903             state: "default" 0.0;
904             align: 0.0 0.0;
905             min: 0 34;
906             fixed: 1 1;
907             rel1 {
908                relative: 1.0 1.0;
909                to_x: "left2";
910                to_y: "top2";
911             }
912             rel2 {
913                relative: 1.0 1.0;
914                to_x: "left2";
915                to_y: "top2";
916             }
917             color: EDITFIELD_TITLE_COLOR_INC;
918             text {
919                font: "Tizen:style=Medium";
920                size: EDITFIELD_TITLE_SIZE_INC;
921                min: 1 1;
922                align: 0.0 0.0;
923                text_class: "tizen";
924             }
925          }
926       }
927       part {
928          name: "elm.guidetext";
929          type: TEXT;
930          scale: 1;
931          ignore_flags: ON_HOLD;
932          description {
933             state: "default" 0.0;
934             align: 0.0 0.0;
935             fixed: 1 1;
936             rel1.to: "elm.swallow.content";
937             rel2.to: "elm.swallow.content";
938             color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
939             text {
940                font: "Tizen:style=Roman";
941                size: ENTRY_TEXT_SIZE_INC;
942                min: 0 0;
943                align: 0.0 0.5;
944                text_class: "tizen";
945             }
946          }
947          description {
948             state: "hidden" 0.0;
949             inherit: "default" 0.0;
950             visible: 0;
951          }
952       }
953       part {
954          name: "elm.swallow.content";
955          type: SWALLOW;
956          scale: 1;
957          ignore_flags: ON_HOLD;
958          description {
959             state: "default" 0.0;
960             min: 0 40;
961             rel1 {
962                relative : 1.0 1.0;
963                to_x: "left1";
964                to_y: "top1";
965             }
966             rel2 {
967                relative : 0.0 0.0;
968                to_x: "right1";
969                to_y: "bottom1";
970             }
971             align: 0.0 0.5;
972          }
973       }
974       part {
975          name: "eraser_image";
976          scale: 1;
977          description {
978             state: "default" 0.0;
979             visible: 0;
980             min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
981             fixed: 1 1;
982             align: 1 0.5;
983             rel1 {
984                relative: 0.0 0.5;
985                to_x : "right2";
986                to_y : "eraser_base";
987             }
988             rel2 {
989                relative: 0.0 0.5;
990                to_x : "right2";
991                to_y : "eraser_base";
992             }
993          }
994          description {
995             state: "elm.eraser.show" 0.0;
996             inherit: "default" 0.0;
997             visible: 1;
998             image {
999                normal: "00_EditField_clear.png";
1000                border: 10 10 10 10;
1001                border_scale: 1;
1002             }
1003          }
1004          description {
1005             state: "elm.eraser.pressed" 0.0;
1006             inherit: "default" 0.0;
1007             visible: 1;
1008             image {
1009                normal: "00_EditField_clear_press.png";
1010                border: 8 8 8 8;
1011                border_scale: 1;
1012             }
1013          }
1014       }
1015       part {
1016          name: "eraser";
1017          type: RECT;
1018          scale: 1;
1019          mouse_events: 1;
1020          description {
1021             state: "default" 0.0;
1022             visible: 0;
1023             min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC;
1024             fixed: 1 1;
1025             align: 1 0.5;
1026             color: 0 0 0 0;
1027             rel1 {
1028                relative: 0.0 0.5;
1029                to_x : "right2";
1030                to_y : "eraser_base";
1031             }
1032             rel2 {
1033                relative: 0.0 0.5;
1034                to_x : "right2";
1035                to_y : "eraser_base";
1036             }
1037          }
1038          description {
1039             state: "elm.eraser.show" 0.0;
1040             inherit: "default" 0.0;
1041             visible: 1;
1042          }
1043       }
1044    }
1045    programs {
1046       program {
1047          name: "guidetext_show";
1048          signal: "elm,state,guidetext,show";
1049          source: "elm";
1050          action: STATE_SET "default" 0.0;
1051          target: "elm.guidetext";
1052       }
1053       program {
1054          name: "guidetext_hide";
1055          signal: "elm,state,guidetext,hide";
1056          source: "elm";
1057          action: STATE_SET "hidden" 0.0;
1058          target: "elm.guidetext";
1059       }
1060       program {
1061          name: "eraser_show";
1062          signal: "elm,state,eraser,show";
1063          source: "elm";
1064          action: STATE_SET "elm.eraser.show" 0.0;
1065          target: "eraser_image";
1066          target: "eraser";
1067       }
1068       program {
1069          name: "eraser_hide";
1070          signal: "elm,state,eraser,hide";
1071          source: "elm";
1072          action: STATE_SET "default" 0.0;
1073          target: "eraser_image";
1074          target: "eraser";
1075       }
1076       program {
1077          name: "eraser_clicked";
1078          signal: "mouse,clicked,1";
1079          source: "eraser";
1080          action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
1081       }
1082       program {
1083          name: "eraser_pressed";
1084          signal: "mouse,down,1";
1085          source: "eraser";
1086          action: STATE_SET "elm.eraser.pressed" 0.0;
1087          target: "eraser_image";
1088       }
1089       program {
1090          name: "eraser_unpressed";
1091          signal: "mouse,up,1";
1092          source: "eraser";
1093          action: STATE_SET "elm.eraser.show" 0.0;
1094          target: "eraser_image";
1095       }
1096    }
1097 }
1098
1099 group { name: "elm/layout/searchbar/default";
1100    images {
1101       image: "00_EditField_clear.png" COMP;
1102       image: "00_EditField_clear_press.png" COMP;
1103       image: "00_search_edit_field_bg.png" COMP;
1104       image: "00_search_icon.png" COMP;
1105    }
1106    parts {
1107       part { name: "inputfield_base";
1108          type: RECT;
1109          scale: 1;
1110          description { state: "default" 0.0;
1111             align: 0.0 0.0;
1112             visible: 0;
1113          }
1114       }
1115       part { name: "top_left_padding";
1116          type: RECT;
1117          mouse_events: 0;
1118          scale: 1;
1119          description {
1120             state: "default" 0.0;
1121             min: SEARCHBAR_LEFT_PADDING_INC SEARCHBAR_TOP_PADDING_INC;
1122             fixed: 1 1;
1123             align: 0.0 0.0;
1124             rel1 { relative: 0.0 0.0; to: "inputfield_base"; }
1125             rel2 { relative: 0.0 0.0; to: "inputfield_base"; }
1126             visible: 0;
1127          }
1128       }
1129       part { name: "bottom_right_padding";
1130          type: RECT;
1131          mouse_events: 0;
1132          scale: 1;
1133          description {
1134             state: "default" 0.0;
1135             min: SEARCHBAR_RIGHT_PADDING_INC SEARCHBAR_BOTTOM_PADDING_INC;
1136             fixed: 1 1;
1137             align: 1.0 1.0;
1138             rel1 { relative: 1.0 1.0; to: "inputfield_base"; }
1139             rel2 { relative: 1.0 1.0; to: "inputfield_base"; }
1140             visible: 0;
1141          }
1142       }
1143       part { name: "inputfield_rect";
1144          type: IMAGE;
1145          scale: 1;
1146          description { state: "default" 0.0;
1147             min: 0 SEARCHBAR_HEIGHT_INC;
1148             align: 0.0 0.5;
1149             image {
1150                normal: "00_search_edit_field_bg.png";
1151                border: SEARCHBAR_INPUTFIELD_BORDER_INC;
1152             }
1153             rel1 { relative: 1.0 1.0; to: "top_left_padding"; }
1154             rel2 { relative: 0.0 0.0; to: "bottom_right_padding"; }
1155          }
1156       }
1157       part { name: "left_icon_padding_rect";
1158          type: RECT;
1159          scale: 1;
1160          description { state: "default" 0.0;
1161             visible: 0;
1162             min: SEARCHBAR_LEFT_ICON_PADDING_INC 0;
1163             fixed: 1 0;
1164             align: 0 0;
1165             rel1.to: "inputfield_rect";
1166             rel2 {
1167                relative: 0.0 1.0;
1168                to: "inputfield_rect";
1169             }
1170          }
1171       }
1172       part { name: "search_icon";
1173          type: IMAGE;
1174          scale: 1;
1175          ignore_flags: ON_HOLD;
1176          description { state: "default" 0.0;
1177             min: SEARCHBAR_ICON_MIN_W_INC SEARCHBAR_ICON_MIN_H_INC;
1178             fixed: 1 1;
1179             align: 0 0.5;
1180             rel1 {
1181                relative: 1.0 0.5;
1182                to_x: "left_icon_padding_rect";
1183                to_y: "inputfield_rect";
1184             }
1185             rel2 {
1186                relative: 1.0 0.5;
1187                to_x: "left_icon_padding_rect";
1188                to_y: "inputfield_rect";
1189             }
1190             image.normal: "00_search_icon.png";
1191          }
1192       }
1193       part { name: "left_padding_search_textfield";
1194          type: RECT;
1195          scale: 1;
1196          description { state: "default" 0.0;
1197             visible: 0;
1198             min: SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 0;
1199             fixed: 1 0;
1200             align: 0.0 0.5;
1201             rel1 {
1202                relative: 1.0 0.0;
1203                to_x: "search_icon";
1204                to_y: "inputfield_rect";
1205             }
1206             rel2 {
1207                relative: 1.0 1.0;
1208                to_x: "search_icon";
1209                to_y: "inputfield_rect";
1210             }
1211          }
1212       }
1213       part { name: "right_padding_search_textfield";
1214          type: RECT;
1215          scale: 1;
1216          description { state: "default" 0.0;
1217             visible: 0;
1218             min: SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 0;
1219             fixed: 1 0;
1220             align: 1.0 0.5;
1221             rel1 {
1222                relative: 1.0 0.0;
1223                to: "inputfield_rect";
1224             }
1225             rel2 {
1226                relative: 1.0 1.0;
1227                to: "inputfield_rect";
1228             }
1229          }
1230       }
1231       part { name: "search_textfield";
1232          type: RECT;
1233          mouse_events: 1;
1234          scale: 1;
1235          ignore_flags: ON_HOLD;
1236          description { state: "default" 0.0;
1237             color: 0 0 0 0;
1238             min: 0 SEARCHBAR_SEARCH_TEXTFIELD_H_INC;
1239             fixed: 0 1;
1240             align: 0.0 0.5;
1241             rel1 {
1242                relative: 1.0 0.0;
1243                to: "left_padding_search_textfield";
1244             }
1245             rel2 {
1246                relative: 0.0 1.0;
1247                to: "right_padding_search_textfield";
1248             }
1249          }
1250       }
1251       part { name: "top1";
1252          type: RECT;
1253          scale: 1;
1254          ignore_flags: ON_HOLD;
1255          description { state: "default" 0.0;
1256             visible: 0;
1257             min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
1258             fixed: 1 1;
1259             rel1 {
1260                relative: 0.0 0.0;
1261                to: "search_textfield";
1262             }
1263             rel2 {
1264                relative: 1.0 0.0;
1265                to: "search_textfield";
1266             }
1267             align: 0.5 0;
1268          }
1269          description { state: "elm.text.show" 0.0;
1270             inherit: "default" 0.0;
1271             min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
1272          }
1273       }
1274       part { name: "top2";
1275          type: RECT;
1276          scale: 1;
1277          ignore_flags: ON_HOLD;
1278          description { state: "default" 0.0;
1279             visible: 0;
1280             min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
1281             fixed: 1 1;
1282             rel1 {
1283                relative: 0.0 0.0;
1284                to: "search_textfield";
1285             }
1286             rel2 {
1287                relative: 1.0 0.0;
1288                to: "search_textfield";
1289             }
1290             align: 0.5 0;
1291          }
1292       }
1293       part { name: "left1";
1294          type: RECT;
1295          scale: 1;
1296          ignore_flags: ON_HOLD;
1297          description { state: "default" 0.0;
1298             visible: 0;
1299             min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
1300             fixed: 1 1;
1301             align: 0 0;
1302             rel1 {
1303                relative: 0.0 0.0;
1304                to: "search_textfield";
1305             }
1306             rel2 {
1307                relative: 0.0 1.0;
1308                to: "search_textfield";
1309             }
1310          }
1311       }
1312       part { name: "left2";
1313          type: RECT;
1314          scale: 1;
1315          ignore_flags: ON_HOLD;
1316          description { state: "default" 0.0;
1317             visible: 0;
1318             min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
1319             fixed: 1 1;
1320             align: 0 0;
1321             rel1 {
1322                relative: 0.0 0.0;
1323                to: "search_textfield";
1324             }
1325             rel2 {
1326                relative: 0.0 1.0;
1327                to: "search_textfield";
1328             }
1329          }
1330       }
1331       part { name: "right1";
1332          type: RECT;
1333          scale: 1;
1334          ignore_flags: ON_HOLD;
1335          description { state: "default" 0.0;
1336             visible: 0;
1337             min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
1338             fixed: 1 1;
1339             align: 1 0;
1340             rel1 {
1341                relative: 1.0 0.0;
1342                to: "search_textfield";
1343             }
1344             rel2.to: "search_textfield";
1345          }
1346       }
1347       part { name: "right2";
1348          type: RECT;
1349          scale: 1;
1350          ignore_flags: ON_HOLD;
1351          description { state: "default" 0.0;
1352             visible: 0;
1353             min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
1354             fixed: 1 1;
1355             align: 1 0;
1356             rel1 {
1357                relative: 1.0 0.0;
1358                to: "search_textfield";
1359             }
1360             rel2.to: "search_textfield";
1361          }
1362       }
1363       part { name: "bottom1";
1364          type: RECT;
1365          scale: 1;
1366          ignore_flags: ON_HOLD;
1367          description { state: "default" 0.0;
1368             visible: 0;
1369             min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
1370             fixed: 1 1;
1371             align: 0 1;
1372             rel1 {
1373                relative: 0.0 1.0;
1374                to: "search_textfield";
1375             }
1376          }
1377          description { state: "elm.text.show" 0.0;
1378             inherit: "default" 0.0;
1379             min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
1380          }
1381       }
1382       part { name: "bottom2";
1383          type: RECT;
1384          scale: 1;
1385          ignore_flags: ON_HOLD;
1386          description { state: "default" 0.0;
1387             visible: 0;
1388             min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
1389             fixed: 0 1;
1390             rel1 {
1391                relative: 0.0 1.0;
1392                to: "search_textfield";
1393             }
1394             align: 0 1;
1395          }
1396          description { state: "elm.text.show" 0.0;
1397             inherit: "default" 0.0;
1398             min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
1399          }
1400       }
1401       part { name: "bottom3";
1402          type: RECT;
1403          scale: 1;
1404          ignore_flags: ON_HOLD;
1405          description { state: "default" 0.0;
1406             visible: 0;
1407             min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
1408             fixed: 0 1;
1409             rel1 {
1410                relative: 0.0 1.0;
1411                to: "search_textfield";
1412             }
1413             align: 0 1;
1414          }
1415          description { state: "elm.text.show" 0.0;
1416             inherit: "default" 0.0;
1417             min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
1418          }
1419       }
1420       part { name: "elm.text";
1421          type: TEXT;
1422          scale: 1;
1423          ignore_flags: ON_HOLD;
1424          description { state: "default" 0.0;
1425             visible: 0;
1426             align: 0.0 0.0;
1427             min: 0 32;
1428             fixed: 1 1;
1429             rel1 {
1430                relative: 1.0 1.0;
1431                to_x: "left2";
1432                to_y: "top2";
1433             }
1434             rel2 {
1435                relative: 1.0 1.0;
1436                to_x: "left2";
1437                to_y: "top2";
1438             }
1439             color: EDITFIELD_TITLE_COLOR_INC;
1440             text {
1441                font: "Tizen:style=Medium";
1442                size: EDITFIELD_TITLE_SIZE_INC;
1443                min: 1 1;
1444                align: 0.0 0.0;
1445                text_class: "tizen";
1446             }
1447          }
1448          description { state: "elm.text.show" 0.0;
1449             inherit: "default" 0.0;
1450             visible: 1;
1451          }
1452       }
1453       part { name: "elm.guidetext";
1454          type: TEXT;
1455          scale: 1;
1456          ignore_flags: ON_HOLD;
1457          description { state: "default" 0.0;
1458             align: 0.0 0.0;
1459             fixed: 1 1;
1460             rel1.to: "elm.swallow.content";
1461             rel2.to: "elm.swallow.content";
1462             color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
1463             text {
1464                font: "Tizen:style=Roman";
1465                size: ENTRY_TEXT_SIZE_INC;
1466                min: 0 0;
1467                align: 0.0 0.5;
1468                text_class: "tizen";
1469             }
1470          }
1471          description { state: "hidden" 0.0;
1472             inherit: "default" 0.0;
1473             visible: 0;
1474          }
1475       }
1476       part {
1477          name: "elm.swallow.content";
1478          type: SWALLOW;
1479          scale: 1;
1480          ignore_flags: ON_HOLD;
1481          description { state: "default" 0.0;
1482             min: 0 40;
1483             rel1 {
1484                relative : 1.0 1.0;
1485                to_x: "left1";
1486                to_y: "top1";
1487             }
1488             rel2 {
1489                relative : 0.0 0.0;
1490                to_x: "right1";
1491                to_y: "bottom1";
1492             }
1493             align: 0.0 0.5;
1494          }
1495       }
1496       part { name: "eraser_image";
1497          scale: 1;
1498          description { state: "default" 0.0;
1499             visible: 0;
1500             min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
1501             fixed: 1 1;
1502             align: 1 0.5;
1503             rel1 {
1504                relative: 0.0 0.5;
1505                to_x : "right2";
1506             }
1507             rel2 {
1508                relative: 0.0 0.5;
1509                to_x : "right2";
1510             }
1511          }
1512          description { state: "elm.eraser.show" 0.0;
1513             inherit: "default" 0.0;
1514             visible: 1;
1515             image {
1516                normal: "00_EditField_clear.png";
1517                border: 10 10 10 10;
1518                border_scale: 1;
1519             }
1520          }
1521          description {
1522             state: "elm.eraser.pressed" 0.0;
1523             inherit: "default" 0.0;
1524             visible: 1;
1525             image {
1526                normal: "00_EditField_clear_press.png";
1527                border: 8 8 8 8;
1528                border_scale: 1;
1529             }
1530          }
1531       }
1532       part { name: "eraser";
1533          type: RECT;
1534          scale: 1;
1535          mouse_events: 1;
1536          description { state: "default" 0.0;
1537             visible: 0;
1538             min: EDITFIELD_SEARCHBAR_ERASER_EVENT_MINW_INC EDITFIELD_SEARCHBAR_ERASER_EVENT_MINH_INC;
1539             fixed: 1 1;
1540             align: 1 0.5;
1541             color: 0 0 0 0;
1542             rel1 {
1543                relative: 0.0 0.5;
1544                to_x : "right2";
1545             }
1546             rel2 {
1547                relative: 0.0 0.5;
1548                to_x : "right2";
1549             }
1550          }
1551          description { state: "elm.eraser.show" 0.0;
1552             inherit: "default" 0.0;
1553             visible: 1;
1554          }
1555       }
1556    }
1557    programs {
1558       program {
1559          name: "guidetext_show";
1560          signal: "elm,state,guidetext,show";
1561          source: "elm";
1562          action: STATE_SET "default" 0.0;
1563          target: "elm.guidetext";
1564       }
1565       program {
1566          name: "guidetext_hide";
1567          signal: "elm,state,guidetext,hide";
1568          source: "elm";
1569          action: STATE_SET "hidden" 0.0;
1570          target: "elm.guidetext";
1571       }
1572       program {
1573          name: "eraser_show";
1574          signal: "elm,state,eraser,show";
1575          source: "elm";
1576          action: STATE_SET "elm.eraser.show" 0.0;
1577          target: "eraser_image";
1578          target: "eraser";
1579       }
1580       program {
1581          name: "eraser_hide";
1582          signal: "elm,state,eraser,hide";
1583          source: "elm";
1584          action: STATE_SET "default" 0.0;
1585          target: "eraser_image";
1586          target: "eraser";
1587       }
1588       program {
1589          name: "label_show";
1590          signal: "elm,state,title,show";
1591          source: "elm";
1592          action: STATE_SET "elm.text.show" 0.0;
1593          target: "elm.text";
1594          target: "top1";
1595          target: "bottom1";
1596          target: "bottom2";
1597          target: "bottom3";
1598       }
1599       program {
1600          name: "label_hide";
1601          signal: "elm,state,title,hide";
1602          source: "elm";
1603          action: STATE_SET "default" 0.0;
1604          target: "elm.text";
1605          target: "top1";
1606          target: "bottom1";
1607          target: "bottom2";
1608          target: "bottom3";
1609       }
1610      program {
1611          name: "eraser_clicked";
1612          signal: "mouse,clicked,1";
1613          source: "eraser";
1614          action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
1615       }
1616      program {
1617          name: "bg_clicked";
1618          signal: "mouse,clicked,1";
1619          source: "search_textfield";
1620          action: SIGNAL_EMIT "elm,bg,clicked" "elm";
1621       }
1622      program { name: "mouse_click";
1623          signal: "mouse,clicked,1";
1624          source: "search_icon";
1625          action: SIGNAL_EMIT "elm,action,click" "";
1626      }
1627      program {
1628          name: "eraser_pressed";
1629          signal: "mouse,down,1";
1630          source: "eraser";
1631          action: STATE_SET "elm.eraser.pressed" 0.0;
1632          target: "eraser_image";
1633      }
1634      program {
1635          name: "eraser_unpressed";
1636          signal: "mouse,up,1";
1637          source: "eraser";
1638          action: STATE_SET "elm.eraser.show" 0.0;
1639          target: "eraser_image";
1640       }
1641    }
1642 }
1643
1644 group { name: "elm/layout/searchbar/cancel_button";
1645    images {
1646       image: "00_EditField_clear.png" COMP;
1647       image: "00_EditField_clear_press.png" COMP;
1648       image: "00_search_edit_field_bg.png" COMP;
1649       image: "00_search_icon.png" COMP;
1650    }
1651    parts {
1652      part { name: "top_padding_rect";
1653          type: RECT;
1654          scale: 1;
1655          description { state: "default" 0.0;
1656             visible: 0;
1657             min: 0 SEARCHBAR_TOP_PADDING_INC;
1658             fixed: 0 1;
1659             align: 0 0;
1660             rel2.relative: 1.0 0.0;
1661          }
1662       }
1663       part { name: "bottom_padding_rect";
1664          type: RECT;
1665          scale: 1;
1666          description { state: "default" 0.0;
1667             visible: 0;
1668             min: 0 SEARCHBAR_BOTTOM_PADDING_INC;
1669             fixed: 0 1;
1670             align: 0 1;
1671             rel1.relative: 0.0 1.0;
1672          }
1673       }
1674       part { name: "base_bg";
1675          type: RECT;
1676          scale: 1;
1677          description { state: "default" 0.0;
1678             visible: 0;
1679             min: 0 SEARCHBAR_HEIGHT_INC;
1680             align: 0 0.5;
1681             fixed: 0 1;
1682             rel1 {
1683                relative: 0.0 1.0;
1684                to: "top_padding_rect";
1685             }
1686             rel2 {
1687                relative: 1.0 0.0;
1688                to: "bottom_padding_rect";
1689             }
1690          }
1691       }
1692       part { name: "left_padding_rect";
1693          type: RECT;
1694          scale: 1;
1695          description { state: "default" 0.0;
1696             visible: 0;
1697             min: SEARCHBAR_LEFT_PADDING_INC 0;
1698             fixed: 1 0;
1699             align: 0 0;
1700             rel2.relative: 0.0 1.0;
1701          }
1702       }
1703       part { name: "right_padding_rect";
1704          type: RECT;
1705          scale: 1;
1706          description { state: "default" 0.0;
1707             visible: 0;
1708             min: SEARCHBAR_RIGHT_PADDING_INC 0;
1709             fixed: 1 0;
1710             align: 1.0 0.0;
1711             rel1.relative: 1.0 0.0;
1712          }
1713          description { state: "in" 0.0;
1714             inherit: "default" 0.0;
1715             min: SEARCHBAR_CANCEL_BUTTON_WITH_DOUBLE_PADDING_W_INC 0;
1716          }
1717       }
1718       part { name: "inputfield_rect";
1719          type: IMAGE;
1720          scale: 1;
1721          description { state: "default" 0.0;
1722             align: 0.0 0.5;
1723             rel1 {
1724                relative: 1.0 0.0;
1725                to_x: "left_padding_rect";
1726                to_y: "base_bg";
1727             }
1728             rel2 {
1729                relative: 0.0 1.0;
1730                to_x: "right_padding_rect";
1731                to_y: "base_bg";
1732             }
1733             image {
1734                normal: "00_search_edit_field_bg.png";
1735                border: SEARCHBAR_INPUTFIELD_BORDER_INC;
1736             }
1737          }
1738       }
1739       part { name: "right_btn_padding_rect";
1740          type: RECT;
1741          scale: 1;
1742          description { state: "default" 0.0;
1743             visible: 0;
1744             min: SEARCHBAR_RIGHT_PADDING_INC 0;
1745             fixed: 1 0;
1746             align: 0.0 0.0;
1747             rel1.relative: 1.0 0.0;
1748             rel1.to: "inputfield_rect";
1749             rel2.relative: 1.0 1.0;
1750             rel2.to: "inputfield_rect";
1751          }
1752          description { state: "in" 0.0;
1753             inherit: "default" 0.0;
1754             min: SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 0;
1755          }
1756       }
1757       part { name: "left_icon_padding_rect";
1758          type: RECT;
1759          scale: 1;
1760          description { state: "default" 0.0;
1761             visible: 0;
1762             min: SEARCHBAR_LEFT_ICON_PADDING_INC 0;
1763             fixed: 1 0;
1764             align: 0 0;
1765             rel1.to: "inputfield_rect";
1766             rel2 {
1767                relative: 0.0 1.0;
1768                to: "inputfield_rect";
1769             }
1770          }
1771       }
1772       part { name: "search_icon";
1773          type: IMAGE;
1774          scale: 1;
1775          ignore_flags: ON_HOLD;
1776          description { state: "default" 0.0;
1777             min: SEARCHBAR_ICON_MIN_W_INC SEARCHBAR_ICON_MIN_H_INC;
1778             fixed: 1 1;
1779             align: 0 0.5;
1780             rel1 {
1781                relative: 1.0 0.5;
1782                to_x: "left_icon_padding_rect";
1783                to_y: "inputfield_rect";
1784             }
1785             rel2 {
1786                relative: 1.0 0.5;
1787                to_x: "left_icon_padding_rect";
1788                to_y: "inputfield_rect";
1789             }
1790             image.normal: "00_search_icon.png";
1791          }
1792       }
1793       part { name: "left_padding_search_textfield";
1794          type: RECT;
1795          scale: 1;
1796          description { state: "default" 0.0;
1797             visible: 0;
1798             min: SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 0;
1799             fixed: 1 0;
1800             align: 0.0 0.5;
1801             rel1 {
1802                relative: 1.0 0.0;
1803                to_x: "search_icon";
1804                to_y: "inputfield_rect";
1805             }
1806             rel2 {
1807                relative: 1.0 1.0;
1808                to_x: "search_icon";
1809                to_y: "inputfield_rect";
1810             }
1811          }
1812       }
1813       part { name: "right_padding_search_textfield";
1814          type: RECT;
1815          scale: 1;
1816          description { state: "default" 0.0;
1817             visible: 0;
1818             min: SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 0;
1819             fixed: 1 0;
1820             align: 1.0 0.5;
1821             rel1 {
1822                relative: 1.0 0.0;
1823                to: "inputfield_rect";
1824             }
1825             rel2 {
1826                relative: 1.0 1.0;
1827                to: "inputfield_rect";
1828             }
1829          }
1830       }
1831       part { name: "search_textfield";
1832          type: RECT;
1833          mouse_events: 1;
1834          scale: 1;
1835          ignore_flags: ON_HOLD;
1836          description { state: "default" 0.0;
1837             visible: 0;
1838             min: 0 SEARCHBAR_SEARCH_TEXTFIELD_H_INC;
1839             fixed: 0 1;
1840             align: 0.0 0.5;
1841             rel1 {
1842                relative: 1.0 0.0;
1843                to: "left_padding_search_textfield";
1844             }
1845             rel2 {
1846                relative: 0.0 1.0;
1847                to: "right_padding_search_textfield";
1848             }
1849          }
1850       }
1851       part { name: "button_cancel";
1852          type: SWALLOW;
1853          mouse_events: 1;
1854          scale: 1;
1855          description { state: "default" 0.0;
1856             fixed: 1 1;
1857             min: SEARCHBAR_CANCEL_BUTTON_W_INC 0;
1858             align: 0.0 0.5;
1859             state: "default" 0.0;
1860             rel1 {
1861                relative: 1.0 1.0;
1862                to_x: "right_btn_padding_rect";
1863                to_y: "top_padding_rect";
1864             }
1865             rel2 {
1866                relative: 1.0 0.0;
1867                to_x: "right_btn_padding_rect";
1868                to_y: "bottom_padding_rect";
1869             }
1870          }
1871       }
1872       part { name: "top1";
1873          type: RECT;
1874          scale: 1;
1875          ignore_flags: ON_HOLD;
1876          description { state: "default" 0.0;
1877             visible: 0;
1878             min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
1879             fixed: 1 1;
1880             rel1 {
1881                relative: 0.0 0.0;
1882                to: "search_textfield";
1883             }
1884             rel2 {
1885                relative: 1.0 0.0;
1886                to: "search_textfield";
1887             }
1888             align: 0.5 0;
1889          }
1890          description { state: "elm.text.show" 0.0;
1891             inherit: "default" 0.0;
1892             min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
1893          }
1894       }
1895       part { name: "top2";
1896          type: RECT;
1897          scale: 1;
1898          ignore_flags: ON_HOLD;
1899          description { state: "default" 0.0;
1900             visible: 0;
1901             min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
1902             fixed: 1 1;
1903             rel1 {
1904                relative: 0.0 0.0;
1905                to: "search_textfield";
1906             }
1907             rel2 {
1908                relative: 1.0 0.0;
1909                to: "search_textfield";
1910             }
1911             align: 0.5 0;
1912          }
1913       }
1914       part { name: "left1";
1915          type: RECT;
1916          scale: 1;
1917          ignore_flags: ON_HOLD;
1918          description { state: "default" 0.0;
1919             visible: 0;
1920             min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
1921             fixed: 1 1;
1922             align: 0 0;
1923             rel1 {
1924                relative: 0.0 0.0;
1925                to: "search_textfield";
1926             }
1927             rel2 {
1928                relative: 0.0 1.0;
1929                to: "search_textfield";
1930             }
1931          }
1932       }
1933       part { name: "left2";
1934          type: RECT;
1935          scale: 1;
1936          ignore_flags: ON_HOLD;
1937          description { state: "default" 0.0;
1938             visible: 0;
1939             min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
1940             fixed: 1 1;
1941             align: 0 0;
1942             rel1 {
1943                relative: 0.0 0.0;
1944                to: "search_textfield";
1945             }
1946             rel2 {
1947                relative: 0.0 1.0;
1948                to: "search_textfield";
1949             }
1950          }
1951       }
1952       part { name: "right1";
1953          type: RECT;
1954          scale: 1;
1955          ignore_flags: ON_HOLD;
1956          description { state: "default" 0.0;
1957             visible: 0;
1958             min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
1959             fixed: 1 1;
1960             align: 1 0;
1961             rel1 {
1962                relative: 1.0 0.0;
1963                to: "search_textfield";
1964             }
1965             rel2.to: "search_textfield";
1966          }
1967       }
1968       part { name: "right2";
1969          type: RECT;
1970          scale: 1;
1971          ignore_flags: ON_HOLD;
1972          description { state: "default" 0.0;
1973             visible: 0;
1974             min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
1975             fixed: 1 1;
1976             align: 1 0;
1977             rel1 {
1978                relative: 1.0 0.0;
1979                to: "search_textfield";
1980             }
1981             rel2.to: "search_textfield";
1982          }
1983       }
1984       part { name: "bottom1";
1985          type: RECT;
1986          scale: 1;
1987          ignore_flags: ON_HOLD;
1988          description { state: "default" 0.0;
1989             visible: 0;
1990             min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
1991             fixed: 1 1;
1992             align: 0 1;
1993             rel1 {
1994                relative: 0.0 1.0;
1995                to: "search_textfield";
1996             }
1997             rel2.to: "search_textfield";
1998          }
1999          description { state: "elm.text.show" 0.0;
2000             inherit: "default" 0.0;
2001             min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
2002          }
2003       }
2004       part { name: "bottom2";
2005          type: RECT;
2006          scale: 1;
2007          ignore_flags: ON_HOLD;
2008          description { state: "default" 0.0;
2009             visible: 0;
2010             min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
2011             fixed: 0 1;
2012             rel1 {
2013                relative: 0.0 1.0;
2014                to: "search_textfield";
2015             }
2016             rel2.to: "search_textfield";
2017             align: 0 1;
2018          }
2019          description { state: "elm.text.show" 0.0;
2020             inherit: "default" 0.0;
2021             min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
2022          }
2023       }
2024       part { name: "bottom3";
2025          type: RECT;
2026          scale: 1;
2027          ignore_flags: ON_HOLD;
2028          description { state: "default" 0.0;
2029             visible: 0;
2030             min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
2031             fixed: 0 1;
2032             rel1 {
2033                relative: 0.0 1.0;
2034                to: "search_textfield";
2035             }
2036             rel2.to: "search_textfield";
2037             align: 0 1;
2038          }
2039          description { state: "elm.text.show" 0.0;
2040             inherit: "default" 0.0;
2041             min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
2042          }
2043       }
2044       part { name: "elm.text";
2045          type: TEXT;
2046          scale: 1;
2047          ignore_flags: ON_HOLD;
2048          description { state: "default" 0.0;
2049             visible: 0;
2050             align: 0.0 0.0;
2051             min: 0 34;
2052             fixed: 1 1;
2053             rel1 {
2054                relative: 1.0 1.0;
2055                to_x: "left2";
2056                to_y: "top2";
2057             }
2058             rel2 {
2059                relative: 1.0 1.0;
2060                to_x: "left2";
2061                to_y: "top2";
2062             }
2063             color: EDITFIELD_TITLE_COLOR_INC;
2064             text {
2065                font: "Tizen:style=Medium";
2066                size: EDITFIELD_TITLE_SIZE_INC;
2067                min: 1 1;
2068                align: 0.0 0.0;
2069                text_class: "tizen";
2070             }
2071          }
2072          description { state: "elm.text.show" 0.0;
2073             inherit: "default" 0.0;
2074             visible: 1;
2075          }
2076       }
2077       part { name: "elm.guidetext";
2078          type: TEXT;
2079          scale: 1;
2080          ignore_flags: ON_HOLD;
2081          description { state: "default" 0.0;
2082             align: 0.0 0.0;
2083             fixed: 1 1;
2084             rel1.to: "elm.swallow.content";
2085             rel2.to: "elm.swallow.content";
2086             color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
2087             text {
2088                font: "Tizen:style=Roman";
2089                size: ENTRY_TEXT_SIZE_INC;
2090                min: 0 0;
2091                align: 0.0 0.5;
2092                text_class: "tizen";
2093             }
2094          }
2095          description { state: "hidden" 0.0;
2096             inherit: "default" 0.0;
2097             visible: 0;
2098          }
2099       }
2100       part {
2101          name: "elm.swallow.content";
2102          type: SWALLOW;
2103          scale: 1;
2104          ignore_flags: ON_HOLD;
2105          description { state: "default" 0.0;
2106             min: 0 40;
2107             rel1 {
2108                relative : 1.0 1.0;
2109                to_x: "left1";
2110                to_y: "top1";
2111             }
2112             rel2 {
2113                relative : 0.0 0.0;
2114                to_x: "right1";
2115                to_y: "bottom1";
2116             }
2117             align: 0.0 0.5;
2118          }
2119       }
2120       part { name: "eraser_image";
2121          scale: 1;
2122          description { state: "default" 0.0;
2123             visible: 0;
2124             min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
2125             fixed: 1 1;
2126             align: 1 0.5;
2127             rel1 {
2128                relative: 0.0 0.5;
2129                to_x : "right2";
2130             }
2131             rel2 {
2132                relative: 0.0 0.5;
2133                to_x : "right2";
2134             }
2135          }
2136          description { state: "elm.eraser.show" 0.0;
2137             inherit: "default" 0.0;
2138             visible: 1;
2139             image {
2140                normal: "00_EditField_clear.png";
2141                border: 10 10 10 10;
2142                border_scale: 1;
2143             }
2144          }
2145          description {
2146             state: "elm.eraser.pressed" 0.0;
2147             inherit: "default" 0.0;
2148             visible: 1;
2149             image {
2150                normal: "00_EditField_clear_press.png";
2151                border: 8 8 8 8;
2152                border_scale: 1;
2153             }
2154          }
2155       }
2156       part { name: "eraser";
2157          type: RECT;
2158          scale: 1;
2159          mouse_events: 1;
2160          description { state: "default" 0.0;
2161             visible: 0;
2162             min: EDITFIELD_SEARCHBAR_ERASER_EVENT_MINW_INC EDITFIELD_SEARCHBAR_ERASER_EVENT_MINH_INC;
2163             fixed: 1 1;
2164             align: 1 0.5;
2165             color: 0 0 0 0;
2166             rel1 {
2167                relative: 0.0 0.5;
2168                to_x : "right2";
2169             }
2170             rel2 {
2171                relative: 0.0 0.5;
2172                to_x : "right2";
2173             }
2174          }
2175          description { state: "elm.eraser.show" 0.0;
2176             inherit: "default" 0.0;
2177             visible: 1;
2178          }
2179       }
2180    }
2181    programs {
2182       program {
2183          name: "guidetext_show";
2184          signal: "elm,state,guidetext,show";
2185          source: "elm";
2186          action: STATE_SET "default" 0.0;
2187          target: "elm.guidetext";
2188       }
2189       program {
2190          name: "guidetext_hide";
2191          signal: "elm,state,guidetext,hide";
2192          source: "elm";
2193          action: STATE_SET "hidden" 0.0;
2194          target: "elm.guidetext";
2195       }
2196       program {
2197          name: "eraser_show";
2198          signal: "elm,state,eraser,show";
2199          source: "elm";
2200          action: STATE_SET "elm.eraser.show" 0.0;
2201          target: "eraser_image";
2202          target: "eraser";
2203       }
2204       program {
2205          name: "eraser_hide";
2206          signal: "elm,state,eraser,hide";
2207          source: "elm";
2208          action: STATE_SET "default" 0.0;
2209          target: "eraser_image";
2210          target: "eraser";
2211       }
2212       program {
2213          name: "label_show";
2214          signal: "elm,state,title,show";
2215          source: "elm";
2216          action: STATE_SET "elm.text.show" 0.0;
2217          target: "elm.text";
2218          target: "top1";
2219          target: "bottom1";
2220          target: "bottom2";
2221          target: "bottom3";
2222       }
2223       program {
2224          name: "label_hide";
2225          signal: "elm,state,title,hide";
2226          source: "elm";
2227          action: STATE_SET "default" 0.0;
2228          target: "elm.text";
2229          target: "top1";
2230          target: "bottom1";
2231          target: "bottom2";
2232          target: "bottom3";
2233       }
2234      program {
2235          name: "eraser_clicked";
2236          signal: "mouse,clicked,1";
2237          source: "eraser";
2238          action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
2239       }
2240      program {
2241          name: "bg_clicked";
2242          signal: "mouse,clicked,1";
2243          source: "search_textfield";
2244          action: SIGNAL_EMIT "elm,bg,clicked" "elm";
2245       }
2246       program { name: "cancel_in";
2247          signal: "cancel,in";
2248          source: "";
2249          action: STATE_SET "in" 0.0;
2250          target: "right_padding_rect";
2251          target: "right_btn_padding_rect";
2252          transition: LINEAR 0.3;
2253       }
2254       program { name: "cancel_out";
2255          signal: "cancel,out";
2256          source: "";
2257          action: STATE_SET "default" 0.0;
2258          target: "right_padding_rect";
2259          target: "right_btn_padding_rect";
2260          transition: LINEAR 0.3;
2261       }
2262       program { name: "cancel_show";
2263          signal: "cancel,show";
2264          source: "";
2265          action: STATE_SET "in" 0.0;
2266          target: "right_padding_rect";
2267          target: "right_btn_padding_rect";
2268       }
2269       program { name: "cancel_hide";
2270          signal: "cancel,hide";
2271          source: "";
2272          action: STATE_SET "default" 0.0;
2273          target: "right_padding_rect";
2274          target: "right_btn_padding_rect";
2275       }
2276       program { name: "mouse_click";
2277          signal: "mouse,clicked,1";
2278          source: "search_icon";
2279          action: SIGNAL_EMIT "elm,action,click" "";
2280       }
2281       program {
2282          name: "eraser_pressed";
2283          signal: "mouse,down,1";
2284          source: "eraser";
2285          action: STATE_SET "elm.eraser.pressed" 0.0;
2286          target: "eraser_image";
2287       }
2288       program {
2289          name: "eraser_unpressed";
2290          signal: "mouse,up,1";
2291          source: "eraser";
2292          action: STATE_SET "elm.eraser.show" 0.0;
2293          target: "eraser_image";
2294       }
2295    }
2296 }
2297
2298 group {
2299    name: "elm/layout/nocontents/full";
2300    alias: "elm/nocontents/base/full";
2301    alias: "elm/nocontents/base/default";
2302    styles{
2303       style { name: "nocontent_style";
2304          base: "font=Tizen:style=Regular font_size="NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC" align=center color=#ffffff wrap=mixed ellipsis=1.0 text_class=tizen";
2305          tag:  "br" "\n";
2306          tag:  "hilight" "+ font=Tizen:style=Bold";
2307          tag:  "b" "+ font=Tizen:style=Bold";
2308          tag:  "tab" "\t";
2309       }
2310    }
2311    images {
2312       image: "00_Nocontents_picture.png" COMP;
2313    }
2314    parts {
2315       part { name: "bg";
2316          type: RECT;
2317          scale: 1;
2318          description { state: "default" 0.0;
2319             color: NOCONTENT_BG_COLOR_INC;
2320          }
2321       }
2322       part { name: "image_bg";
2323          type: RECT;
2324          scale: 1;
2325          description { state: "default" 0.0;
2326             rel1.to: "nocontents.image";
2327             rel2.to: "nocontents.image";
2328             color: NOCONTENT_IMAGE_BG_COLOR_INC;
2329          }
2330       }
2331       part { name: "nocontents.image";
2332          description { state: "default" 0.0;
2333             fixed: 1 1;
2334             min: NOCONTENT_IMAGE_WIDTH_HEIGHT_INC;
2335             rel1 {
2336                relative: 0.5 0.5;
2337                to: "bg";
2338             }
2339             rel2 {
2340                relative: 0.5 0.5;
2341                to: "bg";
2342             }
2343             image {
2344                normal: "00_Nocontents_picture.png";
2345             }
2346             aspect: 1.0 1.0;
2347             aspect_preference: BOTH;
2348          }
2349       }
2350       part { name: "middle.padding";
2351          type: RECT;
2352          scale: 1;
2353          description { state: "default" 0.0;
2354             visible: 0;
2355             min: 0 NOCONTENT_MIDDLE_PADDING_INC;
2356             align: 0.5 0.0;
2357             fixed: 0 1;
2358             rel1 {
2359                relative: 0.0 1.0;
2360                to: "nocontents.image";
2361             }
2362             rel2 {
2363                relative: 1.0 1.0;
2364                to: "nocontents.image";
2365             }
2366          }
2367       }
2368       part { name: "elm.text";
2369          type: TEXTBLOCK;
2370          scale: 1;
2371          description { state: "default" 0.0;
2372             min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
2373             fixed: 0 1;
2374             rel1 {
2375                relative: 0.0 1.0;
2376                to_x: "bg";
2377                to_y: "middle.padding";
2378             }
2379             rel2 {
2380                relative: 1.0 1.0;
2381                to_x: "bg";
2382                to_y: "middle.padding";
2383             }
2384             color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
2385             text {
2386                style: "nocontent_style";
2387                align: 0.5 0.5;
2388                min: 0 0;
2389                max: 0 1;
2390             }
2391          }
2392       }
2393    }
2394 }
2395
2396 group {
2397    name: "elm/layout/nocontents/multimedia";
2398    alias: "elm/nocontents/base/multimedia";
2399    inherit: "elm/layout/nocontents/full";
2400    images {
2401       image: "00_Nocontents_multimedia.png" COMP;
2402    }
2403    parts {
2404       part { name: "nocontents.image";
2405          description { state: "default" 0.0;
2406             image {
2407                normal: "00_Nocontents_multimedia.png";
2408             }
2409          }
2410       }
2411    }
2412 }
2413
2414 group {
2415    name: "elm/layout/nocontents/text";
2416    alias: "elm/nocontents/base/text";
2417    inherit: "elm/layout/nocontents/full";
2418    images {
2419       image: "00_Nocontents_text.png" COMP;
2420    }
2421    parts {
2422       part { name: "nocontents.image";
2423          description { state: "default" 0.0;
2424             image {
2425                normal: "00_Nocontents_text.png";
2426             }
2427          }
2428       }
2429    }
2430 }
2431
2432 group {
2433    name: "elm/layout/nocontents/unnamed";
2434    alias: "elm/nocontents/base/unnamed";
2435    inherit: "elm/layout/nocontents/full";
2436    images {
2437       image: "00_Nocontents_unnamed.png" COMP;
2438    }
2439    parts {
2440       part { name: "nocontents.image";
2441          description { state: "default" 0.0;
2442             image {
2443                normal: "00_Nocontents_unnamed.png";
2444             }
2445          }
2446       }
2447    }
2448 }
2449
2450 group {
2451    name: "elm/layout/nocontents/devices";
2452    alias: "elm/nocontents/base/devices";
2453    inherit: "elm/layout/nocontents/full";
2454    images {
2455       image: "00_Nocontents_devices.png" COMP;
2456    }
2457    parts {
2458       part { name: "nocontents.image";
2459          description { state: "default" 0.0;
2460             image {
2461                normal: "00_Nocontents_devices.png";
2462             }
2463          }
2464       }
2465    }
2466 }
2467
2468 group {
2469    name: "elm/layout/nocontents/search";
2470    alias: "elm/nocontents/base/search";
2471    parts {
2472       part { name: "bg";
2473          mouse_events: 0;
2474          type: RECT;
2475          description { state: "default" 0.0;
2476             visible: 1;
2477             rel1 {
2478                relative: 0.0 0.0;
2479             }
2480             rel2 {
2481                relative: 1.0 1.0;
2482             }
2483             color: 0 0 0 0;
2484          }
2485       }
2486       part { name: "top_padding";
2487          mouse_events: 0;
2488          type: RECT;
2489          scale: 1;
2490          description { state: "default" 0.0;
2491             min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
2492             fixed: 0 1;
2493             align: 0 0;
2494             visible: 1;
2495             rel1 {
2496                relative: 0.0 0.0;
2497             }
2498             rel2 {
2499                relative: 1.0 0.0;
2500             }
2501             color: 0 0 0 0;
2502          }
2503       }
2504       part { name: "elm.text";
2505          mouse_events: 0;
2506          type: TEXT;
2507          scale: 1;
2508          description { state: "default" 0.0;
2509             //min: 0 30;
2510             fixed: 0 1;
2511             align: 0 0;
2512             visible: 1;
2513             rel1 {
2514                relative: 0.0 1.0;
2515                to:"top_padding";
2516             }
2517             rel2 {
2518                relative: 1.0 1.0;
2519                to:"top_padding";
2520             }
2521             color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
2522             text {
2523                font: "Tizen:style=Roman";
2524                size: 30;
2525                text: "";
2526                align: 0.5 0.5;
2527                text_class: "tizen";
2528             }
2529          }
2530       }
2531       part { name: "text_bottom_padding";
2532          mouse_events: 0;
2533          type: RECT;
2534          scale: 1;
2535          description { state: "default" 0.0;
2536             min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
2537             fixed: 0 1;
2538             align: 0 0;
2539             visible: 0;
2540             rel1 {
2541                relative: 0.0 1.0;
2542                to:"elm.text";
2543             }
2544             rel2 {
2545                relative: 1.0 1.0;
2546                to:"elm.text";
2547             }
2548          }
2549       }
2550       part { name: "custom";
2551          mouse_events: 1;
2552          type: SWALLOW;
2553          scale: 1;
2554          description { state: "default" 0.0;
2555             min: 0 0;
2556             fixed: 0 1;
2557             align: 0 0;
2558             visible: 1;
2559             rel1 {
2560                relative: 0.0 1.0;
2561                to:"text_bottom_padding";
2562             }
2563             rel2 {
2564                relative: 1.0 1.0;
2565                to:"text_bottom_padding";
2566             }
2567          }
2568       }
2569    }
2570 }