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;
492 image: "00_EditField_clear_press.png" COMP;
499 ignore_flags: ON_HOLD;
501 state: "default" 0.0;
502 min: 0 EDITFIELD_DEFAULT_MINH_INC;
510 ignore_flags: ON_HOLD;
512 state: "default" 0.0;
514 min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
516 rel1.relative: 0.0 0.0;
517 rel2.relative: 1.0 0.0;
525 ignore_flags: ON_HOLD;
527 state: "default" 0.0;
529 min: EDITFIELD_DEFAULT_LEFT1_INC 0;
532 rel1.relative : 0.0 0.0;
533 rel2.relative : 0.0 1.0;
540 ignore_flags: ON_HOLD;
542 state: "default" 0.0;
544 min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
547 rel1.relative : 1.0 0.0;
548 rel2.relative : 1.0 1.0;
555 ignore_flags: ON_HOLD;
557 state: "default" 0.0;
559 min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
562 rel1.relative : 1.0 0.0;
563 rel2.relative : 1.0 1.0;
570 ignore_flags: ON_HOLD;
572 state: "default" 0.0;
574 min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
577 rel1.relative: 0.0 1.0;
581 name: "elm.guidetext";
584 ignore_flags: ON_HOLD;
586 state: "default" 0.0;
589 rel1.to: "elm.swallow.content";
590 rel2.to: "elm.swallow.content";
591 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
593 font: "Tizen:style=Roman";
594 size: ENTRY_TEXT_SIZE_INC;
602 inherit: "default" 0.0;
607 name: "elm.swallow.content";
610 ignore_flags: ON_HOLD;
612 state: "default" 0.0;
628 name: "eraser_image";
631 state: "default" 0.0;
633 min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
646 state: "elm.eraser.show" 0.0;
647 inherit: "default" 0.0;
650 normal: "00_EditField_clear.png";
656 state: "elm.eraser.pressed" 0.0;
657 inherit: "default" 0.0;
660 normal: "00_EditField_clear_press.png";
672 state: "default" 0.0;
674 min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC;
688 state: "elm.eraser.show" 0.0;
689 inherit: "default" 0.0;
696 name: "guidetext_show";
697 signal: "elm,state,guidetext,show";
699 action: STATE_SET "default" 0.0;
700 target: "elm.guidetext";
703 name: "guidetext_hide";
704 signal: "elm,state,guidetext,hide";
706 action: STATE_SET "hidden" 0.0;
707 target: "elm.guidetext";
711 signal: "elm,state,eraser,show";
713 action: STATE_SET "elm.eraser.show" 0.0;
714 target: "eraser_image";
719 signal: "elm,state,eraser,hide";
721 action: STATE_SET "default" 0.0;
722 target: "eraser_image";
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";
739 name: "eraser_unpressed";
740 signal: "mouse,up,1";
742 action: STATE_SET "elm.eraser.show" 0.0;
743 target: "eraser_image";
748 group { name: "elm/layout/editfield/title";
750 image: "00_EditField_clear.png" COMP;
751 image: "00_EditField_clear_press.png" COMP;
758 ignore_flags: ON_HOLD;
760 state: "default" 0.0;
761 min: 0 EDITFIELD_TITLE_MINH_INC;
769 ignore_flags: ON_HOLD;
771 state: "default" 0.0;
773 min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC;
775 rel1.relative: 0.0 0.0;
776 rel2.relative: 1.0 0.0;
784 ignore_flags: ON_HOLD;
786 state: "default" 0.0;
788 min: 0 EDITFIELD_DEFAULT_TOP2_INC;
790 rel1.relative: 0.0 0.0;
791 rel2.relative: 1.0 0.0;
799 ignore_flags: ON_HOLD;
801 state: "default" 0.0;
803 min: EDITFIELD_DEFAULT_LEFT1_INC 0;
806 rel1.relative : 0.0 0.0;
807 rel2.relative : 0.0 1.0;
814 ignore_flags: ON_HOLD;
816 state: "default" 0.0;
818 min: EDITFIELD_DEFAULT_LEFT2_INC 0;
821 rel1.relative : 0.0 0.0;
822 rel2.relative : 0.0 1.0;
829 ignore_flags: ON_HOLD;
831 state: "default" 0.0;
833 min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
836 rel1.relative : 1.0 0.0;
837 rel2.relative : 1.0 1.0;
844 ignore_flags: ON_HOLD;
846 state: "default" 0.0;
848 min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
851 rel1.relative : 1.0 0.0;
852 rel2.relative : 1.0 1.0;
859 ignore_flags: ON_HOLD;
861 state: "default" 0.0;
863 min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC;
866 rel1.relative: 0.0 1.0;
873 ignore_flags: ON_HOLD;
875 state: "default" 0.0;
877 min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC;
879 rel1.relative: 0.0 1.0;
887 ignore_flags: ON_HOLD;
889 state: "default" 0.0;
901 ignore_flags: ON_HOLD;
903 state: "default" 0.0;
917 color: EDITFIELD_TITLE_COLOR_INC;
919 font: "Tizen:style=Medium";
920 size: EDITFIELD_TITLE_SIZE_INC;
928 name: "elm.guidetext";
931 ignore_flags: ON_HOLD;
933 state: "default" 0.0;
936 rel1.to: "elm.swallow.content";
937 rel2.to: "elm.swallow.content";
938 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
940 font: "Tizen:style=Roman";
941 size: ENTRY_TEXT_SIZE_INC;
949 inherit: "default" 0.0;
954 name: "elm.swallow.content";
957 ignore_flags: ON_HOLD;
959 state: "default" 0.0;
975 name: "eraser_image";
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";
995 state: "elm.eraser.show" 0.0;
996 inherit: "default" 0.0;
999 normal: "00_EditField_clear.png";
1000 border: 10 10 10 10;
1005 state: "elm.eraser.pressed" 0.0;
1006 inherit: "default" 0.0;
1009 normal: "00_EditField_clear_press.png";
1021 state: "default" 0.0;
1023 min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC;
1030 to_y : "eraser_base";
1035 to_y : "eraser_base";
1039 state: "elm.eraser.show" 0.0;
1040 inherit: "default" 0.0;
1047 name: "guidetext_show";
1048 signal: "elm,state,guidetext,show";
1050 action: STATE_SET "default" 0.0;
1051 target: "elm.guidetext";
1054 name: "guidetext_hide";
1055 signal: "elm,state,guidetext,hide";
1057 action: STATE_SET "hidden" 0.0;
1058 target: "elm.guidetext";
1061 name: "eraser_show";
1062 signal: "elm,state,eraser,show";
1064 action: STATE_SET "elm.eraser.show" 0.0;
1065 target: "eraser_image";
1069 name: "eraser_hide";
1070 signal: "elm,state,eraser,hide";
1072 action: STATE_SET "default" 0.0;
1073 target: "eraser_image";
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";
1090 name: "eraser_unpressed";
1091 signal: "mouse,up,1";
1093 action: STATE_SET "elm.eraser.show" 0.0;
1094 target: "eraser_image";
1099 group { name: "elm/layout/searchbar/default";
1101 image: "00_EditField_clear.png" COMP;
1102 image: "00_EditField_clear_press.png" COMP;
1103 image: "00_search_edit_field_bg.png" COMP;
1104 image: "00_search_icon.png" COMP;
1107 part { name: "inputfield_base";
1110 description { state: "default" 0.0;
1115 part { name: "top_left_padding";
1120 state: "default" 0.0;
1121 min: SEARCHBAR_LEFT_PADDING_INC SEARCHBAR_TOP_PADDING_INC;
1124 rel1 { relative: 0.0 0.0; to: "inputfield_base"; }
1125 rel2 { relative: 0.0 0.0; to: "inputfield_base"; }
1129 part { name: "bottom_right_padding";
1134 state: "default" 0.0;
1135 min: SEARCHBAR_RIGHT_PADDING_INC SEARCHBAR_BOTTOM_PADDING_INC;
1138 rel1 { relative: 1.0 1.0; to: "inputfield_base"; }
1139 rel2 { relative: 1.0 1.0; to: "inputfield_base"; }
1143 part { name: "inputfield_rect";
1146 description { state: "default" 0.0;
1147 min: 0 SEARCHBAR_HEIGHT_INC;
1150 normal: "00_search_edit_field_bg.png";
1151 border: SEARCHBAR_INPUTFIELD_BORDER_INC;
1153 rel1 { relative: 1.0 1.0; to: "top_left_padding"; }
1154 rel2 { relative: 0.0 0.0; to: "bottom_right_padding"; }
1157 part { name: "left_icon_padding_rect";
1160 description { state: "default" 0.0;
1162 min: SEARCHBAR_LEFT_ICON_PADDING_INC 0;
1165 rel1.to: "inputfield_rect";
1168 to: "inputfield_rect";
1172 part { name: "search_icon";
1175 ignore_flags: ON_HOLD;
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: "left_padding_search_textfield";
1196 description { state: "default" 0.0;
1198 min: SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 0;
1203 to_x: "search_icon";
1204 to_y: "inputfield_rect";
1208 to_x: "search_icon";
1209 to_y: "inputfield_rect";
1213 part { name: "right_padding_search_textfield";
1216 description { state: "default" 0.0;
1218 min: SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 0;
1223 to: "inputfield_rect";
1227 to: "inputfield_rect";
1231 part { name: "search_textfield";
1235 ignore_flags: ON_HOLD;
1236 description { state: "default" 0.0;
1238 min: 0 SEARCHBAR_SEARCH_TEXTFIELD_H_INC;
1243 to: "left_padding_search_textfield";
1247 to: "right_padding_search_textfield";
1251 part { name: "top1";
1254 ignore_flags: ON_HOLD;
1255 description { state: "default" 0.0;
1257 min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
1261 to: "search_textfield";
1265 to: "search_textfield";
1269 description { state: "elm.text.show" 0.0;
1270 inherit: "default" 0.0;
1271 min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
1274 part { name: "top2";
1277 ignore_flags: ON_HOLD;
1278 description { state: "default" 0.0;
1280 min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
1284 to: "search_textfield";
1288 to: "search_textfield";
1293 part { name: "left1";
1296 ignore_flags: ON_HOLD;
1297 description { state: "default" 0.0;
1299 min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
1304 to: "search_textfield";
1308 to: "search_textfield";
1312 part { name: "left2";
1315 ignore_flags: ON_HOLD;
1316 description { state: "default" 0.0;
1318 min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
1323 to: "search_textfield";
1327 to: "search_textfield";
1331 part { name: "right1";
1334 ignore_flags: ON_HOLD;
1335 description { state: "default" 0.0;
1337 min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
1342 to: "search_textfield";
1344 rel2.to: "search_textfield";
1347 part { name: "right2";
1350 ignore_flags: ON_HOLD;
1351 description { state: "default" 0.0;
1353 min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
1358 to: "search_textfield";
1360 rel2.to: "search_textfield";
1363 part { name: "bottom1";
1366 ignore_flags: ON_HOLD;
1367 description { state: "default" 0.0;
1369 min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
1374 to: "search_textfield";
1377 description { state: "elm.text.show" 0.0;
1378 inherit: "default" 0.0;
1379 min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
1382 part { name: "bottom2";
1385 ignore_flags: ON_HOLD;
1386 description { state: "default" 0.0;
1388 min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
1392 to: "search_textfield";
1396 description { state: "elm.text.show" 0.0;
1397 inherit: "default" 0.0;
1398 min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
1401 part { name: "bottom3";
1404 ignore_flags: ON_HOLD;
1405 description { state: "default" 0.0;
1407 min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
1411 to: "search_textfield";
1415 description { state: "elm.text.show" 0.0;
1416 inherit: "default" 0.0;
1417 min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
1420 part { name: "elm.text";
1423 ignore_flags: ON_HOLD;
1424 description { state: "default" 0.0;
1439 color: EDITFIELD_TITLE_COLOR_INC;
1441 font: "Tizen:style=Medium";
1442 size: EDITFIELD_TITLE_SIZE_INC;
1445 text_class: "tizen";
1448 description { state: "elm.text.show" 0.0;
1449 inherit: "default" 0.0;
1453 part { name: "elm.guidetext";
1456 ignore_flags: ON_HOLD;
1457 description { state: "default" 0.0;
1460 rel1.to: "elm.swallow.content";
1461 rel2.to: "elm.swallow.content";
1462 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
1464 font: "Tizen:style=Roman";
1465 size: ENTRY_TEXT_SIZE_INC;
1468 text_class: "tizen";
1471 description { state: "hidden" 0.0;
1472 inherit: "default" 0.0;
1477 name: "elm.swallow.content";
1480 ignore_flags: ON_HOLD;
1481 description { state: "default" 0.0;
1496 part { name: "eraser_image";
1498 description { state: "default" 0.0;
1500 min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
1512 description { state: "elm.eraser.show" 0.0;
1513 inherit: "default" 0.0;
1516 normal: "00_EditField_clear.png";
1517 border: 10 10 10 10;
1522 state: "elm.eraser.pressed" 0.0;
1523 inherit: "default" 0.0;
1526 normal: "00_EditField_clear_press.png";
1532 part { name: "eraser";
1536 description { state: "default" 0.0;
1538 min: EDITFIELD_SEARCHBAR_ERASER_EVENT_MINW_INC EDITFIELD_SEARCHBAR_ERASER_EVENT_MINH_INC;
1551 description { state: "elm.eraser.show" 0.0;
1552 inherit: "default" 0.0;
1559 name: "guidetext_show";
1560 signal: "elm,state,guidetext,show";
1562 action: STATE_SET "default" 0.0;
1563 target: "elm.guidetext";
1566 name: "guidetext_hide";
1567 signal: "elm,state,guidetext,hide";
1569 action: STATE_SET "hidden" 0.0;
1570 target: "elm.guidetext";
1573 name: "eraser_show";
1574 signal: "elm,state,eraser,show";
1576 action: STATE_SET "elm.eraser.show" 0.0;
1577 target: "eraser_image";
1581 name: "eraser_hide";
1582 signal: "elm,state,eraser,hide";
1584 action: STATE_SET "default" 0.0;
1585 target: "eraser_image";
1590 signal: "elm,state,title,show";
1592 action: STATE_SET "elm.text.show" 0.0;
1601 signal: "elm,state,title,hide";
1603 action: STATE_SET "default" 0.0;
1611 name: "eraser_clicked";
1612 signal: "mouse,clicked,1";
1614 action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
1618 signal: "mouse,clicked,1";
1619 source: "search_textfield";
1620 action: SIGNAL_EMIT "elm,bg,clicked" "elm";
1622 program { name: "mouse_click";
1623 signal: "mouse,clicked,1";
1624 source: "search_icon";
1625 action: SIGNAL_EMIT "elm,action,click" "";
1628 name: "eraser_pressed";
1629 signal: "mouse,down,1";
1631 action: STATE_SET "elm.eraser.pressed" 0.0;
1632 target: "eraser_image";
1635 name: "eraser_unpressed";
1636 signal: "mouse,up,1";
1638 action: STATE_SET "elm.eraser.show" 0.0;
1639 target: "eraser_image";
1644 group { name: "elm/layout/searchbar/cancel_button";
1646 image: "00_EditField_clear.png" COMP;
1647 image: "00_EditField_clear_press.png" COMP;
1648 image: "00_search_edit_field_bg.png" COMP;
1649 image: "00_search_icon.png" COMP;
1652 part { name: "top_padding_rect";
1655 description { state: "default" 0.0;
1657 min: 0 SEARCHBAR_TOP_PADDING_INC;
1660 rel2.relative: 1.0 0.0;
1663 part { name: "bottom_padding_rect";
1666 description { state: "default" 0.0;
1668 min: 0 SEARCHBAR_BOTTOM_PADDING_INC;
1671 rel1.relative: 0.0 1.0;
1674 part { name: "base_bg";
1677 description { state: "default" 0.0;
1679 min: 0 SEARCHBAR_HEIGHT_INC;
1684 to: "top_padding_rect";
1688 to: "bottom_padding_rect";
1692 part { name: "left_padding_rect";
1695 description { state: "default" 0.0;
1697 min: SEARCHBAR_LEFT_PADDING_INC 0;
1700 rel2.relative: 0.0 1.0;
1703 part { name: "right_padding_rect";
1706 description { state: "default" 0.0;
1708 min: SEARCHBAR_RIGHT_PADDING_INC 0;
1711 rel1.relative: 1.0 0.0;
1713 description { state: "in" 0.0;
1714 inherit: "default" 0.0;
1715 min: SEARCHBAR_CANCEL_BUTTON_WITH_DOUBLE_PADDING_W_INC 0;
1718 part { name: "inputfield_rect";
1721 description { state: "default" 0.0;
1725 to_x: "left_padding_rect";
1730 to_x: "right_padding_rect";
1734 normal: "00_search_edit_field_bg.png";
1735 border: SEARCHBAR_INPUTFIELD_BORDER_INC;
1739 part { name: "right_btn_padding_rect";
1742 description { state: "default" 0.0;
1744 min: SEARCHBAR_RIGHT_PADDING_INC 0;
1747 rel1.relative: 1.0 0.0;
1748 rel1.to: "inputfield_rect";
1749 rel2.relative: 1.0 1.0;
1750 rel2.to: "inputfield_rect";
1752 description { state: "in" 0.0;
1753 inherit: "default" 0.0;
1754 min: SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 0;
1757 part { name: "left_icon_padding_rect";
1760 description { state: "default" 0.0;
1762 min: SEARCHBAR_LEFT_ICON_PADDING_INC 0;
1765 rel1.to: "inputfield_rect";
1768 to: "inputfield_rect";
1772 part { name: "search_icon";
1775 ignore_flags: ON_HOLD;
1776 description { state: "default" 0.0;
1777 min: SEARCHBAR_ICON_MIN_W_INC SEARCHBAR_ICON_MIN_H_INC;
1782 to_x: "left_icon_padding_rect";
1783 to_y: "inputfield_rect";
1787 to_x: "left_icon_padding_rect";
1788 to_y: "inputfield_rect";
1790 image.normal: "00_search_icon.png";
1793 part { name: "left_padding_search_textfield";
1796 description { state: "default" 0.0;
1798 min: SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 0;
1803 to_x: "search_icon";
1804 to_y: "inputfield_rect";
1808 to_x: "search_icon";
1809 to_y: "inputfield_rect";
1813 part { name: "right_padding_search_textfield";
1816 description { state: "default" 0.0;
1818 min: SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 0;
1823 to: "inputfield_rect";
1827 to: "inputfield_rect";
1831 part { name: "search_textfield";
1835 ignore_flags: ON_HOLD;
1836 description { state: "default" 0.0;
1838 min: 0 SEARCHBAR_SEARCH_TEXTFIELD_H_INC;
1843 to: "left_padding_search_textfield";
1847 to: "right_padding_search_textfield";
1851 part { name: "button_cancel";
1855 description { state: "default" 0.0;
1857 min: SEARCHBAR_CANCEL_BUTTON_W_INC 0;
1859 state: "default" 0.0;
1862 to_x: "right_btn_padding_rect";
1863 to_y: "top_padding_rect";
1867 to_x: "right_btn_padding_rect";
1868 to_y: "bottom_padding_rect";
1872 part { name: "top1";
1875 ignore_flags: ON_HOLD;
1876 description { state: "default" 0.0;
1878 min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
1882 to: "search_textfield";
1886 to: "search_textfield";
1890 description { state: "elm.text.show" 0.0;
1891 inherit: "default" 0.0;
1892 min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
1895 part { name: "top2";
1898 ignore_flags: ON_HOLD;
1899 description { state: "default" 0.0;
1901 min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
1905 to: "search_textfield";
1909 to: "search_textfield";
1914 part { name: "left1";
1917 ignore_flags: ON_HOLD;
1918 description { state: "default" 0.0;
1920 min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
1925 to: "search_textfield";
1929 to: "search_textfield";
1933 part { name: "left2";
1936 ignore_flags: ON_HOLD;
1937 description { state: "default" 0.0;
1939 min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
1944 to: "search_textfield";
1948 to: "search_textfield";
1952 part { name: "right1";
1955 ignore_flags: ON_HOLD;
1956 description { state: "default" 0.0;
1958 min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
1963 to: "search_textfield";
1965 rel2.to: "search_textfield";
1968 part { name: "right2";
1971 ignore_flags: ON_HOLD;
1972 description { state: "default" 0.0;
1974 min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
1979 to: "search_textfield";
1981 rel2.to: "search_textfield";
1984 part { name: "bottom1";
1987 ignore_flags: ON_HOLD;
1988 description { state: "default" 0.0;
1990 min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
1995 to: "search_textfield";
1997 rel2.to: "search_textfield";
1999 description { state: "elm.text.show" 0.0;
2000 inherit: "default" 0.0;
2001 min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
2004 part { name: "bottom2";
2007 ignore_flags: ON_HOLD;
2008 description { state: "default" 0.0;
2010 min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
2014 to: "search_textfield";
2016 rel2.to: "search_textfield";
2019 description { state: "elm.text.show" 0.0;
2020 inherit: "default" 0.0;
2021 min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
2024 part { name: "bottom3";
2027 ignore_flags: ON_HOLD;
2028 description { state: "default" 0.0;
2030 min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
2034 to: "search_textfield";
2036 rel2.to: "search_textfield";
2039 description { state: "elm.text.show" 0.0;
2040 inherit: "default" 0.0;
2041 min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
2044 part { name: "elm.text";
2047 ignore_flags: ON_HOLD;
2048 description { state: "default" 0.0;
2063 color: EDITFIELD_TITLE_COLOR_INC;
2065 font: "Tizen:style=Medium";
2066 size: EDITFIELD_TITLE_SIZE_INC;
2069 text_class: "tizen";
2072 description { state: "elm.text.show" 0.0;
2073 inherit: "default" 0.0;
2077 part { name: "elm.guidetext";
2080 ignore_flags: ON_HOLD;
2081 description { state: "default" 0.0;
2084 rel1.to: "elm.swallow.content";
2085 rel2.to: "elm.swallow.content";
2086 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
2088 font: "Tizen:style=Roman";
2089 size: ENTRY_TEXT_SIZE_INC;
2092 text_class: "tizen";
2095 description { state: "hidden" 0.0;
2096 inherit: "default" 0.0;
2101 name: "elm.swallow.content";
2104 ignore_flags: ON_HOLD;
2105 description { state: "default" 0.0;
2120 part { name: "eraser_image";
2122 description { state: "default" 0.0;
2124 min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
2136 description { state: "elm.eraser.show" 0.0;
2137 inherit: "default" 0.0;
2140 normal: "00_EditField_clear.png";
2141 border: 10 10 10 10;
2146 state: "elm.eraser.pressed" 0.0;
2147 inherit: "default" 0.0;
2150 normal: "00_EditField_clear_press.png";
2156 part { name: "eraser";
2160 description { state: "default" 0.0;
2162 min: EDITFIELD_SEARCHBAR_ERASER_EVENT_MINW_INC EDITFIELD_SEARCHBAR_ERASER_EVENT_MINH_INC;
2175 description { state: "elm.eraser.show" 0.0;
2176 inherit: "default" 0.0;
2183 name: "guidetext_show";
2184 signal: "elm,state,guidetext,show";
2186 action: STATE_SET "default" 0.0;
2187 target: "elm.guidetext";
2190 name: "guidetext_hide";
2191 signal: "elm,state,guidetext,hide";
2193 action: STATE_SET "hidden" 0.0;
2194 target: "elm.guidetext";
2197 name: "eraser_show";
2198 signal: "elm,state,eraser,show";
2200 action: STATE_SET "elm.eraser.show" 0.0;
2201 target: "eraser_image";
2205 name: "eraser_hide";
2206 signal: "elm,state,eraser,hide";
2208 action: STATE_SET "default" 0.0;
2209 target: "eraser_image";
2214 signal: "elm,state,title,show";
2216 action: STATE_SET "elm.text.show" 0.0;
2225 signal: "elm,state,title,hide";
2227 action: STATE_SET "default" 0.0;
2235 name: "eraser_clicked";
2236 signal: "mouse,clicked,1";
2238 action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
2242 signal: "mouse,clicked,1";
2243 source: "search_textfield";
2244 action: SIGNAL_EMIT "elm,bg,clicked" "elm";
2246 program { name: "cancel_in";
2247 signal: "cancel,in";
2249 action: STATE_SET "in" 0.0;
2250 target: "right_padding_rect";
2251 target: "right_btn_padding_rect";
2252 transition: LINEAR 0.3;
2254 program { name: "cancel_out";
2255 signal: "cancel,out";
2257 action: STATE_SET "default" 0.0;
2258 target: "right_padding_rect";
2259 target: "right_btn_padding_rect";
2260 transition: LINEAR 0.3;
2262 program { name: "cancel_show";
2263 signal: "cancel,show";
2265 action: STATE_SET "in" 0.0;
2266 target: "right_padding_rect";
2267 target: "right_btn_padding_rect";
2269 program { name: "cancel_hide";
2270 signal: "cancel,hide";
2272 action: STATE_SET "default" 0.0;
2273 target: "right_padding_rect";
2274 target: "right_btn_padding_rect";
2276 program { name: "mouse_click";
2277 signal: "mouse,clicked,1";
2278 source: "search_icon";
2279 action: SIGNAL_EMIT "elm,action,click" "";
2282 name: "eraser_pressed";
2283 signal: "mouse,down,1";
2285 action: STATE_SET "elm.eraser.pressed" 0.0;
2286 target: "eraser_image";
2289 name: "eraser_unpressed";
2290 signal: "mouse,up,1";
2292 action: STATE_SET "elm.eraser.show" 0.0;
2293 target: "eraser_image";
2299 name: "elm/layout/nocontents/full";
2300 alias: "elm/nocontents/base/full";
2301 alias: "elm/nocontents/base/default";
2303 style { name: "nocontent_style";
2304 base: "font=Tizen:style=Regular font_size="NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC" align=center color=#ffffff wrap=mixed ellipsis=1.0 text_class=tizen";
2306 tag: "hilight" "+ font=Tizen:style=Bold";
2307 tag: "b" "+ font=Tizen:style=Bold";
2312 image: "00_Nocontents_picture.png" COMP;
2318 description { state: "default" 0.0;
2319 color: NOCONTENT_BG_COLOR_INC;
2322 part { name: "image_bg";
2325 description { state: "default" 0.0;
2326 rel1.to: "nocontents.image";
2327 rel2.to: "nocontents.image";
2328 color: NOCONTENT_IMAGE_BG_COLOR_INC;
2331 part { name: "nocontents.image";
2332 description { state: "default" 0.0;
2334 min: NOCONTENT_IMAGE_WIDTH_HEIGHT_INC;
2344 normal: "00_Nocontents_picture.png";
2347 aspect_preference: BOTH;
2350 part { name: "middle.padding";
2353 description { state: "default" 0.0;
2355 min: 0 NOCONTENT_MIDDLE_PADDING_INC;
2360 to: "nocontents.image";
2364 to: "nocontents.image";
2368 part { name: "elm.text";
2371 description { state: "default" 0.0;
2372 min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
2377 to_y: "middle.padding";
2382 to_y: "middle.padding";
2384 color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
2386 style: "nocontent_style";
2397 name: "elm/layout/nocontents/multimedia";
2398 alias: "elm/nocontents/base/multimedia";
2399 inherit: "elm/layout/nocontents/full";
2401 image: "00_Nocontents_multimedia.png" COMP;
2404 part { name: "nocontents.image";
2405 description { state: "default" 0.0;
2407 normal: "00_Nocontents_multimedia.png";
2415 name: "elm/layout/nocontents/text";
2416 alias: "elm/nocontents/base/text";
2417 inherit: "elm/layout/nocontents/full";
2419 image: "00_Nocontents_text.png" COMP;
2422 part { name: "nocontents.image";
2423 description { state: "default" 0.0;
2425 normal: "00_Nocontents_text.png";
2433 name: "elm/layout/nocontents/unnamed";
2434 alias: "elm/nocontents/base/unnamed";
2435 inherit: "elm/layout/nocontents/full";
2437 image: "00_Nocontents_unnamed.png" COMP;
2440 part { name: "nocontents.image";
2441 description { state: "default" 0.0;
2443 normal: "00_Nocontents_unnamed.png";
2451 name: "elm/layout/nocontents/devices";
2452 alias: "elm/nocontents/base/devices";
2453 inherit: "elm/layout/nocontents/full";
2455 image: "00_Nocontents_devices.png" COMP;
2458 part { name: "nocontents.image";
2459 description { state: "default" 0.0;
2461 normal: "00_Nocontents_devices.png";
2469 name: "elm/layout/nocontents/search";
2470 alias: "elm/nocontents/base/search";
2475 description { state: "default" 0.0;
2486 part { name: "top_padding";
2490 description { state: "default" 0.0;
2491 min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
2504 part { name: "elm.text";
2508 description { state: "default" 0.0;
2521 color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
2523 font: "Tizen:style=Roman";
2527 text_class: "tizen";
2531 part { name: "text_bottom_padding";
2535 description { state: "default" 0.0;
2536 min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
2550 part { name: "custom";
2554 description { state: "default" 0.0;
2561 to:"text_bottom_padding";
2565 to:"text_bottom_padding";