3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
20 /*************************************************/
21 /* elm_layout -> fundamental template style */
22 /*************************************************/
23 group { name: "elm/layout/application/default";
24 alias: "elm/layout/application/noindicator";
26 part { name: "elm.swallow.bg";
29 description { state: "default" 0.0;
32 part { name: "elm.swallow.content";
35 description { state: "default" 0.0;
38 //Might be no need anymore
39 part { name: "elm.swallow.controlbar";
41 description { state: "default" 0.0;
47 /*************************************************************************/
48 /* elm_layout -> fundamental template style with controlbar (deprecated) */
49 /*************************************************************************/
50 group { name: "elm/layout/application/controlbar";
52 part { name: "elm.swallow.bg";
55 description { state: "default" 0.0;
58 part { name: "elm.swallow.content";
61 description { state: "default" 0.0;
62 rel2.relative: 1.0 0.0;
63 rel2.to: "elm.swallow.controlbar";
66 part { name: "elm.swallow.controlbar";
69 description { state: "default" 0.0;
70 min: 0 CONTROLBAR_LARGE_HEIGHT_INC;
72 rel1 { relative: 0.0 1.0; }
73 rel2 { relative: 1.0 1.0; }
79 /************************************************************/
80 /* elm_layout -> fundamental template style with tabbar */
81 /************************************************************/
82 group { name: "elm/layout/application/tabbar";
83 alias: "elm/layout/tabbar/default";
85 part { name: "elm.swallow.bg";
88 description { state: "default" 0.0;
91 part { name: "elm.swallow.tabbar";
94 description { state: "default" 0.0;
95 min: 0 TABBAR_DEFAULT_HEIGHT_INC;
97 rel1 { relative: 0.0 0.0; }
98 rel2 { relative: 1.0 0.0; }
101 description { state: "icon_text" 0.0;
102 inherit: "default" 0.0;
103 min: 0 TABBAR_ICON_TEXT_HEIGHT_INC;
105 description { state: "horizontal" 0.0;
106 inherit: "default" 0.0;
107 min: 0 TABBAR_HORIZONTAL_HEIGHT_INC;
109 description { state: "horizontal_icon_text" 0.0;
110 inherit: "default" 0.0;
111 min: 0 TABBAR_HORIZONTAL_ICON_TEXT_HEIGHT_INC;
113 description { state: "hidden" 0.0;
114 inherit: "default" 0.0;
118 part { name: "elm.swallow.content";
121 description { state: "default" 0.0;
122 rel1.to_y: "elm.swallow.tabbar";
123 rel1.relative: 0.0 1.0;
128 program { name: "show_tabbar";
129 signal: "elm,state,show,tabbar";
130 signal: "elm,state,default,tabbar";
132 action: STATE_SET "default" 0.0;
133 target: "elm.swallow.tabbar";
135 program { name: "hide_tabbar";
136 signal: "elm,state,hide,tabbar";
138 action: STATE_SET "hidden" 0.0;
139 target: "elm.swallow.tabbar";
141 program { name: "icon_text_tabbar";
142 signal: "elm,state,icon_text,tabbar";
144 action: STATE_SET "icon_text" 0.0;
145 target: "elm.swallow.tabbar";
147 program { name: "horizontal_tabbar";
148 signal: "elm,state,horizontal,tabbar";
150 action: STATE_SET "horizontal" 0.0;
151 target: "elm.swallow.tabbar";
153 program { name: "horizontal_icon_text_tabbar";
154 signal: "elm,state,horizontal_icon_text,tabbar";
156 action: STATE_SET "horizontal_icon_text" 0.0;
157 target: "elm.swallow.tabbar";
162 /*************************************************/
163 /* elm_layout -> searchbar style */
164 /*************************************************/
165 group { name: "elm/layout/application/searchbar_base";
167 part { name: "elm.swallow.bg";
170 description { state: "default" 0.0;
173 part { name: "searchbar";
177 description { state: "default" 0.0;
178 min: 0 SEARCHBAR_H_INC;
185 description { state: "visible" 0.0;
186 inherit: "default" 0.0;
190 part { name: "elm.swallow.content";
194 description { state: "default" 0.0;
204 program { name: "show_searchbar";
205 signal: "elm,state,show,searchbar";
207 action: STATE_SET "visible" 0.0;
210 program { name: "show_searchbar_with_animation";
211 signal: "elm,state,show,searchbar,animation";
213 action: STATE_SET "visible" 0.0;
214 transition: DECELERATE 0.3;
217 program { name: "hide_searchbar";
218 signal: "elm,state,hide,searchbar";
220 action: STATE_SET "default" 0.0;
223 program { name: "hide_searchbar_with_animation";
224 signal: "elm,state,hide,searchbar,animation";
226 action: STATE_SET "default" 0.0;
227 transition: ACCELERATE 0.3;
233 /*************************************************/
234 /* elm_layout -> integrated style (deprecated) */
235 /*************************************************/
236 group { name: "elm/standard/window/integration";
238 /* for event blocking */
239 part { name: "base_event";
242 description { state: "default" 0.0;
246 description { state: "block_events" 0.0;
247 inherit: "default" 0.0;
249 description { state: "repeat_events" 0.0;
250 inherit: "default" 0.0;
258 description { state: "default" 0.0;
259 color: LAYOUT_BG_COLOR_INC;
261 description { state: "white_bg" 0.0;
262 color: 255 255 255 255;
264 description { state: "black_bg" 0.0;
267 description { state: "beige_bg" 0.0;
268 color: 246 245 237 255;
270 description { state: "group_list_bg" 0.0;
271 color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
273 description { state: "transparent_bg" 0.0;
276 description { state: "edit_mode" 0.0;
277 color: LAYOUT_EDIT_MODE_BG_COLOR_INC;
280 part { name: "elm.swallow.content";
283 state: "default" 0.0;
285 rel1 { relative: 0.0 0.0; }
286 rel2 { relative: 1.0 1.0; }
288 description { state: "show" 0.0;
289 inherit: "default" 0.0;
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"; }
297 description { state: "show" 1.0;
298 inherit: "default" 0.0;
299 rel2 { relative: 1.0 0.0; to_y: "elm.swallow.controlbar"; }
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"; }
309 part { name: "elm.swallow.navi_bar";
313 state: "default" 0.0;
315 min: 0 NAVIFRAME_TITLE_H_INC;
317 rel1 { relative: 0.0 0.0; }
318 rel2 { relative: 1.0 0.0; }
321 description { state: "show" 0.0;
322 inherit: "default" 0.0;
326 part { name: "elm.swallow.controlbar";
329 description { state: "default" 0.0;
331 min: 0 CONTROLBAR_LARGE_HEIGHT_INC;
333 rel1 { relative: 0.0 1.0; }
334 rel2 { relative: 1.0 1.0; }
337 description { state: "show" 0.0;
338 inherit: "default" 0.0;
344 program { name: "block_events";
345 signal: "elm,base_event,block_events";
347 action: STATE_SET "block_events" 0.0;
348 target: "base_event";
350 program { name: "repeat_events";
351 signal: "elm,base_event,repeat_events";
353 action: STATE_SET "repeat_events" 0.0;
354 target: "base_event";
356 program { name: "show_default_bg";
357 signal: "elm,bg,show,default";
360 set_state(PART:"base", "default", 0.0);
363 program { name: "show_black_bg";
364 signal: "elm,bg,show,black";
367 set_state(PART:"base", "black_bg", 0.0);
370 program { name: "show_white_bg";
371 signal: "elm,bg,show,white";
374 set_state(PART:"base", "white_bg", 0.0);
377 program { name: "show_beige_bg";
378 signal: "elm,bg,show,beige";
381 set_state(PART:"base", "beige_bg", 0.0);
384 program { name: "show_group_list_bg";
385 signal: "elm,bg,show,group_list";
388 set_state(PART:"base", "group_list_bg", 0.0);
391 program { name: "show_transparent_bg";
392 signal: "elm,bg,show,transparent";
395 set_state(PART:"base", "transparent_bg", 0.0);
398 program { name: "show_edit_mode_bg";
399 signal: "elm,bg,show,edit_mode";
402 set_state(PART:"base", "edit_mode", 0.0);
405 program { name: "show_navi_bar";
406 signal: "elm,state,show,navi_bar";
409 set_state(PART:"elm.swallow.navi_bar", "show", 0.0);
410 run_program(PROGRAM:"check_location");
413 program { name: "hide_navi_bar";
414 signal: "elm,state,hide,navi_bar";
417 set_state(PART:"elm.swallow.navi_bar", "default", 0.0);
418 run_program(PROGRAM:"check_location");
421 program { name: "show_content";
422 signal: "elm,state,show,content";
425 set_state(PART:"elm.swallow.content", "show", 0.0);
426 run_program(PROGRAM:"check_location");
429 program { name: "hide_content";
430 signal: "elm,state,hide,content";
433 set_state(PART:"elm.swallow.content", "hide", 0.0);
434 run_program(PROGRAM:"check_location");
437 program { name: "show_controlbar";
438 signal: "elm,state,show,controlbar";
441 set_state(PART:"elm.swallow.controlbar", "show", 0.0);
442 run_program(PROGRAM:"check_location");
445 program { name: "hide_controlbar";
446 signal: "elm,state,hide,controlbar";
449 set_state(PART:"elm.swallow.controlbar", "default", 0.0);
450 run_program(PROGRAM:"check_location");
453 program { name: "check_location";
457 new navi_bar = 0, content = 0, controlbar = 0;
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;
468 set_state(PART:"elm.swallow.navi_bar", "show", 0.0)
474 set_state(PART:"elm.swallow.content", "show_with_navi_bar", 0.0)
476 set_state(PART:"elm.swallow.content", "show", 0.0)
478 get_state(PART:"elm.swallow.content", st, 30, vl)
480 if (controlbar == 1) {
481 set_state(PART:"elm.swallow.content", st, 1.0)
489 group { name: "elm/layout/editfield/default";
491 image: "00_EditField_clear.png" COMP;
498 ignore_flags: ON_HOLD;
500 state: "default" 0.0;
501 min: 0 EDITFIELD_DEFAULT_MINH_INC;
509 ignore_flags: ON_HOLD;
511 state: "default" 0.0;
513 min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
515 rel1.relative: 0.0 0.0;
516 rel2.relative: 1.0 0.0;
524 ignore_flags: ON_HOLD;
526 state: "default" 0.0;
528 min: EDITFIELD_DEFAULT_LEFT1_INC 0;
531 rel1.relative : 0.0 0.0;
532 rel2.relative : 0.0 1.0;
539 ignore_flags: ON_HOLD;
541 state: "default" 0.0;
543 min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
546 rel1.relative : 1.0 0.0;
547 rel2.relative : 1.0 1.0;
554 ignore_flags: ON_HOLD;
556 state: "default" 0.0;
558 min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
561 rel1.relative : 1.0 0.0;
562 rel2.relative : 1.0 1.0;
569 ignore_flags: ON_HOLD;
571 state: "default" 0.0;
573 min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
576 rel1.relative: 0.0 1.0;
580 name: "elm.guidetext";
583 ignore_flags: ON_HOLD;
585 state: "default" 0.0;
588 rel1.to: "elm.swallow.content";
589 rel2.to: "elm.swallow.content";
590 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
592 font: "Tizen:style=Roman";
593 size: ENTRY_TEXT_SIZE_INC;
601 inherit: "default" 0.0;
606 name: "elm.swallow.content";
609 ignore_flags: ON_HOLD;
611 state: "default" 0.0;
627 name: "eraser_image";
629 clip_to: "eraser_image.clipper";
631 state: "default" 0.0;
633 min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
644 image.normal: "00_EditField_clear.png";
647 state: "elm.eraser.show" 0.0;
648 inherit: "default" 0.0;
652 part { name: "eraser_image.clipper";
654 description { state: "default" 0.0;
657 description { state: "elm.eraser.show" 0.0;
658 color: EDITFIELD_ERASER_DEFAULT_COLOR_INC;
660 description { state: "elm.eraser.pressed" 0.0;
661 color: EDITFIELD_ERASER_PRESSED_COLOR_INC;
670 state: "default" 0.0;
672 min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC;
686 state: "elm.eraser.show" 0.0;
687 inherit: "default" 0.0;
694 name: "guidetext_show";
695 signal: "elm,state,guidetext,show";
697 action: STATE_SET "default" 0.0;
698 target: "elm.guidetext";
701 name: "guidetext_hide";
702 signal: "elm,state,guidetext,hide";
704 action: STATE_SET "hidden" 0.0;
705 target: "elm.guidetext";
709 signal: "elm,state,eraser,show";
711 action: STATE_SET "elm.eraser.show" 0.0;
712 target: "eraser_image";
713 target: "eraser_image.clipper";
718 signal: "elm,state,eraser,hide";
720 action: STATE_SET "default" 0.0;
721 target: "eraser_image";
722 target: "eraser_image.clipper";
726 name: "eraser_clicked";
727 signal: "mouse,clicked,1";
729 action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
732 name: "eraser_pressed";
733 signal: "mouse,down,1";
735 action: STATE_SET "elm.eraser.pressed" 0.0;
736 target: "eraser_image.clipper";
739 name: "eraser_unpressed";
740 signal: "mouse,up,1";
742 action: STATE_SET "elm.eraser.show" 0.0;
743 target: "eraser_image.clipper";
748 group { name: "elm/layout/editfield/title";
750 image: "00_EditField_clear.png" COMP;
757 ignore_flags: ON_HOLD;
759 state: "default" 0.0;
760 min: 0 EDITFIELD_TITLE_MINH_INC;
768 ignore_flags: ON_HOLD;
770 state: "default" 0.0;
772 min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC;
774 rel1.relative: 0.0 0.0;
775 rel2.relative: 1.0 0.0;
783 ignore_flags: ON_HOLD;
785 state: "default" 0.0;
787 min: 0 EDITFIELD_DEFAULT_TOP2_INC;
789 rel1.relative: 0.0 0.0;
790 rel2.relative: 1.0 0.0;
798 ignore_flags: ON_HOLD;
800 state: "default" 0.0;
802 min: EDITFIELD_DEFAULT_LEFT1_INC 0;
805 rel1.relative : 0.0 0.0;
806 rel2.relative : 0.0 1.0;
813 ignore_flags: ON_HOLD;
815 state: "default" 0.0;
817 min: EDITFIELD_DEFAULT_LEFT2_INC 0;
820 rel1.relative : 0.0 0.0;
821 rel2.relative : 0.0 1.0;
828 ignore_flags: ON_HOLD;
830 state: "default" 0.0;
832 min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
835 rel1.relative : 1.0 0.0;
836 rel2.relative : 1.0 1.0;
843 ignore_flags: ON_HOLD;
845 state: "default" 0.0;
847 min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
850 rel1.relative : 1.0 0.0;
851 rel2.relative : 1.0 1.0;
858 ignore_flags: ON_HOLD;
860 state: "default" 0.0;
862 min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC;
865 rel1.relative: 0.0 1.0;
872 ignore_flags: ON_HOLD;
874 state: "default" 0.0;
876 min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC;
878 rel1.relative: 0.0 1.0;
886 ignore_flags: ON_HOLD;
888 state: "default" 0.0;
900 ignore_flags: ON_HOLD;
902 state: "default" 0.0;
916 color: EDITFIELD_TITLE_COLOR_INC;
918 font: "Tizen:style=Medium";
919 size: EDITFIELD_TITLE_SIZE_INC;
927 name: "elm.guidetext";
930 ignore_flags: ON_HOLD;
932 state: "default" 0.0;
935 rel1.to: "elm.swallow.content";
936 rel2.to: "elm.swallow.content";
937 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
939 font: "Tizen:style=Roman";
940 size: ENTRY_TEXT_SIZE_INC;
948 inherit: "default" 0.0;
953 name: "elm.swallow.content";
956 ignore_flags: ON_HOLD;
958 state: "default" 0.0;
974 name: "eraser_image";
976 clip_to: "eraser_image.clipper";
978 state: "default" 0.0;
980 min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
986 to_y : "eraser_base";
991 to_y : "eraser_base";
993 image.normal: "00_EditField_clear.png";
996 state: "elm.eraser.show" 0.0;
997 inherit: "default" 0.0;
1001 part { name: "eraser_image.clipper";
1003 description { state: "default" 0.0;
1006 description { state: "elm.eraser.show" 0.0;
1007 color: EDITFIELD_ERASER_DEFAULT_COLOR_INC;
1009 description { state: "elm.eraser.pressed" 0.0;
1010 color: EDITFIELD_ERASER_PRESSED_COLOR_INC;
1019 state: "default" 0.0;
1021 min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC;
1028 to_y : "eraser_base";
1033 to_y : "eraser_base";
1037 state: "elm.eraser.show" 0.0;
1038 inherit: "default" 0.0;
1045 name: "guidetext_show";
1046 signal: "elm,state,guidetext,show";
1048 action: STATE_SET "default" 0.0;
1049 target: "elm.guidetext";
1052 name: "guidetext_hide";
1053 signal: "elm,state,guidetext,hide";
1055 action: STATE_SET "hidden" 0.0;
1056 target: "elm.guidetext";
1059 name: "eraser_show";
1060 signal: "elm,state,eraser,show";
1062 action: STATE_SET "elm.eraser.show" 0.0;
1063 target: "eraser_image";
1064 target: "eraser_image.clipper";
1068 name: "eraser_hide";
1069 signal: "elm,state,eraser,hide";
1071 action: STATE_SET "default" 0.0;
1072 target: "eraser_image";
1073 target: "eraser_image.clipper";
1077 name: "eraser_clicked";
1078 signal: "mouse,clicked,1";
1080 action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
1083 name: "eraser_pressed";
1084 signal: "mouse,down,1";
1086 action: STATE_SET "elm.eraser.pressed" 0.0;
1087 target: "eraser_image.clipper";
1090 name: "eraser_unpressed";
1091 signal: "mouse,up,1";
1093 action: STATE_SET "elm.eraser.show" 0.0;
1094 target: "eraser_image.clipper";
1099 group { name: "elm/layout/searchbar/default";
1101 image: "00_EditField_clear.png" COMP;
1102 image: "00_search_edit_field_bg.png" COMP;
1103 image: "00_search_icon.png" COMP;
1106 part { name: "inputfield_base";
1109 description { state: "default" 0.0;
1114 part { name: "top_left_padding";
1119 state: "default" 0.0;
1120 min: SEARCHBAR_LEFT_PADDING_INC SEARCHBAR_TOP_PADDING_INC;
1123 rel1 { relative: 0.0 0.0; to: "inputfield_base"; }
1124 rel2 { relative: 0.0 0.0; to: "inputfield_base"; }
1128 part { name: "bottom_right_padding";
1133 state: "default" 0.0;
1134 min: SEARCHBAR_RIGHT_PADDING_INC SEARCHBAR_BOTTOM_PADDING_INC;
1137 rel1 { relative: 1.0 1.0; to: "inputfield_base"; }
1138 rel2 { relative: 1.0 1.0; to: "inputfield_base"; }
1142 part { name: "inputfield_rect";
1145 description { state: "default" 0.0;
1146 min: 0 SEARCHBAR_HEIGHT_INC;
1149 normal: "00_search_edit_field_bg.png";
1150 border: SEARCHBAR_INPUTFIELD_BORDER_INC;
1152 rel1 { relative: 1.0 1.0; to: "top_left_padding"; }
1153 rel2 { relative: 0.0 0.0; to: "bottom_right_padding"; }
1156 part { name: "left_icon_padding_rect";
1159 description { state: "default" 0.0;
1161 min: SEARCHBAR_LEFT_ICON_PADDING_INC 0;
1164 rel1.to: "inputfield_rect";
1167 to: "inputfield_rect";
1171 part { name: "search_icon";
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;
1182 to_x: "left_icon_padding_rect";
1183 to_y: "inputfield_rect";
1187 to_x: "left_icon_padding_rect";
1188 to_y: "inputfield_rect";
1190 image.normal: "00_search_icon.png";
1193 part { name: "image.clipper";
1195 description { state: "default" 0.0;
1196 color: SEARCHBAR_ICON_COLOR_INC;
1199 part { name: "left_padding_search_textfield";
1202 description { state: "default" 0.0;
1204 min: SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 0;
1209 to_x: "search_icon";
1210 to_y: "inputfield_rect";
1214 to_x: "search_icon";
1215 to_y: "inputfield_rect";
1219 part { name: "right_padding_search_textfield";
1222 description { state: "default" 0.0;
1224 min: SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 0;
1229 to: "inputfield_rect";
1233 to: "inputfield_rect";
1237 part { name: "search_textfield";
1241 ignore_flags: ON_HOLD;
1242 description { state: "default" 0.0;
1244 min: 1 SEARCHBAR_SEARCH_TEXTFIELD_H_INC;
1249 to: "left_padding_search_textfield";
1253 to: "right_padding_search_textfield";
1257 part { name: "top1";
1260 ignore_flags: ON_HOLD;
1261 description { state: "default" 0.0;
1263 min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
1267 to: "search_textfield";
1271 to: "search_textfield";
1275 description { state: "elm.text.show" 0.0;
1276 inherit: "default" 0.0;
1277 min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
1280 part { name: "top2";
1283 ignore_flags: ON_HOLD;
1284 description { state: "default" 0.0;
1286 min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
1290 to: "search_textfield";
1294 to: "search_textfield";
1299 part { name: "left1";
1302 ignore_flags: ON_HOLD;
1303 description { state: "default" 0.0;
1305 min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
1310 to: "search_textfield";
1314 to: "search_textfield";
1318 part { name: "left2";
1321 ignore_flags: ON_HOLD;
1322 description { state: "default" 0.0;
1324 min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
1329 to: "search_textfield";
1333 to: "search_textfield";
1337 part { name: "right1";
1340 ignore_flags: ON_HOLD;
1341 description { state: "default" 0.0;
1343 min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
1348 to: "search_textfield";
1350 rel2.to: "search_textfield";
1353 part { name: "right2";
1356 ignore_flags: ON_HOLD;
1357 description { state: "default" 0.0;
1359 min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
1364 to: "search_textfield";
1366 rel2.to: "search_textfield";
1369 part { name: "bottom1";
1372 ignore_flags: ON_HOLD;
1373 description { state: "default" 0.0;
1375 min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
1380 to: "search_textfield";
1383 description { state: "elm.text.show" 0.0;
1384 inherit: "default" 0.0;
1385 min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
1388 part { name: "bottom2";
1391 ignore_flags: ON_HOLD;
1392 description { state: "default" 0.0;
1394 min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
1398 to: "search_textfield";
1402 description { state: "elm.text.show" 0.0;
1403 inherit: "default" 0.0;
1404 min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
1407 part { name: "bottom3";
1410 ignore_flags: ON_HOLD;
1411 description { state: "default" 0.0;
1413 min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
1417 to: "search_textfield";
1421 description { state: "elm.text.show" 0.0;
1422 inherit: "default" 0.0;
1423 min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
1426 part { name: "elm.text";
1429 ignore_flags: ON_HOLD;
1430 description { state: "default" 0.0;
1445 color: EDITFIELD_TITLE_COLOR_INC;
1447 font: "Tizen:style=Medium";
1448 size: EDITFIELD_TITLE_SIZE_INC;
1451 text_class: "tizen";
1454 description { state: "elm.text.show" 0.0;
1455 inherit: "default" 0.0;
1459 part { name: "elm.guidetext";
1462 ignore_flags: ON_HOLD;
1463 description { state: "default" 0.0;
1466 rel1.to: "elm.swallow.content";
1467 rel2.to: "elm.swallow.content";
1468 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
1470 font: "Tizen:style=Roman";
1471 size: ENTRY_TEXT_SIZE_INC;
1474 text_class: "tizen";
1477 description { state: "hidden" 0.0;
1478 inherit: "default" 0.0;
1483 name: "elm.swallow.content";
1486 ignore_flags: ON_HOLD;
1487 description { state: "default" 0.0;
1502 part { name: "eraser_image";
1504 clip_to: "eraser_image.clipper";
1505 description { state: "default" 0.0;
1507 min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
1518 image.normal: "00_EditField_clear.png";
1520 description { state: "elm.eraser.show" 0.0;
1521 inherit: "default" 0.0;
1525 part { name: "eraser_image.clipper";
1527 description { state: "default" 0.0;
1530 description { state: "elm.eraser.show" 0.0;
1531 color: EDITFIELD_ERASER_DEFAULT_COLOR_INC;
1533 description { state: "elm.eraser.pressed" 0.0;
1534 color: EDITFIELD_ERASER_PRESSED_COLOR_INC;
1537 part { name: "eraser";
1541 description { state: "default" 0.0;
1543 min: EDITFIELD_SEARCHBAR_ERASER_EVENT_MINW_INC EDITFIELD_SEARCHBAR_ERASER_EVENT_MINH_INC;
1556 description { state: "elm.eraser.show" 0.0;
1557 inherit: "default" 0.0;
1564 name: "guidetext_show";
1565 signal: "elm,state,guidetext,show";
1567 action: STATE_SET "default" 0.0;
1568 target: "elm.guidetext";
1571 name: "guidetext_hide";
1572 signal: "elm,state,guidetext,hide";
1574 action: STATE_SET "hidden" 0.0;
1575 target: "elm.guidetext";
1578 name: "eraser_show";
1579 signal: "elm,state,eraser,show";
1581 action: STATE_SET "elm.eraser.show" 0.0;
1582 target: "eraser_image";
1583 target: "eraser_image.clipper";
1587 name: "eraser_hide";
1588 signal: "elm,state,eraser,hide";
1590 action: STATE_SET "default" 0.0;
1591 target: "eraser_image";
1592 target: "eraser_image.clipper";
1597 signal: "elm,state,title,show";
1599 action: STATE_SET "elm.text.show" 0.0;
1608 signal: "elm,state,title,hide";
1610 action: STATE_SET "default" 0.0;
1618 name: "eraser_clicked";
1619 signal: "mouse,clicked,1";
1621 action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
1625 signal: "mouse,clicked,1";
1626 source: "search_textfield";
1627 action: SIGNAL_EMIT "elm,bg,clicked" "elm";
1629 program { name: "mouse_click";
1630 signal: "mouse,clicked,1";
1631 source: "search_icon";
1632 action: SIGNAL_EMIT "elm,action,click" "";
1635 name: "eraser_pressed";
1636 signal: "mouse,down,1";
1638 action: STATE_SET "elm.eraser.pressed" 0.0;
1639 target: "eraser_image.clipper";
1642 name: "eraser_unpressed";
1643 signal: "mouse,up,1";
1645 action: STATE_SET "elm.eraser.show" 0.0;
1646 target: "eraser_image.clipper";
1651 group { name: "elm/layout/searchbar/cancel_button";
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;
1659 part { name: "top_padding_rect";
1662 description { state: "default" 0.0;
1664 min: 0 SEARCHBAR_TOP_PADDING_INC;
1667 rel2.relative: 1.0 0.0;
1670 part { name: "bottom_padding_rect";
1673 description { state: "default" 0.0;
1675 min: 0 SEARCHBAR_BOTTOM_PADDING_INC;
1678 rel1.relative: 0.0 1.0;
1681 part { name: "base_bg";
1684 description { state: "default" 0.0;
1686 min: 0 SEARCHBAR_HEIGHT_INC;
1691 to: "top_padding_rect";
1695 to: "bottom_padding_rect";
1699 part { name: "left_padding_rect";
1702 description { state: "default" 0.0;
1704 min: SEARCHBAR_LEFT_PADDING_INC 0;
1707 rel2.relative: 0.0 1.0;
1710 part { name: "right_padding_rect";
1713 description { state: "default" 0.0;
1715 min: SEARCHBAR_RIGHT_PADDING_INC 0;
1718 rel1.relative: 1.0 0.0;
1720 description { state: "in" 0.0;
1721 inherit: "default" 0.0;
1722 min: SEARCHBAR_CANCEL_BUTTON_WITH_DOUBLE_PADDING_W_INC 0;
1725 part { name: "inputfield_rect";
1728 description { state: "default" 0.0;
1732 to_x: "left_padding_rect";
1737 to_x: "right_padding_rect";
1741 normal: "00_search_edit_field_bg.png";
1742 border: SEARCHBAR_INPUTFIELD_BORDER_INC;
1747 name: "focus_image";
1751 state: "default" 0.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";
1761 inherit: "default" 0.0;
1765 part { name: "right_btn_padding_rect";
1768 description { state: "default" 0.0;
1770 min: SEARCHBAR_RIGHT_PADDING_INC 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";
1778 description { state: "in" 0.0;
1779 inherit: "default" 0.0;
1780 min: SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 0;
1783 part { name: "left_icon_padding_rect";
1786 description { state: "default" 0.0;
1788 min: SEARCHBAR_LEFT_ICON_PADDING_INC 0;
1791 rel1.to: "inputfield_rect";
1794 to: "inputfield_rect";
1798 part { name: "search_icon";
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;
1809 to_x: "left_icon_padding_rect";
1810 to_y: "inputfield_rect";
1814 to_x: "left_icon_padding_rect";
1815 to_y: "inputfield_rect";
1817 image.normal: "00_search_icon.png";
1820 part { name: "image.clipper";
1822 description { state: "default" 0.0;
1823 color: SEARCHBAR_ICON_COLOR_INC;
1826 part { name: "left_padding_search_textfield";
1829 description { state: "default" 0.0;
1831 min: SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 0;
1836 to_x: "search_icon";
1837 to_y: "inputfield_rect";
1841 to_x: "search_icon";
1842 to_y: "inputfield_rect";
1846 part { name: "right_padding_search_textfield";
1849 description { state: "default" 0.0;
1851 min: SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 0;
1856 to: "inputfield_rect";
1860 to: "inputfield_rect";
1864 part { name: "search_textfield";
1868 ignore_flags: ON_HOLD;
1869 description { state: "default" 0.0;
1871 min: 1 SEARCHBAR_SEARCH_TEXTFIELD_H_INC;
1876 to: "left_padding_search_textfield";
1880 to: "right_padding_search_textfield";
1884 part { name: "button_cancel";
1888 description { state: "default" 0.0;
1890 min: SEARCHBAR_CANCEL_BUTTON_W_INC 0;
1892 state: "default" 0.0;
1895 to_x: "right_btn_padding_rect";
1896 to_y: "top_padding_rect";
1900 to_x: "right_btn_padding_rect";
1901 to_y: "bottom_padding_rect";
1905 part { name: "top1";
1908 ignore_flags: ON_HOLD;
1909 description { state: "default" 0.0;
1911 min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
1915 to: "search_textfield";
1919 to: "search_textfield";
1923 description { state: "elm.text.show" 0.0;
1924 inherit: "default" 0.0;
1925 min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
1928 part { name: "top2";
1931 ignore_flags: ON_HOLD;
1932 description { state: "default" 0.0;
1934 min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
1938 to: "search_textfield";
1942 to: "search_textfield";
1947 part { name: "left1";
1950 ignore_flags: ON_HOLD;
1951 description { state: "default" 0.0;
1953 min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
1958 to: "search_textfield";
1962 to: "search_textfield";
1966 part { name: "left2";
1969 ignore_flags: ON_HOLD;
1970 description { state: "default" 0.0;
1972 min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
1977 to: "search_textfield";
1981 to: "search_textfield";
1985 part { name: "right1";
1988 ignore_flags: ON_HOLD;
1989 description { state: "default" 0.0;
1991 min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
1996 to: "search_textfield";
1998 rel2.to: "search_textfield";
2001 part { name: "right2";
2004 ignore_flags: ON_HOLD;
2005 description { state: "default" 0.0;
2007 min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
2012 to: "search_textfield";
2014 rel2.to: "search_textfield";
2017 part { name: "bottom1";
2020 ignore_flags: ON_HOLD;
2021 description { state: "default" 0.0;
2023 min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
2028 to: "search_textfield";
2030 rel2.to: "search_textfield";
2032 description { state: "elm.text.show" 0.0;
2033 inherit: "default" 0.0;
2034 min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
2037 part { name: "bottom2";
2040 ignore_flags: ON_HOLD;
2041 description { state: "default" 0.0;
2043 min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
2047 to: "search_textfield";
2049 rel2.to: "search_textfield";
2052 description { state: "elm.text.show" 0.0;
2053 inherit: "default" 0.0;
2054 min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
2057 part { name: "bottom3";
2060 ignore_flags: ON_HOLD;
2061 description { state: "default" 0.0;
2063 min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
2067 to: "search_textfield";
2069 rel2.to: "search_textfield";
2072 description { state: "elm.text.show" 0.0;
2073 inherit: "default" 0.0;
2074 min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
2077 part { name: "elm.text";
2080 ignore_flags: ON_HOLD;
2081 description { state: "default" 0.0;
2096 color: EDITFIELD_TITLE_COLOR_INC;
2098 font: "Tizen:style=Medium";
2099 size: EDITFIELD_TITLE_SIZE_INC;
2102 text_class: "tizen";
2105 description { state: "elm.text.show" 0.0;
2106 inherit: "default" 0.0;
2110 part { name: "elm.guidetext";
2113 ignore_flags: ON_HOLD;
2114 description { state: "default" 0.0;
2117 rel1.to: "elm.swallow.content";
2118 rel2.to: "elm.swallow.content";
2119 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
2121 font: "Tizen:style=Roman";
2122 size: ENTRY_TEXT_SIZE_INC;
2125 text_class: "tizen";
2128 description { state: "hidden" 0.0;
2129 inherit: "default" 0.0;
2134 name: "elm.swallow.content";
2137 ignore_flags: ON_HOLD;
2138 description { state: "default" 0.0;
2153 part { name: "eraser_image";
2155 clip_to: "eraser_image.clipper";
2156 description { state: "default" 0.0;
2158 min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
2169 image.normal: "00_EditField_clear.png";
2171 description { state: "elm.eraser.show" 0.0;
2172 inherit: "default" 0.0;
2176 part { name: "eraser_image.clipper";
2178 description { state: "default" 0.0;
2181 description { state: "elm.eraser.show" 0.0;
2182 color: EDITFIELD_ERASER_DEFAULT_COLOR_INC;
2184 description { state: "elm.eraser.pressed" 0.0;
2185 color: EDITFIELD_ERASER_PRESSED_COLOR_INC;
2188 part { name: "eraser";
2192 description { state: "default" 0.0;
2194 min: EDITFIELD_SEARCHBAR_ERASER_EVENT_MINW_INC EDITFIELD_SEARCHBAR_ERASER_EVENT_MINH_INC;
2207 description { state: "elm.eraser.show" 0.0;
2208 inherit: "default" 0.0;
2215 name: "guidetext_show";
2216 signal: "elm,state,guidetext,show";
2218 action: STATE_SET "default" 0.0;
2219 target: "elm.guidetext";
2222 name: "guidetext_hide";
2223 signal: "elm,state,guidetext,hide";
2225 action: STATE_SET "hidden" 0.0;
2226 target: "elm.guidetext";
2229 name: "eraser_show";
2230 signal: "elm,state,eraser,show";
2232 action: STATE_SET "elm.eraser.show" 0.0;
2233 target: "eraser_image";
2234 target: "eraser_image.clipper";
2238 name: "eraser_hide";
2239 signal: "elm,state,eraser,hide";
2241 action: STATE_SET "default" 0.0;
2242 target: "eraser_image";
2243 target: "eraser_image.clipper";
2248 signal: "elm,state,title,show";
2250 action: STATE_SET "elm.text.show" 0.0;
2259 signal: "elm,state,title,hide";
2261 action: STATE_SET "default" 0.0;
2269 name: "eraser_clicked";
2270 signal: "mouse,clicked,1";
2272 action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
2276 signal: "mouse,clicked,1";
2277 source: "search_textfield";
2278 action: SIGNAL_EMIT "elm,bg,clicked" "elm";
2280 program { name: "cancel_in";
2281 signal: "cancel,in";
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;
2289 program { name: "cancel_out";
2290 signal: "cancel,out";
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;
2298 program { name: "cancel_show";
2299 signal: "cancel,show";
2301 action: STATE_SET "in" 0.0;
2302 target: "focus_image";
2303 target: "right_padding_rect";
2304 target: "right_btn_padding_rect";
2306 program { name: "cancel_hide";
2307 signal: "cancel,hide";
2309 action: STATE_SET "default" 0.0;
2310 target: "focus_image";
2311 target: "right_padding_rect";
2312 target: "right_btn_padding_rect";
2314 program { name: "mouse_click";
2315 signal: "mouse,clicked,1";
2316 source: "search_icon";
2317 action: SIGNAL_EMIT "elm,action,click" "";
2320 name: "eraser_pressed";
2321 signal: "mouse,down,1";
2323 action: STATE_SET "elm.eraser.pressed" 0.0;
2324 target: "eraser_image.clipper";
2327 name: "eraser_unpressed";
2328 signal: "mouse,up,1";
2330 action: STATE_SET "elm.eraser.show" 0.0;
2331 target: "eraser_image.clipper";
2337 name: "elm/layout/nocontents/full";
2338 alias: "elm/nocontents/base/full";
2339 alias: "elm/nocontents/base/default";
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";
2344 tag: "hilight" "+ font=Tizen:style=Bold";
2345 tag: "b" "+ font=Tizen:style=Bold";
2350 image: "00_Nocontents_picture.png" COMP;
2356 description { state: "default" 0.0;
2357 color: NOCONTENT_BG_COLOR_INC;
2364 part { name: "nocontents.image";
2366 description { state: "default" 0.0;
2368 min: NOCONTENT_IMAGE_WIDTH_HEIGHT_INC;
2378 normal: "00_Nocontents_picture.png";
2380 color: NOCONTENT_IMAGE_COLOR_INC;
2382 aspect_preference: BOTH;
2385 part { name: "middle.padding";
2388 description { state: "default" 0.0;
2390 min: 0 NOCONTENT_MIDDLE_PADDING_INC;
2395 to: "nocontents.image";
2399 to: "nocontents.image";
2403 part { name: "elm.text";
2406 description { state: "default" 0.0;
2407 min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
2408 max: 9999 NO_CONTENT_TEXT_STYLE_BG_HEIGHT_INC;
2413 to_y: "middle.padding";
2418 to_y: "middle.padding";
2420 color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
2422 style: "nocontent_style";
2428 part { name: "pad_b";
2432 description { state: "default" 0.0;
2437 rel1.relative: 0.0 1.0;
2444 name: "elm/layout/nocontents/multimedia";
2445 alias: "elm/nocontents/base/multimedia";
2446 inherit: "elm/layout/nocontents/full";
2448 image: "00_Nocontents_multimedia.png" COMP;
2451 part { name: "nocontents.image";
2452 description { state: "default" 0.0;
2454 normal: "00_Nocontents_multimedia.png";
2462 name: "elm/layout/nocontents/text";
2463 alias: "elm/nocontents/base/text";
2464 inherit: "elm/layout/nocontents/full";
2466 image: "00_Nocontents_text.png" COMP;
2469 part { name: "nocontents.image";
2470 description { state: "default" 0.0;
2472 normal: "00_Nocontents_text.png";
2480 name: "elm/layout/nocontents/unnamed";
2481 alias: "elm/nocontents/base/unnamed";
2482 inherit: "elm/layout/nocontents/full";
2484 image: "00_Nocontents_unnamed.png" COMP;
2487 part { name: "nocontents.image";
2488 description { state: "default" 0.0;
2490 normal: "00_Nocontents_unnamed.png";
2498 name: "elm/layout/nocontents/devices";
2499 alias: "elm/nocontents/base/devices";
2500 inherit: "elm/layout/nocontents/full";
2502 image: "00_Nocontents_devices.png" COMP;
2505 part { name: "nocontents.image";
2506 description { state: "default" 0.0;
2508 normal: "00_Nocontents_devices.png";
2516 name: "elm/layout/nocontents/search";
2517 alias: "elm/nocontents/base/search";
2522 description { state: "default" 0.0;
2533 part { name: "top_padding";
2537 description { state: "default" 0.0;
2538 min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
2551 part { name: "elm.text";
2555 description { state: "default" 0.0;
2568 color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
2570 font: "Tizen:style=Roman";
2574 text_class: "tizen";
2578 part { name: "text_bottom_padding";
2582 description { state: "default" 0.0;
2583 min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
2597 part { name: "custom";
2601 description { state: "default" 0.0;
2608 to:"text_bottom_padding";
2612 to:"text_bottom_padding";