add exception handling popup for checking 8 users
[profile/tv/apps/native/air_home.git] / edje / view / user.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 "../../include/defs.h"
18 group {
19         name, GRP_USER;
20         parts {
21                 part {
22                         name, "pad.text";
23                         type, RECT;
24                         scale, 1;
25                         description {
26                                 state, "default" 0.0;
27                                 rel1.relative, 0.5 1.0;
28                                 rel2.relative, 0.5 1.0;
29                                 min, 0 388;
30                                 align, 0.5 1.0;
31                                 fixed, 1 1;
32                                 visible, 0;
33                         }
34                 }
35                 part {
36                         name, "text";
37                         type, TEXT;
38                         scale, 1;
39                         description {
40                                 state, "default" 0.0;
41                                 rel1.to, "pad.text";
42                                 rel2 {
43                                         to, "pad.text";
44                                         relative, 0.0 0.0;
45                                 }
46                                 min, 200 34;
47                                 fixed, 1 1;
48                                 align, 0.5 1.0;
49                                 text {
50                                         text, "Switch User";
51                                         font, "TizenSans";
52                                         size, 34;
53                                 }
54                                 color, 255 255 255 178;
55                                 color2, 0 0 0 255;
56                         }
57                 }
58                 part {
59                         name, "pad.list";
60                         type, RECT;
61                         scale, 1;
62                         description {
63                                 state, "default" 0.0;
64                                 rel1 {
65                                         to, "text";
66                                         relative, 0.5 1.0;
67                                 }
68                                 rel2 {
69                                         to, "text";
70                                         relative, 0.5 1.0;
71                                 }
72                                 min, 0 42;
73                                 align, 0.5 0.0;
74                                 fixed, 1 1;
75                                 visible, 0;
76                         }
77                 }
78                 part {
79                         name, PART_USER_BAR;
80                         type, SWALLOW;
81                         scale, 1;
82                         description {
83                                 state, "default" 0.0;
84                                 rel1 {
85                                         to, "pad.list";
86                                         relative, 1.0 1.0;
87                                 }
88                                 rel2 {
89                                         to, "pad.list";
90                                         relative, 1.0 1.0;
91                                 }
92                                 min, 1422 158;
93                                 align, 0.5 0.0;
94                                 fixed, 1 1;
95                         }
96                 }
97         }
98 }
99
100 group {
101         name, GRP_USER_ITEM;
102         inherit, GRP_BAR_ITEM;
103         data.item, TITLE_WIDTH "130";
104         parts {
105                 part {
106                         name, "pad.icon";
107                         type, RECT;
108                         scale, 1;
109                         description {
110                                 state, "default" 0.0;
111                                 min, 0 26;
112                                 rel1.relative, 0.5 0.0;
113                                 rel2.relative, 0.5 0.0;
114                                 align, 0.5 0.0;
115                                 fixed, 1 1;
116                                 visible, 0;
117                         }
118                 }
119                 part {
120                         name, PART_BAR_ITEM_ICON;
121                         type, SWALLOW;
122                         scale, 1;
123                         description {
124                                 state, "default" 0.0;
125                                 min, 70 70;
126                                 rel1 {
127                                         to, "pad.icon";
128                                         relative, 1.0 1.0;
129                                 }
130                                 rel2 {
131                                         to, "pad.icon";
132                                         relative, 1.0 1.0;
133                                 }
134                                 align, 0.5 0.0;
135                                 fixed, 1 1;
136                         }
137                 }
138                 part {
139                         name, "pad.text";
140                         type, RECT;
141                         scale, 1;
142                         description {
143                                 state, "default" 0.0;
144                                 min, 0 24;
145                                 rel1.relative, 0.5 1.0;
146                                 rel2.relative, 0.5 1.0;
147                                 align, 0.5 1.0;
148                                 fixed, 1 1;
149                                 visible, 0;
150                         }
151                 }
152                 part {
153                         name, PART_BAR_ITEM_TITLE;
154                         type, SWALLOW;
155                         scale, 1;
156                         description {
157                                 state, "default" 0.0;
158                                 rel1 {
159                                         to, "pad.text";
160                                         relative, 0.0 0.0;
161                                 }
162                                 rel2 {
163                                         to, "pad.text";
164                                         relative, 0.0 0.0;
165                                 }
166                                 align, 0.5 1.0;
167                                 fixed, 1 1;
168                                 min, 130 22;
169                         }
170                 }
171                 part {
172                         name, PART_BAR_ITEM_TITLE_FOCUS;
173                         type, SWALLOW;
174                         scale, 1;
175                         clip_to, "clip";
176                         description {
177                                 state, "default" 0.0;
178                                 rel1.to, PART_BAR_ITEM_TITLE;
179                                 rel2.to, PART_BAR_ITEM_TITLE;
180                         }
181                 }
182                 part {
183                         name, "pad.lock";
184                         type, RECT;
185                         scale, 1;
186                         description {
187                                 state, "default" 0.0;
188                                 min, 16 18;
189                                 rel1.relative, 1.0 0.0;
190                                 rel2.relative, 1.0 0.0;
191                                 align, 1.0 0.0;
192                                 fixed, 1 1;
193                                 visible, 0;
194                         }
195                 }
196                 part {
197                         name, PART_BAR_ITEM_LOCK;
198                         type, SWALLOW;
199                         scale, 1;
200                         description {
201                                 state, "default" 0.0;
202                                 min, 30 30;
203                                 rel1 {
204                                         to, "pad.lock";
205                                         relative, 0.0 1.0;
206                                 }
207                                 rel2 {
208                                         to, "pad.lock";
209                                         relative, 0.0 1.0;
210                                 }
211                                 align, 1.0 0.0;
212                                 fixed, 1 1;
213                         }
214                 }
215                 part {
216                         name, PART_BAR_ITEM_LOCK_FOCUS;
217                         type, SWALLOW;
218                         scale, 1;
219                         clip_to, "clip";
220                         description {
221                                 state, "default" 0.0;
222                                 rel1.to, PART_BAR_ITEM_LOCK;
223                                 rel2.to, PART_BAR_ITEM_LOCK;
224                         }
225                 }
226         }
227 }