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 /************************************************************/
490 /* elm_layout -> fundamental template style with fastscroll */
491 /************************************************************/
492 group { name: "elm/layout/application/fastscroll";
499 state: "default" 0.0;
504 name: "right.padding";
508 state: "default" 0.0;
509 rel1.relative: 1.0 0.0;
511 min: INDEX_ITEM_WIDTH_INC 0;
516 name: "elm.swallow.content";
520 state: "default" 0.0;
528 name: "elm.swallow.fastscroll";
532 state: "default" 0.0;
537 group { name: "elm/layout/editfield/default";
539 image: "00_edit_field_clear.png" COMP;
546 ignore_flags: ON_HOLD;
548 state: "default" 0.0;
549 min: 0 EDITFIELD_DEFAULT_MINH_INC;
557 ignore_flags: ON_HOLD;
559 state: "default" 0.0;
561 min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
563 rel1.relative: 0.0 0.0;
564 rel2.relative: 1.0 0.0;
572 ignore_flags: ON_HOLD;
574 state: "default" 0.0;
576 min: EDITFIELD_DEFAULT_LEFT1_INC 0;
579 rel1.relative : 0.0 0.0;
580 rel2.relative : 0.0 1.0;
587 ignore_flags: ON_HOLD;
589 state: "default" 0.0;
591 min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
594 rel1.relative : 1.0 0.0;
595 rel2.relative : 1.0 1.0;
602 ignore_flags: ON_HOLD;
604 state: "default" 0.0;
606 min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
609 rel1.relative : 1.0 0.0;
610 rel2.relative : 1.0 1.0;
617 ignore_flags: ON_HOLD;
619 state: "default" 0.0;
621 min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
624 rel1.relative: 0.0 1.0;
628 name: "elm.guidetext";
631 ignore_flags: ON_HOLD;
633 state: "default" 0.0;
636 rel1.to: "elm.swallow.content";
637 rel2.to: "elm.swallow.content";
638 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
640 font: "Tizen:style=Roman";
641 size: ENTRY_TEXT_SIZE_INC;
649 inherit: "default" 0.0;
654 name: "elm.swallow.content";
657 ignore_flags: ON_HOLD;
659 state: "default" 0.0;
675 name: "eraser_image";
677 clip_to: "eraser_image.clipper";
679 state: "default" 0.0;
681 min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
692 image.normal: "00_edit_field_clear.png";
695 state: "elm.eraser.show" 0.0;
696 inherit: "default" 0.0;
700 part { name: "eraser_image.clipper";
702 description { state: "default" 0.0;
705 description { state: "elm.eraser.show" 0.0;
706 color: EDITFIELD_ERASER_DEFAULT_COLOR_INC;
708 description { state: "elm.eraser.pressed" 0.0;
709 color: EDITFIELD_ERASER_PRESSED_COLOR_INC;
718 state: "default" 0.0;
720 min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC;
734 state: "elm.eraser.show" 0.0;
735 inherit: "default" 0.0;
742 name: "guidetext_show";
743 signal: "elm,state,guidetext,show";
745 action: STATE_SET "default" 0.0;
746 target: "elm.guidetext";
749 name: "guidetext_hide";
750 signal: "elm,state,guidetext,hide";
752 action: STATE_SET "hidden" 0.0;
753 target: "elm.guidetext";
757 signal: "elm,state,eraser,show";
759 action: STATE_SET "elm.eraser.show" 0.0;
760 target: "eraser_image";
761 target: "eraser_image.clipper";
766 signal: "elm,state,eraser,hide";
768 action: STATE_SET "default" 0.0;
769 target: "eraser_image";
770 target: "eraser_image.clipper";
774 name: "eraser_clicked";
775 signal: "mouse,clicked,1";
777 action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
780 name: "eraser_pressed";
781 signal: "mouse,down,1";
783 action: STATE_SET "elm.eraser.pressed" 0.0;
784 target: "eraser_image.clipper";
787 name: "eraser_unpressed";
788 signal: "mouse,up,1";
790 action: STATE_SET "elm.eraser.show" 0.0;
791 target: "eraser_image.clipper";
796 group { name: "elm/layout/editfield/title";
798 image: "00_edit_field_clear.png" COMP;
805 ignore_flags: ON_HOLD;
807 state: "default" 0.0;
808 min: 0 EDITFIELD_TITLE_MINH_INC;
816 ignore_flags: ON_HOLD;
818 state: "default" 0.0;
820 min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC;
822 rel1.relative: 0.0 0.0;
823 rel2.relative: 1.0 0.0;
831 ignore_flags: ON_HOLD;
833 state: "default" 0.0;
835 min: 0 EDITFIELD_DEFAULT_TOP2_INC;
837 rel1.relative: 0.0 0.0;
838 rel2.relative: 1.0 0.0;
846 ignore_flags: ON_HOLD;
848 state: "default" 0.0;
850 min: EDITFIELD_DEFAULT_LEFT1_INC 0;
853 rel1.relative : 0.0 0.0;
854 rel2.relative : 0.0 1.0;
861 ignore_flags: ON_HOLD;
863 state: "default" 0.0;
865 min: EDITFIELD_DEFAULT_LEFT2_INC 0;
868 rel1.relative : 0.0 0.0;
869 rel2.relative : 0.0 1.0;
876 ignore_flags: ON_HOLD;
878 state: "default" 0.0;
880 min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
883 rel1.relative : 1.0 0.0;
884 rel2.relative : 1.0 1.0;
891 ignore_flags: ON_HOLD;
893 state: "default" 0.0;
895 min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
898 rel1.relative : 1.0 0.0;
899 rel2.relative : 1.0 1.0;
906 ignore_flags: ON_HOLD;
908 state: "default" 0.0;
910 min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC;
913 rel1.relative: 0.0 1.0;
920 ignore_flags: ON_HOLD;
922 state: "default" 0.0;
924 min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC;
926 rel1.relative: 0.0 1.0;
934 ignore_flags: ON_HOLD;
936 state: "default" 0.0;
948 ignore_flags: ON_HOLD;
950 state: "default" 0.0;
964 color: EDITFIELD_TITLE_COLOR_INC;
966 font: "Tizen:style=Medium";
967 size: EDITFIELD_TITLE_SIZE_INC;
975 name: "elm.guidetext";
978 ignore_flags: ON_HOLD;
980 state: "default" 0.0;
983 rel1.to: "elm.swallow.content";
984 rel2.to: "elm.swallow.content";
985 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
987 font: "Tizen:style=Roman";
988 size: ENTRY_TEXT_SIZE_INC;
996 inherit: "default" 0.0;
1001 name: "elm.swallow.content";
1004 ignore_flags: ON_HOLD;
1006 state: "default" 0.0;
1022 name: "eraser_image";
1024 clip_to: "eraser_image.clipper";
1026 state: "default" 0.0;
1028 min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
1034 to_y : "eraser_base";
1039 to_y : "eraser_base";
1041 image.normal: "00_edit_field_clear.png";
1044 state: "elm.eraser.show" 0.0;
1045 inherit: "default" 0.0;
1049 part { name: "eraser_image.clipper";
1051 description { state: "default" 0.0;
1054 description { state: "elm.eraser.show" 0.0;
1055 color: EDITFIELD_ERASER_DEFAULT_COLOR_INC;
1057 description { state: "elm.eraser.pressed" 0.0;
1058 color: EDITFIELD_ERASER_PRESSED_COLOR_INC;
1067 state: "default" 0.0;
1069 min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC;
1076 to_y : "eraser_base";
1081 to_y : "eraser_base";
1085 state: "elm.eraser.show" 0.0;
1086 inherit: "default" 0.0;
1093 name: "guidetext_show";
1094 signal: "elm,state,guidetext,show";
1096 action: STATE_SET "default" 0.0;
1097 target: "elm.guidetext";
1100 name: "guidetext_hide";
1101 signal: "elm,state,guidetext,hide";
1103 action: STATE_SET "hidden" 0.0;
1104 target: "elm.guidetext";
1107 name: "eraser_show";
1108 signal: "elm,state,eraser,show";
1110 action: STATE_SET "elm.eraser.show" 0.0;
1111 target: "eraser_image";
1112 target: "eraser_image.clipper";
1116 name: "eraser_hide";
1117 signal: "elm,state,eraser,hide";
1119 action: STATE_SET "default" 0.0;
1120 target: "eraser_image";
1121 target: "eraser_image.clipper";
1125 name: "eraser_clicked";
1126 signal: "mouse,clicked,1";
1128 action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
1131 name: "eraser_pressed";
1132 signal: "mouse,down,1";
1134 action: STATE_SET "elm.eraser.pressed" 0.0;
1135 target: "eraser_image.clipper";
1138 name: "eraser_unpressed";
1139 signal: "mouse,up,1";
1141 action: STATE_SET "elm.eraser.show" 0.0;
1142 target: "eraser_image.clipper";
1147 group { name: "elm/layout/searchbar/default";
1149 image: "00_search_edit_field_bg.png" COMP;
1152 part { name: "inputfield_base";
1155 description { state: "default" 0.0;
1159 part { name: "top_left_padding";
1164 state: "default" 0.0;
1165 min: SEARCHBAR_LEFT_PADDING_INC SEARCHBAR_TOP_PADDING_INC;
1168 rel1 { relative: 0.0 0.0; to: "inputfield_base"; }
1169 rel2 { relative: 0.0 0.0; to: "inputfield_base"; }
1172 part { name: "bottom_right_padding";
1177 state: "default" 0.0;
1178 min: SEARCHBAR_RIGHT_PADDING_INC SEARCHBAR_BOTTOM_PADDING_INC;
1181 rel1 { relative: 1.0 1.0; to: "inputfield_base"; }
1182 rel2 { relative: 1.0 1.0; to: "inputfield_base"; }
1185 part { name: "inputfield_rect";
1188 description { state: "default" 0.0;
1189 min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC;
1191 rel1 { relative: 1.0 1.0; to: "top_left_padding"; }
1192 rel2 { relative: 0.0 0.0; to: "bottom_right_padding"; }
1196 name: "elm.swallow.content";
1199 ignore_flags: ON_HOLD;
1200 description { state: "default" 0.0;
1204 to: "inputfield_rect";
1208 to: "inputfield_rect";
1217 signal: "mouse,clicked,1";
1218 source: "search_textfield";
1219 action: SIGNAL_EMIT "elm,bg,clicked" "elm";
1223 signal: "mouse,clicked,1";
1225 action: PLAY_SAMPLE "touch_sound" 1.0;
1230 group { name: "elm/layout/searchbar/cancel_button";
1232 part { name: "top_padding_rect";
1235 description { state: "default" 0.0;
1236 min: 0 SEARCHBAR_TOP_PADDING_INC;
1239 rel2.relative: 1.0 0.0;
1242 part { name: "bottom_padding_rect";
1245 description { state: "default" 0.0;
1246 min: 0 SEARCHBAR_BOTTOM_PADDING_INC;
1249 rel1.relative: 0.0 1.0;
1252 part { name: "base_bg";
1255 description { state: "default" 0.0;
1256 min: 0 SEARCHBAR_HEIGHT_INC;
1261 to: "top_padding_rect";
1265 to: "bottom_padding_rect";
1269 part { name: "left_padding_rect";
1272 description { state: "default" 0.0;
1273 min: SEARCHBAR_LEFT_PADDING_INC 0;
1276 rel2.relative: 0.0 1.0;
1279 part { name: "right_padding_rect";
1282 description { state: "default" 0.0;
1283 min: SEARCHBAR_RIGHT_PADDING_INC 0;
1286 rel1.relative: 1.0 0.0;
1288 description { state: "in" 0.0;
1289 inherit: "default" 0.0;
1290 min: SEARCHBAR_CANCEL_BUTTON_WITH_DOUBLE_PADDING_W_INC 0;
1293 part { name: "inputfield_rect";
1296 description { state: "default" 0.0;
1298 min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC;
1301 to_x: "left_padding_rect";
1306 to_x: "right_padding_rect";
1311 part { name: "right_btn_padding_rect";
1314 description { state: "default" 0.0;
1315 min: SEARCHBAR_RIGHT_PADDING_INC 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";
1323 description { state: "in" 0.0;
1324 inherit: "default" 0.0;
1325 min: SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 0;
1328 part { name: "button_cancel";
1332 description { state: "default" 0.0;
1334 min: SEARCHBAR_CANCEL_BUTTON_W_INC 0;
1336 state: "default" 0.0;
1339 to_x: "right_btn_padding_rect";
1340 to_y: "top_padding_rect";
1344 to_x: "right_btn_padding_rect";
1345 to_y: "bottom_padding_rect";
1350 name: "elm.swallow.content";
1353 ignore_flags: ON_HOLD;
1354 description { state: "default" 0.0;
1358 to: "inputfield_rect";
1362 to: "inputfield_rect";
1371 signal: "mouse,clicked,1";
1373 action: PLAY_SAMPLE "touch_sound" 1.0;
1377 signal: "mouse,clicked,1";
1378 source: "search_textfield";
1379 action: SIGNAL_EMIT "elm,bg,clicked" "elm";
1381 program { name: "cancel_in";
1382 signal: "cancel,in";
1384 action: STATE_SET "in" 0.0;
1385 target: "right_padding_rect";
1386 target: "right_btn_padding_rect";
1387 transition: LINEAR 0.3;
1389 program { name: "cancel_out";
1390 signal: "cancel,out";
1392 action: STATE_SET "default" 0.0;
1393 target: "right_padding_rect";
1394 target: "right_btn_padding_rect";
1395 transition: LINEAR 0.3;
1397 program { name: "cancel_show";
1398 signal: "cancel,show";
1400 action: STATE_SET "in" 0.0;
1401 target: "right_padding_rect";
1402 target: "right_btn_padding_rect";
1404 program { name: "cancel_hide";
1405 signal: "cancel,hide";
1407 action: STATE_SET "default" 0.0;
1408 target: "right_padding_rect";
1409 target: "right_btn_padding_rect";
1415 name: "elm/layout/nocontents/full";
1416 alias: "elm/nocontents/base/full";
1417 alias: "elm/nocontents/base/default";
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";
1422 tag: "hilight" "+ font=Tizen:style=Bold";
1423 tag: "b" "+ font=Tizen:style=Bold";
1428 image: "00_nocontents_picture.png" COMP;
1434 description { state: "default" 0.0;
1435 color: NOCONTENT_BG_COLOR_INC;
1442 part { name: "nocontents.image";
1444 description { state: "default" 0.0;
1446 min: NOCONTENT_IMAGE_WIDTH_HEIGHT_INC;
1456 normal: "00_nocontents_picture.png";
1458 color: NOCONTENT_IMAGE_COLOR_INC;
1460 aspect_preference: BOTH;
1463 part { name: "middle.padding";
1466 description { state: "default" 0.0;
1468 min: 0 NOCONTENT_MIDDLE_PADDING_INC;
1473 to: "nocontents.image";
1477 to: "nocontents.image";
1481 part { name: "elm.text";
1484 description { state: "default" 0.0;
1485 min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
1486 max: 9999 NO_CONTENT_TEXT_STYLE_BG_HEIGHT_INC;
1491 to_y: "middle.padding";
1496 to_y: "middle.padding";
1498 color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
1500 style: "nocontent_style";
1506 part { name: "pad_b";
1510 description { state: "default" 0.0;
1515 rel1.relative: 0.0 1.0;
1522 name: "elm/layout/nocontents/multimedia";
1523 alias: "elm/nocontents/base/multimedia";
1524 inherit: "elm/layout/nocontents/full";
1526 image: "00_nocontents_multimedia.png" COMP;
1529 part { name: "nocontents.image";
1530 description { state: "default" 0.0;
1532 normal: "00_nocontents_multimedia.png";
1540 name: "elm/layout/nocontents/text";
1541 alias: "elm/nocontents/base/text";
1542 inherit: "elm/layout/nocontents/full";
1544 image: "00_nocontents_text.png" COMP;
1547 part { name: "nocontents.image";
1548 description { state: "default" 0.0;
1550 normal: "00_nocontents_text.png";
1558 name: "elm/layout/nocontents/unnamed";
1559 alias: "elm/nocontents/base/unnamed";
1560 inherit: "elm/layout/nocontents/full";
1562 image: "00_nocontents_unnamed.png" COMP;
1565 part { name: "nocontents.image";
1566 description { state: "default" 0.0;
1568 normal: "00_nocontents_unnamed.png";
1576 name: "elm/layout/nocontents/devices";
1577 alias: "elm/nocontents/base/devices";
1578 inherit: "elm/layout/nocontents/full";
1580 image: "00_nocontents_devices.png" COMP;
1583 part { name: "nocontents.image";
1584 description { state: "default" 0.0;
1586 normal: "00_nocontents_devices.png";
1594 name: "elm/layout/nocontents/search";
1595 alias: "elm/nocontents/base/search";
1600 description { state: "default" 0.0;
1611 part { name: "top_padding";
1615 description { state: "default" 0.0;
1616 min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
1629 part { name: "elm.text";
1633 description { state: "default" 0.0;
1646 color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
1648 font: "Tizen:style=Roman";
1652 text_class: "tizen";
1656 part { name: "text_bottom_padding";
1660 description { state: "default" 0.0;
1661 min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
1675 part { name: "custom";
1679 description { state: "default" 0.0;
1686 to:"text_bottom_padding";
1690 to:"text_bottom_padding";