tizen 2.4 release
[apps/home/attach-panel.git] / res / edje / layout.edc
1 /*
2  * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
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 #include "conf.h"
18
19 collections {
20         base_scale: 1.7;
21         group {
22                 name: "layout";
23                 parts {
24                         part {
25                                 name: "bg";
26                                 type: RECT;
27                                 scale: 1;
28                                 mouse_events: 0;
29                                 description {
30                                         state: "default" 0.0;
31                                         rel1 { relative: 0.0 0.0; }
32                                         rel2 { relative: 1.0 1.0; }
33                                         color: 150 154 158 255;
34                                         visible: 1;
35                                 }
36                         }
37                         part {
38                                 name: "toolbar,clip";
39                                 type: RECT;
40                                 scale: 1;
41                                 description {
42                                         state: "default" 0.0;
43                                         rel1 { relative: 0.0 0.0; to: "bg"; }
44                                         rel2 { relative: 1.0 0.0; to: "bg"; }
45                                         min: 0 TOOLBAR_HEIGHT;
46                                         fixed: 0 1;
47                                         align: 0.5 0.0;
48                                         visible: 1;
49                                 }
50                                 description {
51                                         state: "hide" 0.0;
52                                         inherit: "default" 0.0;
53                                         min: 0 0;
54                                 }
55                         }
56                         part {
57                                 name: "toolbar";
58                                 type: SWALLOW;
59                                 clip_to: "toolbar,clip";
60                                 scale: 1;
61                                 mouse_events: 1;
62                                 description {
63                                         state: "default" 0.0;
64                                         rel1 { relative: 0.0 0.0; to: "toolbar,clip"; }
65                                         rel2 { relative: 1.0 1.0; to: "toolbar,clip"; }
66                                         fixed: 0 1;
67                                         align: 0.5 0.5;
68                                         visible: 1;
69                                 }
70                         }
71                         part {
72                                 name: "scroller";
73                                 type: SWALLOW;
74                                 scale: 1;
75                                 mouse_events: 1;
76                                 description {
77                                         state: "default" 0.0;
78                                         rel1 { relative: 0.0 1.0; to: "toolbar,clip"; }
79                                         rel2 { relative: 1.0 1.0; to: "bg"; }
80                                         align: 0.5 1.0;
81                                         fixed: 1 1;
82                                         visible: 1;
83                                 }
84                         }
85                 }
86                 programs {
87                         program {
88                                 name: "toolbar,show";
89                                 signal: "toolbar,show";
90                                 source: "toolbar";
91                                 action: STATE_SET "default" 0.0;
92                                 target: "toolbar,clip";
93                                 transition: LINEAR 0.2;
94                         }
95                         program {
96                                 name: "toolbar,hide";
97                                 signal: "toolbar,hide";
98                                 source: "toolbar";
99                                 action: STATE_SET "hide" 0.0;
100                                 target: "toolbar,clip";
101                                 transition: LINEAR 0.2;
102                         }
103                 }
104         } // group
105         group {
106                 name: "grid,icon";
107                 parts {
108                         part {
109                                 name: "bg";
110                                 type: RECT;
111                                 scale: 1;
112                                 mouse_events: 0;
113                                 description {
114                                         state: "default" 0.0;
115                                         rel1 { relative: 0.0 0.0; }
116                                         rel2 { relative: 1.0 1.0; }
117                                         color: 255 255 255 0;
118                                         visible: 1;
119                                 }
120                         }
121                         part {
122                                 name: "icon";
123                                 type: SWALLOW;
124                                 scale: 1;
125                                 mouse_events: 1;
126                                 description {
127                                         state: "default" 0.0;
128                                         rel1 { relative: 0.5 0.55; to: "bg"; }
129                                         rel2 { relative: 0.5 0.55; to: "bg"; }
130                                         fixed: 1 1;
131                                         align: 0.5 0.5;
132                                         visible: 1;
133                                 }
134                         }
135                 }
136         }
137 } // collections
138
139
140
141 // End of file