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