Flora license update
[apps/home/smartsearch.git] / data / groups / search_result.edc
1 /*
2  * Copyright 2012-2013 Samsung Electronics Co., Ltd/
3  *
4  * Licensed under the Flora License, Version 1.1 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://floralicense.org/license/
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18
19
20
21 group {
22         name: "smartsearch/search_result";
23         parts {
24                 part {
25                         name: "bg";
26                         mouse_events: 0;
27                         type: RECT;
28                         scale: 1;
29                         description {
30                         state: "default" 0.0;
31                         visible: 1;
32                         rel1 { relative: 0.0 0.0;}
33                         rel2 { relative: 1.0 1.0;}
34                         color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
35                         }
36                 }
37                 part {
38                     name: "searchbar_area_category_pad_left";
39             type: RECT;
40             mouse_events: 0;
41             scale: 1;
42             description {
43                 state: "default" 0.0;
44                 visible: 1;
45                         min: 26 0;
46                         fixed: 1 0;
47                         align: 0.0 0.5;
48                 rel1 { relative: 0.0 0.0; to: "bg";}
49                         rel2 { relative: 0.0 1.0; to: "bg";}
50                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
51             }
52         }
53
54         part {
55                     name: "searchbar_area_category_top";
56             type: RECT;
57                     mouse_events: 1;
58             scale: 1;
59             description {
60                 state: "default" 0.0;
61                 visible: 1;
62                         min: 74 16;
63                         fixed: 1 1;
64                 align: 0.0 0.0;
65                         rel1 { relative: 1.0 0.0; to: "searchbar_area_category_pad_left";}
66                         rel2 { relative: 1.0 0.0; to: "searchbar_area_category_pad_left";}
67                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
68             }
69         }
70
71         part {
72                     name: "searchbar_area_category_bottom";
73             type: RECT;
74                     mouse_events: 1;
75             scale: 1;
76             description {
77                 state: "default" 0.0;
78                 visible: 1;
79                         min: 74 16;
80                         fixed: 1 1;
81                         align: 0.0 1.0;
82                         rel1 { relative: 1.0 1.0; to: "searchbar_area_category_pad_left";}
83                         rel2 { relative: 1.0 1.0; to: "searchbar_area_category_pad_left";}
84                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
85             }
86         }
87
88         part {
89                     name: "searchbar_area_category";
90                         type: SWALLOW;
91                         mouse_events: 1;
92                         scale: 1;
93                         description {
94                                 state: "default" 0.0;
95                         visible: 1;
96                         min: 74 74;
97                         max: 74 74;
98                         fixed: 1 1;
99                                 align: 0.0 0.0;
100                                 rel1 { relative: 1.0 1.0;
101                                 to_x: "searchbar_area_category_pad_left";
102                                         to_y: "searchbar_area_category_top";}
103                         rel2 { relative: 1.0 0.0;
104                                         to_x: "searchbar_area_category_pad_left";
105                                         to_y: "searchbar_area_category_bottom";}
106             }
107         }
108
109         part {
110                                 name: "searchbar_area_entry";
111             type: SWALLOW;
112             mouse_events: 1;
113             scale: 1;
114             description {
115                 state: "default" 0.0;
116                                         min: 620 107;
117                                         max: 99999 107;
118                         align: 0.0 0.0;
119                                         rel1 { relative: 1.0 0.0;
120                                                         to_x: "searchbar_area_category";
121                                                         to_y: "bg";
122                                                         }
123                                         rel2 { relative: 1.0 1.0;
124                                                         to_x: "bg";
125                                                         to_y: "bg";}
126             }
127         }
128
129         part {
130             name: "result_bg";
131             type: RECT;
132             mouse_events: 1;
133             scale: 1;
134             description {
135                 state: "default" 0.0;
136                 visible: 1;
137                 min: 0 0;
138                 fixed: 0 1;
139                 rel1 { relative: 0.0 1.0;
140                                 to_x: "bg";
141                                 to_y: "searchbar_area_entry";}
142                 rel2 { relative: 1.0 1.0;
143                                 to_x: "bg";
144                                 to_y: "bg";}
145                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
146             }
147         }
148
149                 part {
150                         name: "list";
151                         type: SWALLOW;
152                         mouse_events: 1;
153                         scale: 1;
154                         description {
155                                 state: "default" 0.0;
156                                 //min: 720 1024;
157                                 align: 0.0 0.0;
158                                 rel1 { relative: 0.0 0.0; to: "result_bg"; }
159                                 rel2 { relative: 1.0 1.0; to: "result_bg"; }
160                         }
161                 }
162                 part {
163                         name: "list_noresult";
164                         type: SWALLOW;
165                         mouse_events: 1;
166                         scale: 1;
167                         description {
168                                 state: "default" 0.0;
169                                 //min: 720 1024;
170                                 align: 0.0 0.0;
171                                 rel1 { relative: 0.0 0.0; to: "result_bg"; }
172                                 rel2 { relative: 1.0 1.0; to: "result_bg"; }
173                         }
174                 }
175         } //end parts
176 } //end group
177