/* * Copyright 2012-2013 Samsung Electronics Co., Ltd/ * * Licensed under the Flora License, Version 1.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://floralicense.org/license/ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ group { name: "smartsearch/search_result"; parts { part { name: "bg"; mouse_events: 0; type: RECT; scale: 1; description { state: "default" 0.0; visible: 1; rel1 { relative: 0.0 0.0;} rel2 { relative: 1.0 1.0;} color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; } } part { name: "searchbar_area_category_pad_left"; type: RECT; mouse_events: 0; scale: 1; description { state: "default" 0.0; visible: 1; min: 26 0; fixed: 1 0; align: 0.0 0.5; rel1 { relative: 0.0 0.0; to: "bg";} rel2 { relative: 0.0 1.0; to: "bg";} color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; } } part { name: "searchbar_area_category_top"; type: RECT; mouse_events: 1; scale: 1; description { state: "default" 0.0; visible: 1; min: 74 16; fixed: 1 1; align: 0.0 0.0; rel1 { relative: 1.0 0.0; to: "searchbar_area_category_pad_left";} rel2 { relative: 1.0 0.0; to: "searchbar_area_category_pad_left";} color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; } } part { name: "searchbar_area_category_bottom"; type: RECT; mouse_events: 1; scale: 1; description { state: "default" 0.0; visible: 1; min: 74 16; fixed: 1 1; align: 0.0 1.0; rel1 { relative: 1.0 1.0; to: "searchbar_area_category_pad_left";} rel2 { relative: 1.0 1.0; to: "searchbar_area_category_pad_left";} color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; } } part { name: "searchbar_area_category"; type: SWALLOW; mouse_events: 1; scale: 1; description { state: "default" 0.0; visible: 1; min: 74 74; max: 74 74; fixed: 1 1; align: 0.0 0.0; rel1 { relative: 1.0 1.0; to_x: "searchbar_area_category_pad_left"; to_y: "searchbar_area_category_top";} rel2 { relative: 1.0 0.0; to_x: "searchbar_area_category_pad_left"; to_y: "searchbar_area_category_bottom";} } } part { name: "searchbar_area_entry"; type: SWALLOW; mouse_events: 1; scale: 1; description { state: "default" 0.0; min: 620 107; max: 99999 107; align: 0.0 0.0; rel1 { relative: 1.0 0.0; to_x: "searchbar_area_category"; to_y: "bg"; } rel2 { relative: 1.0 1.0; to_x: "bg"; to_y: "bg";} } } part { name: "result_bg"; type: RECT; mouse_events: 1; scale: 1; description { state: "default" 0.0; visible: 1; min: 0 0; fixed: 0 1; rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "searchbar_area_entry";} rel2 { relative: 1.0 1.0; to_x: "bg"; to_y: "bg";} color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; } } part { name: "list"; type: SWALLOW; mouse_events: 1; scale: 1; description { state: "default" 0.0; //min: 720 1024; align: 0.0 0.0; rel1 { relative: 0.0 0.0; to: "result_bg"; } rel2 { relative: 1.0 1.0; to: "result_bg"; } } } part { name: "list_noresult"; type: SWALLOW; mouse_events: 1; scale: 1; description { state: "default" 0.0; //min: 720 1024; align: 0.0 0.0; rel1 { relative: 0.0 0.0; to: "result_bg"; } rel2 { relative: 1.0 1.0; to: "result_bg"; } } } } //end parts } //end group