diff options
Diffstat (limited to 'lib/edc/list.edc')
-rwxr-xr-x | lib/edc/list.edc | 170 |
1 files changed, 170 insertions, 0 deletions
diff --git a/lib/edc/list.edc b/lib/edc/list.edc new file mode 100755 index 0000000..7ebc5b0 --- /dev/null +++ b/lib/edc/list.edc @@ -0,0 +1,170 @@ +/* +* Copyright 2012 Samsung Electronics Co., Ltd +* +* Licensed under the Flora License, Version 1.1 (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. +*/ + + +collections +{ + group + { + name: "search_layout_list"; + parts + { + part + { + name: "bg_search"; + type: RECT; + mouse_events: 1; + description + { + state: "default" 0.0; + color: 255 0 0 0; + } + } + part + { + name: "add_button_show_swall_search"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + color: 255 255 255 255; + align: 0.0 0.0; + min: 0 90; + fixed: 0 1; + rel1 { relative: 0.13 0.0; to: "bg_search"; } + rel2 { relative: 1.0 1.0; to: "bg_search"; } + } + } + part + { + name: "add_button_hide_swall_search"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + color: 255 255 255 255; + align: 0.0 0.0; + min: 0 90; + fixed: 0 1; + rel1 { relative: 0.0 0.0; to: "bg_search"; } + rel2 { relative: 1.0 1.0; to: "bg_search"; } + } + } + part { + name: "button_add"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + color: 255 255 255 255; + align: 0.0 0.0; + min: 40 40; + max: 40 40; + fixed: 0 1; + rel1 { relative: 0.02 0.1; to: "bg_search"; } + rel2 { relative: 0.0 0.85; to: "add_button_show_swall_search"; } + } + } + } + } + group { + name: "genlist"; + parts + { + part { + name: "bg"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + + part { + name: "searchbar_layout"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + color: 255 255 255 255; + align: 0.0 0.0; + min: 0 90; + fixed: 0 1; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.0; to: "bg"; } + } + } + part { + name: "content"; + type: SWALLOW; + description { + state: "default" 0.0; + align: 0.0 0.0; + rel1 { relative: 0.0 1.0; to: "searchbar_layout"; } + rel2.to: "bg"; + } + } + part { + name: "fastscroll"; + type: SWALLOW; + description { + state: "default" 0.0; + fixed: 0 1; + rel1.to: "content"; + rel2.to: "content"; + } + } + } + } + group { + name: "genlist_no_searchbar"; + parts + { + part { + name: "bg"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "content"; + type: SWALLOW; + description { + state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { + name: "fastscroll"; + type: SWALLOW; + description { + state: "default" 0.0; + fixed: 0 1; + rel1.to: "content"; + rel2.to: "content"; + } + } + } + } +} |