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";
1149 name: "touch_sound" AS_IS;
1150 source: "S_Touch_30ms.wav";
1154 group { name: "elm/layout/searchbar/default";
1156 image: "00_search_edit_field_bg.png" COMP;
1159 part { name: "inputfield_base";
1162 description { state: "default" 0.0;
1166 part { name: "top_left_padding";
1171 state: "default" 0.0;
1172 min: SEARCHBAR_LEFT_PADDING_INC SEARCHBAR_TOP_PADDING_INC;
1175 rel1 { relative: 0.0 0.0; to: "inputfield_base"; }
1176 rel2 { relative: 0.0 0.0; to: "inputfield_base"; }
1179 part { name: "bottom_right_padding";
1184 state: "default" 0.0;
1185 min: SEARCHBAR_RIGHT_PADDING_INC SEARCHBAR_BOTTOM_PADDING_INC;
1188 rel1 { relative: 1.0 1.0; to: "inputfield_base"; }
1189 rel2 { relative: 1.0 1.0; to: "inputfield_base"; }
1192 part { name: "inputfield_rect";
1195 description { state: "default" 0.0;
1196 min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC;
1198 rel1 { relative: 1.0 1.0; to: "top_left_padding"; }
1199 rel2 { relative: 0.0 0.0; to: "bottom_right_padding"; }
1203 name: "elm.swallow.content";
1206 ignore_flags: ON_HOLD;
1207 description { state: "default" 0.0;
1211 to: "inputfield_rect";
1215 to: "inputfield_rect";
1224 signal: "mouse,clicked,1";
1225 source: "search_textfield";
1226 action: SIGNAL_EMIT "elm,bg,clicked" "elm";
1230 signal: "mouse,clicked,1";
1232 action: PLAY_SAMPLE "touch_sound" 1.0;
1237 group { name: "elm/layout/searchbar/cancel_button";
1239 image: "00_search_edit_field_bg.png" COMP;
1240 image: "00_search_edit_field_bg_focus.png" COMP;
1243 part { name: "top_padding_rect";
1246 description { state: "default" 0.0;
1247 min: 0 SEARCHBAR_TOP_PADDING_INC;
1250 rel2.relative: 1.0 0.0;
1253 part { name: "bottom_padding_rect";
1256 description { state: "default" 0.0;
1257 min: 0 SEARCHBAR_BOTTOM_PADDING_INC;
1260 rel1.relative: 0.0 1.0;
1263 part { name: "base_bg";
1266 description { state: "default" 0.0;
1267 min: 0 SEARCHBAR_HEIGHT_INC;
1272 to: "top_padding_rect";
1276 to: "bottom_padding_rect";
1280 part { name: "left_padding_rect";
1283 description { state: "default" 0.0;
1284 min: SEARCHBAR_LEFT_PADDING_INC 0;
1287 rel2.relative: 0.0 1.0;
1290 part { name: "right_padding_rect";
1293 description { state: "default" 0.0;
1294 min: SEARCHBAR_RIGHT_PADDING_INC 0;
1297 rel1.relative: 1.0 0.0;
1299 description { state: "in" 0.0;
1300 inherit: "default" 0.0;
1301 min: SEARCHBAR_CANCEL_BUTTON_WITH_DOUBLE_PADDING_W_INC 0;
1304 part { name: "inputfield_rect";
1307 description { state: "default" 0.0;
1309 min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC;
1312 to_x: "left_padding_rect";
1317 to_x: "right_padding_rect";
1322 part { name: "right_btn_padding_rect";
1325 description { state: "default" 0.0;
1326 min: SEARCHBAR_RIGHT_PADDING_INC 0;
1329 rel1.relative: 1.0 0.0;
1330 rel1.to: "inputfield_rect";
1331 rel2.relative: 1.0 1.0;
1332 rel2.to: "inputfield_rect";
1334 description { state: "in" 0.0;
1335 inherit: "default" 0.0;
1336 min: SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 0;
1339 part { name: "button_cancel";
1343 description { state: "default" 0.0;
1345 min: SEARCHBAR_CANCEL_BUTTON_W_INC 0;
1347 state: "default" 0.0;
1350 to_x: "right_btn_padding_rect";
1351 to_y: "top_padding_rect";
1355 to_x: "right_btn_padding_rect";
1356 to_y: "bottom_padding_rect";
1361 name: "elm.swallow.content";
1364 ignore_flags: ON_HOLD;
1365 description { state: "default" 0.0;
1369 to: "inputfield_rect";
1373 to: "inputfield_rect";
1382 signal: "mouse,clicked,1";
1384 action: PLAY_SAMPLE "touch_sound" 1.0;
1388 signal: "mouse,clicked,1";
1389 source: "search_textfield";
1390 action: SIGNAL_EMIT "elm,bg,clicked" "elm";
1392 program { name: "cancel_in";
1393 signal: "cancel,in";
1395 action: STATE_SET "in" 0.0;
1396 target: "right_padding_rect";
1397 target: "right_btn_padding_rect";
1398 transition: LINEAR 0.3;
1400 program { name: "cancel_out";
1401 signal: "cancel,out";
1403 action: STATE_SET "default" 0.0;
1404 target: "right_padding_rect";
1405 target: "right_btn_padding_rect";
1406 transition: LINEAR 0.3;
1408 program { name: "cancel_show";
1409 signal: "cancel,show";
1411 action: STATE_SET "in" 0.0;
1412 target: "right_padding_rect";
1413 target: "right_btn_padding_rect";
1415 program { name: "cancel_hide";
1416 signal: "cancel,hide";
1418 action: STATE_SET "default" 0.0;
1419 target: "right_padding_rect";
1420 target: "right_btn_padding_rect";
1426 name: "elm/layout/nocontents/full";
1427 alias: "elm/nocontents/base/full";
1428 alias: "elm/nocontents/base/default";
1430 style { name: "nocontent_style";
1431 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";
1433 tag: "hilight" "+ font=Tizen:style=Bold";
1434 tag: "b" "+ font=Tizen:style=Bold";
1439 image: "00_nocontents_picture.png" COMP;
1445 description { state: "default" 0.0;
1446 color: NOCONTENT_BG_COLOR_INC;
1453 part { name: "nocontents.image";
1455 description { state: "default" 0.0;
1457 min: NOCONTENT_IMAGE_WIDTH_HEIGHT_INC;
1467 normal: "00_nocontents_picture.png";
1469 color: NOCONTENT_IMAGE_COLOR_INC;
1471 aspect_preference: BOTH;
1474 part { name: "middle.padding";
1477 description { state: "default" 0.0;
1479 min: 0 NOCONTENT_MIDDLE_PADDING_INC;
1484 to: "nocontents.image";
1488 to: "nocontents.image";
1492 part { name: "elm.text";
1495 description { state: "default" 0.0;
1496 min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
1497 max: 9999 NO_CONTENT_TEXT_STYLE_BG_HEIGHT_INC;
1502 to_y: "middle.padding";
1507 to_y: "middle.padding";
1509 color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
1511 style: "nocontent_style";
1517 part { name: "pad_b";
1521 description { state: "default" 0.0;
1526 rel1.relative: 0.0 1.0;
1533 name: "elm/layout/nocontents/multimedia";
1534 alias: "elm/nocontents/base/multimedia";
1535 inherit: "elm/layout/nocontents/full";
1537 image: "00_nocontents_multimedia.png" COMP;
1540 part { name: "nocontents.image";
1541 description { state: "default" 0.0;
1543 normal: "00_nocontents_multimedia.png";
1551 name: "elm/layout/nocontents/text";
1552 alias: "elm/nocontents/base/text";
1553 inherit: "elm/layout/nocontents/full";
1555 image: "00_nocontents_text.png" COMP;
1558 part { name: "nocontents.image";
1559 description { state: "default" 0.0;
1561 normal: "00_nocontents_text.png";
1569 name: "elm/layout/nocontents/unnamed";
1570 alias: "elm/nocontents/base/unnamed";
1571 inherit: "elm/layout/nocontents/full";
1573 image: "00_nocontents_unnamed.png" COMP;
1576 part { name: "nocontents.image";
1577 description { state: "default" 0.0;
1579 normal: "00_nocontents_unnamed.png";
1587 name: "elm/layout/nocontents/devices";
1588 alias: "elm/nocontents/base/devices";
1589 inherit: "elm/layout/nocontents/full";
1591 image: "00_nocontents_devices.png" COMP;
1594 part { name: "nocontents.image";
1595 description { state: "default" 0.0;
1597 normal: "00_nocontents_devices.png";
1605 name: "elm/layout/nocontents/search";
1606 alias: "elm/nocontents/base/search";
1611 description { state: "default" 0.0;
1622 part { name: "top_padding";
1626 description { state: "default" 0.0;
1627 min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
1640 part { name: "elm.text";
1644 description { state: "default" 0.0;
1657 color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
1659 font: "Tizen:style=Roman";
1663 text_class: "tizen";
1667 part { name: "text_bottom_padding";
1671 description { state: "default" 0.0;
1672 min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
1686 part { name: "custom";
1690 description { state: "default" 0.0;
1697 to:"text_bottom_padding";
1701 to:"text_bottom_padding";