apply FSL(Flora Software License)
[apps/home/smartsearch.git] / data / groups / search_result.edc
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  * 
4  * Licensed under the Flora License, Version 1.0 (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://www.tizenopensource.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 group {
21         name: "smartsearch/search_result";
22         parts {
23                 part { 
24                         name: "bg";
25                         mouse_events: 0;
26                         type: RECT;
27                         scale: 1;
28                         description { 
29                         state: "default" 0.0;
30                         visible: 1;
31                         rel1 { relative: 0.0 0.0;}
32                         rel2 { relative: 1.0 1.0;}
33                         color: 0 0 0 0;
34                         }
35                 }
36                 part {
37             name: "searchbar_pad_top";
38             type: RECT;
39             mouse_events: 0;
40             scale: 1;
41             description {
42                 state: "default" 0.0;
43                 visible: 1;
44                 min: 0 16;
45                 fixed: 0 1;
46                 align: 0.5 0.0;
47                 rel1 { relative: 0.0 0.0; to: "bg";}
48                 rel2 { relative: 1.0 0.0; to: "bg";}
49                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
50             }
51         }
52         part {
53             name: "searchbar_area";
54             type: RECT;
55             mouse_events: 0;
56             scale: 1;
57             description {
58                 state: "default" 0.0;
59                 visible: 1;
60                 min: 0 74;
61                 fixed: 0 1;
62                 align: 0.5 0.0;
63                 rel1 { relative: 0.0 1.0; to: "searchbar_pad_top";}
64                 rel2 { relative: 1.0 1.0; to: "searchbar_pad_top";}
65                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
66             }
67         }
68         part {
69             name: "searchbar_area_category_pad_left";
70             type: RECT;
71             mouse_events: 0;
72             scale: 1;
73             description {
74                 state: "default" 0.0;
75                 visible: 1;
76                 min: 16 0;
77                 fixed: 1 0;
78                 align: 0 0.5;
79                 rel1 { relative: 0.0 0.0; to: "searchbar_area";}
80                 rel2 { relative: 0.0 1.0; to: "searchbar_area";}
81                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
82             }
83         }
84         part {
85             name: "searchbar_area_category";
86             type: SWALLOW;
87             mouse_events: 1;
88             scale: 1;
89             description {
90                 state: "default" 0.0;
91                 visible: 1;
92                 min: 80 74;
93                 //max: 0 106;
94                 fixed: 1 1;
95                 align: 0.0 0.0;
96                 rel1 { relative: 1.0 0.0; to: "searchbar_area_category_pad_left";}
97                 rel2 { relative: 1.0 1.0; to: "searchbar_area_category_pad_left";}
98             }
99         }
100         part {
101             name: "searchbar_area_category_pad_right";
102             type: RECT;
103             mouse_events: 0;
104             scale: 1;
105             description {
106                 state: "default" 0.0;
107                 visible: 1;
108                 min: 16 0;
109                 fixed: 1 0;
110                 align: 0 0.5;
111                 rel1 { relative: 1.0 0.0; to: "searchbar_area_category";}
112                 rel2 { relative: 1.0 1.0; to: "searchbar_area_category";}
113                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
114             }
115         }        
116         part {
117                         name: "searchbar_area_entry";
118                         type: SWALLOW;
119                         mouse_events: 1;
120                         scale: 1;
121                         description {
122                                 state: "default" 0.0;
123                                 min: 608 72;
124                                 fixed: 1 1;
125                                 align: 0.0 0.5;
126                                 rel1 { relative: 1.0 0.0; to: "searchbar_area_category_pad_right";}
127                                 rel2 { relative: 1.0 1.0; to: "searchbar_area";}
128                         }
129                 }
130         part {
131             name: "searchbar_pad_bottom";
132             type: RECT;
133             mouse_events: 0;
134             scale: 1;
135             description {
136                 state: "default" 0.0;
137                 visible: 1;
138                 min: 0 16;
139                 fixed: 0 1;
140                 align: 0.5 0.0;
141                 rel1 { relative: 0.0 1.0; to: "searchbar_area";}
142                 rel2 { relative: 1.0 1.0; to: "searchbar_area";}
143                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
144             }
145         }        
146                 part {
147                         name: "list";
148                         type: SWALLOW;
149                         mouse_events: 1;
150                         scale: 1;
151                         description {
152                                 state: "default" 0.0;
153                                 //min: 720 1024;
154                                 align: 0.0 0.0;
155                                 rel1 { relative: 0.0 1.0; to: "searchbar_pad_bottom"; }
156                                 rel2 { relative: 1.0 1.0; to: "bg"; }
157                         }
158                 }
159                 part {
160                         name: "list_noresult";
161                         type: SWALLOW;
162                         mouse_events: 1;
163                         scale: 1;
164                         description {
165                                 state: "default" 0.0;
166                                 //min: 720 1024;
167                                 align: 0.0 0.0;
168                                 rel1 { relative: 0.0 1.0; to: "searchbar_pad_bottom"; }
169                                 rel2 { relative: 1.0 1.0; to: "bg"; }
170                         }
171                 }
172         } //end parts
173 } //end group
174