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;
1156 min: 0 SEARCHBAR_BASE_HEIGHT_INC;
1160 part { name: "top_left_padding";
1165 state: "default" 0.0;
1166 min: SEARCHBAR_LEFT_PADDING_INC SEARCHBAR_TOP_PADDING_INC;
1169 rel1 { relative: 0.0 0.0; to: "inputfield_base"; }
1170 rel2 { relative: 0.0 0.0; to: "inputfield_base"; }
1173 part { name: "bottom_right_padding";
1178 state: "default" 0.0;
1179 min: SEARCHBAR_RIGHT_PADDING_INC SEARCHBAR_BOTTOM_PADDING_INC;
1182 rel1 { relative: 1.0 1.0; to: "inputfield_base"; }
1183 rel2 { relative: 1.0 1.0; to: "inputfield_base"; }
1186 part { name: "inputfield_rect";
1189 description { state: "default" 0.0;
1190 min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC;
1192 rel1 { relative: 1.0 1.0; to: "top_left_padding"; }
1193 rel2 { relative: 0.0 0.0; to: "bottom_right_padding"; }
1198 name: "elm.swallow.content";
1201 ignore_flags: ON_HOLD;
1202 description { state: "default" 0.0;
1203 min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC;
1206 to: "inputfield_rect";
1210 to: "inputfield_rect";
1219 signal: "mouse,clicked,1";
1220 source: "inputfield_rect";
1221 action: SIGNAL_EMIT "elm,bg,clicked" "elm";
1225 signal: "mouse,clicked,1";
1227 action: PLAY_SAMPLE "touch_sound" 1.0;
1232 group { name: "elm/layout/searchbar/cancel_button";
1234 part { name: "inputfield_base";
1237 description { state: "default" 0.0;
1238 min: 0 SEARCHBAR_BASE_HEIGHT_INC;
1242 part { name: "top_padding_rect";
1245 description { state: "default" 0.0;
1246 min: 0 SEARCHBAR_TOP_PADDING_INC;
1249 rel1.to: "inputfield_base";
1250 rel2.to: "inputfield_base";
1251 rel2.relative: 1.0 0.0;
1254 part { name: "bottom_padding_rect";
1257 description { state: "default" 0.0;
1258 min: 0 SEARCHBAR_BOTTOM_PADDING_INC;
1261 rel1.to: "inputfield_base";
1262 rel1.relative: 0.0 1.0;
1263 rel2.to: "inputfield_base";
1266 part { name: "base_bg";
1269 description { state: "default" 0.0;
1270 min: 0 SEARCHBAR_HEIGHT_INC;
1275 to: "top_padding_rect";
1279 to: "bottom_padding_rect";
1283 part { name: "left_padding_rect";
1286 description { state: "default" 0.0;
1287 min: SEARCHBAR_LEFT_PADDING_INC 0;
1290 rel1.to: "inputfield_base";
1291 rel2.to: "inputfield_base";
1292 rel2.relative: 0.0 1.0;
1295 part { name: "right_padding_rect";
1298 description { state: "default" 0.0;
1299 min: SEARCHBAR_RIGHT_PADDING_INC 0;
1302 rel1.to: "inputfield_base";
1303 rel1.relative: 1.0 0.0;
1304 rel2.to: "inputfield_base";
1307 part { name: "inputfield_rect";
1310 description { state: "default" 0.0;
1312 min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC;
1315 to_x: "left_padding_rect";
1320 to_x: "right_btn_padding_rect";
1326 part { name: "right_btn_padding_rect";
1329 description { state: "default" 0.0;
1333 rel1.relative: 0.0 0.0;
1334 rel1.to: "right_padding_rect";
1335 rel2.relative: 0.0 1.0;
1336 rel2.to: "right_padding_rect";
1338 description { state: "in" 0.0;
1339 inherit: "default" 0.0;
1340 min: SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 0;
1341 rel1.to: "button_cancel";
1342 rel2.to: "button_cancel";
1345 part { name: "button_cancel";
1349 description { state: "default" 0.0;
1351 min: SEARCHBAR_CANCEL_BUTTON_W_INC 0;
1353 state: "default" 0.0;
1356 to_x: "right_padding_rect";
1357 to_y: "top_padding_rect";
1361 to_x: "right_padding_rect";
1362 to_y: "bottom_padding_rect";
1367 name: "elm.swallow.content";
1370 ignore_flags: ON_HOLD;
1371 description { state: "default" 0.0;
1372 min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC;
1375 to: "inputfield_rect";
1379 to: "inputfield_rect";
1388 signal: "mouse,clicked,1";
1390 action: PLAY_SAMPLE "touch_sound" 1.0;
1394 signal: "mouse,clicked,1";
1395 source: "inputfield_rect";
1396 action: SIGNAL_EMIT "elm,bg,clicked" "elm";
1398 program { name: "cancel_in";
1399 signal: "cancel,in";
1401 action: STATE_SET "in" 0.0;
1402 target: "right_btn_padding_rect";
1403 transition: LINEAR 0.3;
1405 program { name: "cancel_out";
1406 signal: "cancel,out";
1408 action: STATE_SET "default" 0.0;
1409 target: "right_btn_padding_rect";
1410 transition: LINEAR 0.3;
1412 program { name: "cancel_show";
1413 signal: "cancel,show";
1415 action: STATE_SET "in" 0.0;
1416 target: "right_btn_padding_rect";
1418 program { name: "cancel_hide";
1419 signal: "cancel,hide";
1421 action: STATE_SET "default" 0.0;
1422 target: "right_btn_padding_rect";
1428 name: "elm/layout/nocontents/full";
1429 alias: "elm/nocontents/base/full";
1430 alias: "elm/nocontents/base/default";
1432 style { name: "nocontent_style";
1433 base: "font=Tizen:style=Bold font_size="NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC" align=center color="NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC" wrap=mixed ellipsis=1.0 text_class=tizen";
1435 tag: "hilight" "+ font=Tizen:style=Bold";
1436 tag: "b" "+ font=Tizen:style=Bold";
1439 style { name: "nocontent_help_text";
1440 base: "font=Tizen:style=Regular font_size="NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC" align=left color="NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC" wrap=mixed ellipsis=1.0 text_class=tizen";
1442 tag: "hilight" "+ font=Tizen:style=Regular";
1443 tag: "b" "+ font=Tizen:style=Regular";
1448 image: "00_nocontents_picture.png" COMP;
1454 description { state: "default" 0.0;
1457 min: NOCONTENT_BASE_MIN_WIDTH_HEIGHT_INC;
1466 part { name: "nocontents.image";
1467 description { state: "default" 0.0;
1469 min: NOCONTENT_IMAGE_WIDTH_HEIGHT_INC;
1480 normal: "00_nocontents_picture.png";
1482 color: NOCONTENT_IMAGE_COLOR_INC;
1484 aspect_preference: BOTH;
1487 part { name: "elm.text";
1489 description { state: "default" 0.0;
1490 min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
1502 style: "nocontent_style";
1508 part { name: "padding_after_text";
1511 description { state: "default" 0.0;
1513 min: NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC;
1525 description { state: "landscape" 0.0;
1526 inherit: "default" 0.0;
1527 min: NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC;
1530 part { name: "elm.help.text";
1532 description { state: "default" 0.0;
1534 min: NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC;
1538 to: "padding_after_text";
1542 to: "padding_after_text";
1545 style: "nocontent_help_text";
1551 description { state: "landscape" 0.0;
1552 inherit: "default" 0.0;
1553 min: NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC;
1556 part { name: "pad_after_help_text";
1559 description { state: "default" 0.0;
1562 min: NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC;
1566 to: "elm.help.text";
1570 to: "elm.help.text";
1573 description { state: "landscape" 0.0;
1574 inherit: "default" 0.0;
1575 min: NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC;
1578 part { name: "swallow_area";
1580 description { state: "default" 0.0;
1581 min: NOCONTENT_PORTRAIT_SWALLOW_AREA_MIN_INC;
1586 to: "pad_after_help_text";
1590 to: "pad_after_help_text";
1593 description { state: "landscape" 0.0;
1594 inherit: "default" 0.0;
1595 min: NOCONTENT_LANDSCAPE_SWALLOW_AREA_MIN_INC;
1600 program { name: "landscape_mode";
1602 signal: "elm,state,orient,90";
1603 action: STATE_SET "landscape" 0.0;
1604 target: "swallow_area";
1605 target: "elm.help.text";
1606 target: "padding_after_text";
1607 target: "pad_after_help_text";
1609 program { name: "landscape_mode2";
1611 signal: "elm,state,orient,270";
1612 action: STATE_SET "landscape" 0.0;
1613 target: "swallow_area";
1614 target: "elm.help.text";
1615 target: "padding_after_text";
1616 target: "pad_after_help_text";
1618 program { name: "portrait_mode";
1620 signal: "elm,state,orient,0";
1621 action: STATE_SET "default" 0.0;
1622 target: "swallow_area";
1623 target: "elm.help.text";
1624 target: "padding_after_text";
1625 target: "pad_after_help_text";
1627 program { name: "portrait_mode2";
1629 signal: "elm,state,orient,180";
1630 action: STATE_SET "default" 0.0;
1631 target: "swallow_area";
1632 target: "elm.help.text";
1633 target: "padding_after_text";
1634 target: "pad_after_help_text";
1640 name: "elm/layout/nocontents/multimedia";
1641 alias: "elm/nocontents/base/multimedia";
1642 inherit: "elm/layout/nocontents/full";
1644 image: "00_nocontents_multimedia.png" COMP;
1647 part { name: "nocontents.image";
1648 description { state: "default" 0.0;
1650 normal: "00_nocontents_multimedia.png";
1658 name: "elm/layout/nocontents/text";
1659 alias: "elm/nocontents/base/text";
1660 inherit: "elm/layout/nocontents/full";
1662 image: "00_nocontents_text.png" COMP;
1665 part { name: "nocontents.image";
1666 description { state: "default" 0.0;
1668 normal: "00_nocontents_text.png";
1676 name: "elm/layout/nocontents/unnamed";
1677 alias: "elm/nocontents/base/unnamed";
1678 inherit: "elm/layout/nocontents/full";
1680 image: "00_nocontents_unnamed.png" COMP;
1683 part { name: "nocontents.image";
1684 description { state: "default" 0.0;
1686 normal: "00_nocontents_unnamed.png";
1694 name: "elm/layout/nocontents/devices";
1695 alias: "elm/nocontents/base/devices";
1696 inherit: "elm/layout/nocontents/full";
1698 image: "00_nocontents_devices.png" COMP;
1701 part { name: "nocontents.image";
1702 description { state: "default" 0.0;
1704 normal: "00_nocontents_devices.png";
1712 name: "elm/layout/nocontents/album";
1713 alias: "elm/nocontents/base/album";
1714 inherit: "elm/layout/nocontents/full";
1716 image: "00_nocontents_album.png" COMP;
1719 part { name: "nocontents.image";
1720 description { state: "default" 0.0;
1722 normal: "00_nocontents_album.png";
1730 name: "elm/layout/nocontents/search";
1731 alias: "elm/nocontents/base/search";
1736 description { state: "default" 0.0;
1740 part { name: "elm.text";
1744 description { state: "default" 0.0;
1747 min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
1757 style: "nocontent_style";
1763 part { name: "text_bottom_padding";
1767 description { state: "default" 0.0;
1768 min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
1782 part { name: "custom";
1786 description { state: "default" 0.0;
1792 to:"text_bottom_padding";
1796 to:"text_bottom_padding";