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