Mobile & Wearable profile migration for NFC setting UI
[apps/native/ug-nfc-efl.git] / mobile / data / edc / ug-nfc-efl.edc
1 #define POPUP_TOP_MARGIN        (32)
2 #define POPUP_LEFT_MARGIN       (47)
3 #define POPUP_RIGHT_MARGIN      (47)
4 #define POPUP_BOTTOM_MARGIN     (32)
5
6
7 #define PADDING_TOP( param_padding_size ) \
8         part \
9         { \
10                 name: "top_pad"; \
11                 type: SPACER; \
12                 scale: 1; \
13                 description \
14                 { \
15                         state: "default" 0.0; \
16                         min: 0 param_padding_size; \
17                         fixed: 0 1; \
18                         rel1 {relative: 0 0;} \
19                         rel2 {relative: 1 0;} \
20                         align:0 0; \
21                 } \
22         } \
23
24 #define PADDING_BOTTOM( param_padding_size ) \
25         part \
26         { \
27                 name: "bottom_pad"; \
28                 type: SPACER; \
29                 scale: 1; \
30                 description \
31                 { \
32                         state: "default" 0.0; \
33                         min: 0 param_padding_size; \
34                         fixed: 0 1; \
35                         rel1 { relative: 0 1; } \
36                         rel2 { relative: 1 1; } \
37                         align: 0 1; \
38                 } \
39         } \
40
41 #define PADDING_LEFT( param_padding_size ) \
42         part \
43         { \
44                 name: "left_pad"; \
45                 type: SPACER; \
46                 scale: 1; \
47                 description \
48                 { \
49                         state: "default" 0.0; \
50                         min: param_padding_size 0; \
51                         fixed: 1 0; \
52                         rel1 {relative: 0 0;} \
53                         rel2 {relative: 0 1;} \
54                         align:0 0; \
55                 } \
56         } \
57
58 #define PADDING_RIGHT( param_padding_size ) \
59         part \
60         { \
61                 name: "right_pad"; \
62                 type: SPACER; \
63                 scale: 1; \
64                 description \
65                 { \
66                         state: "default" 0.0; \
67                         min: param_padding_size 0; \
68                         fixed: 1 0; \
69                         rel1 {relative: 1 0;} \
70                         rel2 {relative: 1 1;} \
71                         align:1 0; \
72                 } \
73         } \
74
75 #define SETTING_LIST_HEIGHT             (40+1+112+1+112+1+1)
76 #define PREDEFINED_ITEM_HEIGHT  (40+1+112+15+1)
77 #define SCREEN_HEIGHT                   1280
78
79 collections {
80
81         styles
82         {
83                 style
84                 {
85                         name: "style_txt_desc_black";
86                         base: "font=Tizen:style=Regular text_class=tizen font_size=40 align=left color=#FFFFFF wrap=word";
87                         tag:  "br" "\n";
88                         tag:  "tab" "\t";
89                         tag:  "b" "+ font=Tizen:style=Bold";
90                         tag:  "link" "+ color=#800 underline=on underline_color=#8008";
91                         tag:  "hilight" "+ font=Tizen:style=Bold";
92
93                 }
94         }
95
96         group{
97                 name: "nfc_setting";
98                 parts
99                 {
100                         part
101                         {
102                                 name: "setting_list";
103                                 type: SWALLOW;
104                                 scale:1;
105                                 description
106                                 {
107                                         state: "default" 0.0;
108                                         min: 0 SETTING_LIST_HEIGHT;
109                                         fixed: 0 1;
110                                         rel1{relative: 0 0;}
111                                         rel2{relative: 1 SETTING_LIST_HEIGHT/SCREEN_HEIGHT;}
112                                         align: 0 0;
113                                 }
114                         }
115
116                         PADDING_LEFT(40)
117                         PADDING_RIGHT(40)
118
119                         part
120                         {
121                                 name: "sbeam_help";
122                                 type: SWALLOW;
123                                 scale:1;
124                                 description
125                                 {
126                                         state: "default" 0.0;
127                                         rel1{relative: 1 1; to_x:"left_pad"; to_y: "setting_list";}
128                                         rel2{relative: 0 1; to_x:"right_pad";to_y: "setting_list";}
129                                         align: 0 0;
130                                 }
131                         }
132
133                         part
134                         {
135                                 name: "list_pad_1";
136                                 type: SPACER;
137                                 scale: 1;
138                                 description
139                                 {
140                                         state: "default" 0.0;
141                                         min: 0 40;
142                                         fixed: 0 1;
143                                         rel1 {relative: 0 1; to_y: "sbeam_help";}
144                                         rel2 {relative: 1 1; to_y: "sbeam_help";}
145                                         align:0 0;
146                                 }
147                         }
148
149                         part
150                         {
151                                 name: "predefined_item_list";
152                                 type: SWALLOW;
153                                 scale:1;
154                                 description
155                                 {
156                                         state: "default" 0.0;
157                                         min: 0 PREDEFINED_ITEM_HEIGHT;
158                                         fixed: 0 1;
159                                         rel1 {relative: 0 1; to_y: "list_pad_1";}
160                                         rel2 {relative: 1 1; to_y: "list_pad_1";}
161                                         align: 0 0;
162                                 }
163                         }
164
165                         PADDING_BOTTOM(40)
166
167                         part
168                         {
169                                 name: "predefined_item_help";
170                                 type: SWALLOW;
171                                 scale:1;
172                                 description
173                                 {
174                                         state: "default" 0.0;
175                                         rel1{relative: 1 1; to_x:"left_pad"; to_y: "predefined_item_list";}
176                                         rel2{relative: 0 0; to_x:"right_pad";to_y: "bottom_pad";}
177                                         align: 0 0;
178                                 }
179                         }
180                 }
181         }
182         group
183         {
184                 name: "popup_with_check";
185                 parts
186                 {
187                         PADDING_TOP(POPUP_TOP_MARGIN)
188                         PADDING_LEFT(POPUP_LEFT_MARGIN)
189                         PADDING_RIGHT(POPUP_RIGHT_MARGIN)
190                         PADDING_BOTTOM(POPUP_BOTTOM_MARGIN)
191
192                         part
193                         {
194                                 name: "elm.swallow.content";
195                                 type: SWALLOW;
196                                 scale: 1;
197                                 description
198                                 {
199                                         state: "default" 0.0;
200                                         fixed: 1 0;
201                                         rel1 {relative: 1.0 1.0; to_x: "left_pad"; to_y: "top_pad";}
202                                         rel2 {relative: 0.0 0.0; to_x: "right_pad"; to_y: "mid_pad";}
203                                 }
204                         }
205                         part
206                         {
207                                 name: "mid_pad";
208                                 type: SPACER;
209                                 scale: 1;
210                                 description
211                                 {
212                                         state: "default" 0.0;
213                                         align: 0.0 1.0;
214                                         min: 0 20;
215                                         fixed: 0 1;
216                                         rel1 {relative: 1.0 0.0; to_x: "left_pad"; to_y: "elm.swallow.end";}
217                                         rel2 {relative: 0.0 0.0; to_x: "right_pad"; to_y: "elm.swallow.end";}
218                                 }
219                         }
220                         part
221                         {
222                                 name: "elm.swallow.end";
223                                 type: SWALLOW;
224                                 scale: 1;
225                                 description
226                                 {
227                                         state: "default" 0.0;
228                                         fixed: 1 1;
229                                         min: 0 100;
230                                         align: 0.0 1.0;
231                                         rel1 {relative: 1.0 0.0; to_x: "left_pad"; to_y: "bottom_pad";}
232                                         rel2 {relative: 0.0 0.0; to_x: "right_pad"; to_y: "bottom_pad";}
233                                 }
234                         }
235                 }
236         }
237 }