Modify setup-wizard and keyguard UI
[platform/core/security/krate.git] / tools / apps / setup-wizard / res / edje / setup.edc
1 /*
2  * Tizen Krate Setup-Wizard Layout
3  *
4  * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  */
19 group { name: "setup_layout";
20         images {
21                 image: "../images/icon.png" COMP;
22         }
23         parts {
24                 part { name: "bg1";
25                         type: RECT;
26                         scale: 1;
27                         description { state: "default" 0.0;
28                                 color: 55 166 184 255;
29                                 rel1 { relative: 0.0 0.0; }
30                                 rel2 { relative: 1.0 1.0; }
31                         }
32                 }
33                 part { name: "bg2";
34                         type: RECT;
35                         scale: 1;
36                         description { state: "default" 0.0;
37                                 color: 0 0 0 25;
38                                 rel1 { relative: 0.0 0.0; to: "bg1";}
39                                 rel2 { relative: 1.0 1.0; to: "bg1";}
40                         }
41                 }
42                 part { name: "bg_top_padding";
43                         type: SPACER;
44                         scale: 1;
45                         description { state: "default" 0.0;
46                                 rel1 {relative: 0.0 0.0; to: "bg1";}
47                                 rel2 {relative: 1.0 0.0; to: "bg1"; offset: 0 40;}
48                         }
49                 }
50                 part { name: "title_area";
51                         type: SPACER;
52                         scale: 1;
53                         description { state: "default" 0.0;
54                                 rel1 { relative: 0.0 1.0; to: "bg_top_padding";}
55                                 rel2 { relative: 1.0 1.0; to: "bg_top_padding"; offset: 0 150;}
56                         }
57                 }
58                 part { name: "title";
59                         type: TEXT;
60                         scale: 1;
61                         effect: SHADOW;
62                         description { state: "default" 0.0;
63                                 color: 255 255 255 255;
64                                 color3: 85 88 88 255;
65                                 rel1 { relative: 0.0 0.0; to: "title_area"; }
66                                 rel2 { relative: 1.0 1.0; to: "title_area"; }
67                                 text { font: "Tizen:style=Regular"; size: "36"; align: 0.5 0.5; text: "Separated Krate";}
68                         }
69                 }
70                 part { name: "top_padding";
71                         type: SPACER;
72                         scale: 1;
73                         description { state: "default" 0.0;
74                                 rel1 { relative: 0.0 1.0; to: "title_area";}
75                                 rel2 { relative: 1.0 1.0; to: "title_area"; offset: 0 162;}
76                         }
77                 }
78                 part { name: "contents_area";
79                         type: SPACER;
80                         scale: 1;
81                         description { state: "default" 0.0;
82                                 rel1 { relative: 0.0 1.0; to: "top_padding";}
83                                 rel2 { relative: 1.0 1.0; to: "top_padding"; offset: 0 493;}
84                         }
85                 }
86                 part { name: "app_icon_area";
87                         type: SPACER;
88                         scale: 1;
89                         description { state: "default" 0.0;
90                                 rel1 { relative: 0.0 0.0; to: "contents_area";}
91                                 rel2 { relative: 1.0 0.0; to: "contents_area"; offset: 0 160;}
92                         }
93                 }
94                 part { name: "app_icon";
95                         type: IMAGE;
96                         scale: 1;
97                         description { state: "default" 0.0;
98                                 min: 118 118;
99                                 max: 118 118;
100                                 rel1 { relative: 0.0 0.0; to: "app_icon_area";}
101                                 rel2 { relative: 1.0 1.0; to: "app_icon_area";}
102                                 align: 0.5 0.5;
103                                 image.normal: "../images/icon.png";
104                         }
105                 }
106                 part { name: "message_title";
107                         type: SWALLOW;
108                         scale: 1;
109                         description { state: "default" 0.0;
110                                 rel1 { relative: 0.0 1.0; to: "app_icon_area"; offset: 32 0;}
111                                 rel2 { relative: 1.0 1.0; to: "app_icon_area"; offset: -32 67;}
112                         }
113                 }
114                 part { name: "message_top_padding";
115                         type: SPACER;
116                         scale: 1;
117                         description { state: "default" 0.0;
118                                 rel1 { relative: 0.0 1.0; to: "message_title";}
119                                 rel2 { relative: 1.0 1.0; to: "message_title"; offset: 0 42;}
120                         }
121                 }
122                 part { name: "progress_area";
123                         type: SPACER;
124                         scale: 1;
125                         description { state: "default" 0.0;
126                                 rel1 { relative: 0.0 1.0; to: "message_top_padding";}
127                                 rel2 { relative: 1.0 1.0; to: "message_top_padding"; offset: 0 114;}
128                         }
129                 }
130 #if 0
131                 part { name: "progress_percentage";
132                         type: TEXT;
133                         scale: 1;
134                         description { state: "default" 0.0;
135                                 rel1 { relative: 0.0 0.0; to: "progress_area";}
136                                 rel2 { relative: 1.0 0.0; to: "progress_area"; offset: 0 54;}
137                         }
138                 }
139 #endif
140                 part { name: "progress_top_padding";
141                         type: SPACER;
142                         scale: 1;
143                         description { state: "default" 0.0;
144                                 rel1 { relative: 0.0 0.0; to: "progress_area";}
145                                 rel2 { relative: 1.0 0.0; to: "progress_area"; offset: 0 66;}
146                         }
147                 }
148                 part { name: "progress_indicator";
149                         type: SWALLOW;
150                         scale: 1;
151                         description { state: "default" 0.0;
152                                 rel1 { relative: 0.0 1.0; to: "progress_top_padding";}
153                                 rel2 { relative: 1.0 1.0; to: "progress_top_padding"; offset: 0 48;}
154                         }
155                 }
156                 part { name: "progress_bottom_padding";
157                         type: SPACER;
158                         scale: 1;
159                         description { state: "default" 0.0;
160                                 rel1 { relative: 0.0 1.0; to: "progress_area";}
161                                 rel2 { relative: 1.0 1.0; to: "progress_area"; offset: 0 49;}
162                         }
163                 }
164                 part { name: "message_content";
165                         type: SWALLOW;
166                         scale: 1;
167                         description { state: "default" 0.0;
168                                 rel1 { relative: 0.0 1.0; to: "progress_bottom_padding";}
169                                 rel2 { relative: 1.0 1.0; to: "progress_bottom_padding"; offset: 0 208;}
170                         }
171                 }
172         }
173 }