modify user edit view according to v0.4 GUI doc
[profile/tv/apps/native/air_home.git] / edje / view / useredit.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_EDIT;
20         parts {
21                 part {
22                         name, "title";
23                         type, RECT;
24                         scale, 1;
25                         description {
26                                 state, "default" 0.0;
27                                 rel2.relative, 1.0 0.0;
28                                 min, 0 104;
29                                 fixed, 0 1;
30                                 align, 0.5 0.0;
31                         }
32                 }
33                 part {
34                         name, PART_USER_EDIT_TITLE;
35                         type, TEXT;
36                         scale, 1;
37                         description {
38                                 rel1.to, "title";
39                                 rel2.to, "title";
40                                 fixed, 1 1;
41                                 text {
42                                         size, 46;
43                                         font, "TizenSans";
44                                 }
45                                 color, 51 51 51 255;
46                         }
47                 }
48                 part {
49                         name, "action.btn";
50                         type, RECT;
51                         scale, 1;
52                         description {
53                                 state, "default" 0.0;
54                                 rel1.relative, 0.0 1.0;
55                                 min, 0 148;
56                                 fixed, 0 1;
57                                 align, 0.5 1.0;
58                         }
59                 }
60                 part {
61                         name, "pad.action.btn";
62                         type, RECT;
63                         scale, 1;
64                         description {
65                                 state, "default" 0.0;
66                                 rel1 {
67                                         to, "action.btn";
68                                         relative, 0.5 0.5;
69                                 }
70                                 rel2 {
71                                         to, "action.btn";
72                                         relative, 0.5 0.5;
73                                 }
74                                 min, 24 64;
75                                 fixed, 1 1;
76                                 visible, 0;
77                         }
78                 }
79                 part {
80                         name, PART_USER_EDIT_BTN_CANCEL;
81                         type, SWALLOW;
82                         scale, 1;
83                         description {
84                                 state, "default" 0.0;
85                                 rel1.to, "pad.action.btn";
86                                 rel2 {
87                                         to, "pad.action.btn";
88                                         relative, 0.0 1.0;
89                                 }
90                                 min, 308 0;
91                                 fixed, 1 1;
92                                 align, 1.0 0.5;
93                         }
94                 }
95                 part {
96                         name, PART_USER_EDIT_BTN_DONE;
97                         type, SWALLOW;
98                         scale, 1;
99                         description {
100                                 state, "default" 0.0;
101                                 rel1 {
102                                         to, "pad.action.btn";
103                                         relative, 1.0 0.0;
104                                 }
105                                 rel2.to, "pad.action.btn";
106                                 min, 308 0;
107                                 fixed, 1 1;
108                                 align, 0.0 0.5;
109                         }
110                 }
111                 part {
112                         name, "contents";
113                         type, RECT;
114                         scale, 1;
115                         description {
116                                 state, "default" 0.0;
117                                 rel1 {
118                                         to, "title";
119                                         relative, 0.0 1.0;
120                                 }
121                                 rel2 {
122                                         to, "action.btn";
123                                         relative, 1.0 0.0;
124                                 }
125                                 fixed, 1 1;
126                                 color, 244 244 244 255;
127                         }
128                 }
129                 part {
130                         name, PART_USER_EDIT_CONTENTS;
131                         type, SWALLOW;
132                         scale, 1;
133                         description {
134                                 state, "default" 0.0;
135                                 rel1 {
136                                         to, "contents";
137                                         relative, 0.5 0.5;
138                                 }
139                                 rel2 {
140                                         to, "contents";
141                                         relative, 0.5 0.5;
142                                 }
143                                 min, 1128 408;
144                                 fixed, 1 1;
145                         }
146                 }
147         }
148 }
149
150 group {
151         name, GRP_USER_EDIT_CONTENTS;
152         images {
153                 image, "ic_user_require_01.png" COMP;
154                 image, "ic_user_require_02.png" COMP;
155                 image, "btn_user_del.png" COMP;
156         }
157         parts {
158                 part {
159                         name, "bg";
160                         type, RECT;
161                         scale, 1;
162                         description {
163                                 state, "default" 0.0;
164                                 min, 1128 408;
165                                 visible, 0;
166                         }
167                 }
168                 part {
169                         name, "pad";
170                         type, RECT;
171                         scale, 1;
172                         description {
173                                 state, "default" 0.0;
174                                 min, 138 0;
175                                 rel2.relative, 0.0 1.0;
176                                 fixed, 1 0;
177                                 align, 0.0 0.5;
178                                 visible, 0;
179                         }
180                 }
181                 part {
182                         name, "photo";
183                         type, TEXT;
184                         scale, 1;
185                         description {
186                                 state, "default" 0.0;
187                                 rel1 {
188                                         to, "pad";
189                                         relative, 1.0 0.0;
190                                 }
191                                 rel2 {
192                                         to, "pad";
193                                         relative, 1.0 0.0;
194                                 }
195                                 min, 90 32;
196                                 fixed, 1 1;
197                                 align, 0.0 0.0;
198                                 text {
199                                         font, "TizenSans";
200                                         size, 32;
201                                         text, "Photo";
202                                         align, 0.0 0.5;
203                                 }
204                                 color, 77 77 77 255;
205                         }
206                 }
207                 part {
208                         name, "pad.photo.require";
209                         type, RECT;
210                         scale, 1;
211                         description {
212                                 state, "default" 0.0;
213                                 rel1 {
214                                         to, "photo";
215                                         relative, 1.0 0.0;
216                                 }
217                                 rel2 {
218                                         to, "photo";
219                                         relative, 1.0 0.0;
220                                 }
221                                 min, 6 0;
222                                 fixed, 1 1;
223                                 align, 0.0 0.0;
224                                 visible, 0;
225                         }
226                 }
227                 part {
228                         name, "photo.require";
229                         type, IMAGE;
230                         scale, 1;
231                         description {
232                                 state, "default" 0.0;
233                                 rel1 {
234                                         to, "pad.photo.require";
235                                         relative, 1.0 0.0;
236                                 }
237                                 rel2 {
238                                         to, "pad.photo.require";
239                                         relative, 1.0 0.0;
240                                 }
241                                 min, 16 20;
242                                 fixed, 1 1;
243                                 align, 0.0 0.0;
244                                 image.normal, "ic_user_require_01.png";
245                         }
246                 }
247                 part {
248                         name, "pad.photo";
249                         type, RECT;
250                         scale, 1;
251                         description {
252                                 state, "default" 0.0;
253                                 rel1 {
254                                         to, "photo";
255                                         relative, 0.0 1.0;
256                                 }
257                                 rel2 {
258                                         to, "photo";
259                                         relative, 0.0 1.0;
260                                 }
261                                 min, 0 22;
262                                 fixed, 1 1;
263                                 align, 0.0 0.0;
264                                 visible, 0;
265                         }
266                 }
267                 part {
268                         name, PART_USER_EDIT_CONTENTS_PHOTO;
269                         type, SWALLOW;
270                         scale, 1;
271                         description {
272                                 state, "default" 0.0;
273                                 rel1 {
274                                         to, "pad.photo";
275                                         relative, 0.0 1.0;
276                                 }
277                                 rel2 {
278                                         to, "pad.photo";
279                                         relative, 0.0 1.0;
280                                 }
281                                 min, 294 294;
282                                 fixed, 1 1;
283                                 align, 0.0 0.0;
284                         }
285                 }
286                 part {
287                         name, "pad.require";
288                         type, RECT;
289                         scale, 1;
290                         description {
291                                 state, "default" 0.0;
292                                 rel1 {
293                                         to, PART_USER_EDIT_CONTENTS_PHOTO;
294                                         relative, 0.0 1.0;
295                                 }
296                                 rel2 {
297                                         to, PART_USER_EDIT_CONTENTS_PHOTO;
298                                         relative, 0.0 1.0;
299                                 }
300                                 min, 0 22;
301                                 fixed, 1 1;
302                                 align, 0.0 0.0;
303                                 visible, 0;
304                         }
305                 }
306                 part {
307                         name, "icon.require";
308                         type, IMAGE;
309                         scale, 1;
310                         description {
311                                 state, "default" 0.0;
312                                 rel1 {
313                                         to, "pad.require";
314                                         relative, 1.0 1.0;
315                                 }
316                                 rel2.to, "pad.require";
317                                 min, 12 24;
318                                 fixed, 1 1;
319                                 align, 0.0 0.0;
320                                 image.normal, "ic_user_require_02.png";
321                         }
322                 }
323                 part {
324                         name, "pad.require.text";
325                         type, RECT;
326                         scale, 1;
327                         description {
328                                 state, "default" 0.0;
329                                 rel1 {
330                                         to, "icon.require";
331                                         relative, 1.0 0.0;
332                                 }
333                                 rel2 {
334                                         to, "icon.require";
335                                         relative, 1.0 0.0;
336                                 }
337                                 min, 6 0;
338                                 align, 0.0 0.0;
339                                 fixed, 1 1;
340                                 visible, 0;
341                         }
342                 }
343                 part {
344                         name, "require";
345                         type, TEXT;
346                         scale, 1;
347                         description {
348                                 state, "default" 0.0;
349                                 rel1 {
350                                         to, "pad.require.text";
351                                         relative, 1.0 1.0;
352                                 }
353                                 rel2 {
354                                         to, "pad.require.text";
355                                         relative, 1.0 1.0;
356                                 }
357                                 min, 294 24;
358                                 fixed, 1 1;
359                                 align, 0.0 0.0;
360                                 text {
361                                         font, "TizenSans";
362                                         size, 24;
363                                         align, 0.0 0.5;
364                                         text, "Required fields";
365                                 }
366                                 color, 64 136 211 255;
367                         }
368                 }
369
370                 part {
371                         name, "pad.profile";
372                         type, RECT;
373                         scale, 1;
374                         description {
375                                 state, "default" 0.0;
376                                 rel1 {
377                                         to, PART_USER_EDIT_CONTENTS_PHOTO;
378                                         relative, 1.0 0.0;
379                                 }
380                                 rel2 {
381                                         to, PART_USER_EDIT_CONTENTS_PHOTO;
382                                         relative, 1.0 0.0;
383                                 }
384                                 min, 72 54;
385                                 fixed, 1 1;
386                                 align, 0.0 1.0;
387                                 visible, 0;
388                         }
389                 }
390                 part {
391                         name, "name";
392                         type, TEXT;
393                         scale, 1;
394                         description {
395                                 state, "default" 0.0;
396                                 rel1 {
397                                         to, "pad.profile";
398                                         relative, 1.0 0.0;
399                                 }
400                                 rel2 {
401                                         to, "pad.profile";
402                                         relative, 1.0 0.0;
403                                 }
404                                 min, 95 32;
405                                 fixed, 1 1;
406                                 align, 0.0 0.0;
407                                 text {
408                                         font, "TizenSans";
409                                         size, 32;
410                                         text, "Name";
411                                         align, 0.0 0.5;
412                                 }
413                                 color, 77 77 77 255;
414                         }
415                 }
416                 part {
417                         name, "name.require";
418                         type, IMAGE;
419                         scale, 1;
420                         description {
421                                 state, "default" 0.0;
422                                 rel1 {
423                                         to, "name";
424                                         relative, 1.0 0.0;
425                                 }
426                                 rel2 {
427                                         to, "name";
428                                         relative, 1.0 0.0;
429                                 }
430                                 min, 16 20;
431                                 fixed, 1 1;
432                                 align, 0.0 0.0;
433                                 image.normal, "ic_user_require_01.png";
434                         }
435                 }
436                 part {
437                         name, "pad.name";
438                         type, RECT;
439                         scale, 1;
440                         description {
441                                 state, "default" 0.0;
442                                 rel1 {
443                                         to, "name";
444                                         relative, 0.0 1.0;
445                                 }
446                                 rel2 {
447                                         to, "name";
448                                         relative, 0.0 1.0;
449                                 }
450                                 min, 0 22;
451                                 fixed, 1 1;
452                                 align, 0.0 0.0;
453                                 visible, 0;
454                         }
455                 }
456                 part {
457                         name, PART_USER_EDIT_CONTENTS_NAME;
458                         type, SWALLOW;
459                         scale, 1;
460                         description {
461                                 state, "default" 0.0;
462                                 rel1 {
463                                         to, "pad.name";
464                                         relative, 1.0 1.0;
465                                 }
466                                 rel2.to, "pad.name";
467                                 min, 436 64;
468                                 fixed, 1 1;
469                                 align, 0.0 0.0;
470                                 fixed, 1 1;
471                         }
472                 }
473                 part {
474                         name, "pad.pin";
475                         type, RECT;
476                         scale, 1;
477                         description {
478                                 state, "default" 0.0;
479                                 rel1 {
480                                         to, PART_USER_EDIT_CONTENTS_NAME;
481                                         relative, 0.0 1.0;
482                                 }
483                                 rel2 {
484                                         to, PART_USER_EDIT_CONTENTS_NAME;
485                                         relative, 0.0 1.0;
486                                 }
487                                 min, 0 32;
488                                 fixed, 1 1;
489                                 align, 0.0 0.0;
490                                 visible, 0;
491                         }
492                 }
493                 part {
494                         name, "pin";
495                         type, TEXT;
496                         scale, 1;
497                         description {
498                                 state, "default" 0.0;
499                                 rel1 {
500                                         to, "pad.pin";
501                                         relative, 0.0 1.0;
502                                 }
503                                 rel2 {
504                                         to, "pad.pin";
505                                         relative, 0.0 1.0;
506                                 }
507                                 min, 436 32;
508                                 fixed, 1 1;
509                                 align, 0.0 0.0;
510                                 text {
511                                         text, "Pin code";
512                                         font, "TizenSans";
513                                         size, 32;
514                                         align, 0.0 0.5;
515                                 }
516                                 color, 77 77 77 255;
517                         }
518                 }
519                 part {
520                         name, "pad.pin.down";
521                         type, RECT;
522                         scale, 1;
523                         description {
524                                 state, "default" 0.0;
525                                 rel1 {
526                                         to, "pin";
527                                         relative, 0.0 1.0;
528                                 }
529                                 rel2 {
530                                         to, "pin";
531                                         relative, 0.0 1.0;
532                                 }
533                                 min, 0 22;
534                                 align, 0.0 0.0;
535                                 fixed, 1 1;
536                                 visible, 0;
537                         }
538                 }
539                 part {
540                         name, PART_USER_EDIT_CONTENTS_PIN;
541                         type, SWALLOW;
542                         scale, 1;
543                         description {
544                                 state, "default" 0.0;
545                                 rel1 {
546                                         to, "pad.pin.down";
547                                         relative, 1.0 1.0;
548                                 }
549                                 rel2 {
550                                         to, "pad.pin.down";
551                                         relative, 1.0 1.0;
552                                 }
553                                 min, 436 64;
554                                 fixed, 1 1;
555                                 align, 0.0 0.0;
556                         }
557                 }
558                 part {
559                         name, "pad.lock";
560                         type, RECT;
561                         scale, 1;
562                         description {
563                                 state, "default" 0.0;
564                                 rel1 {
565                                         to, PART_USER_EDIT_CONTENTS_PIN;
566                                         relative, 0.0 1.0;
567                                 }
568                                 rel2 {
569                                         to, PART_USER_EDIT_CONTENTS_PIN;
570                                         relative, 0.0 1.0;
571                                 }
572                                 min, 0 32;
573                                 fixed, 1 1;
574                                 align, 0.0 0.0;
575                                 visible, 0;
576                         }
577                 }
578                 part {
579                         name, "lock";
580                         type, TEXT;
581                         scale, 1;
582                         description {
583                                 state, "default" 0.0;
584                                 rel1 {
585                                         to, "pad.lock";
586                                         relative, 1.0 1.0;
587                                 }
588                                 rel2.to, "pad.lock";
589                                 min, 436 32;
590                                 fixed, 1 1;
591                                 align, 0.0 0.0;
592                                 text {
593                                         font, "TizenSans";
594                                         size, 32;
595                                         text, "Privacy lock";
596                                         align, 0.0 0.5;
597                                 }
598                                 color, 77 77 77 255;
599                         }
600                 }
601                 part {
602                         name, "pad.lock.down";
603                         type, RECT;
604                         scale, 1;
605                         description {
606                                 state, "default" 0.0;
607                                 rel1 {
608                                         to, "lock";
609                                         relative, 0.0 1.0;
610                                 }
611                                 rel2 {
612                                         to, "lock";
613                                         relative, 0.0 1.0;
614                                 }
615                                 min, 0 22;
616                                 fixed, 1 1;
617                                 align, 0.0 0.0;
618                                 visible, 0;
619                         }
620                 }
621                 part {
622                         name, PART_USER_EDIT_CONTENTS_LOCK;
623                         type, SWALLOW;
624                         scale, 1;
625                         description {
626                                 state, "default" 0.0;
627                                 rel1 {
628                                         to, "pad.lock.down";
629                                         relative, 1.0 1.0;
630                                 }
631                                 rel2.to, "pad.lock.down";
632                                 min, 104 54;
633                                 fixed, 1 1;
634                                 align, 0.0 0.0;
635                         }
636                 }
637
638                 part {
639                         name, "pad.delete";
640                         type, RECT;
641                         scale, 1;
642                         description {
643                                 state, "default" 0.0;
644                                 rel1 {
645                                         to, PART_USER_EDIT_CONTENTS_NAME;
646                                         relative, 1.0 0.0;
647                                 }
648                                 rel2 {
649                                         to, PART_USER_EDIT_CONTENTS_NAME;
650                                         relative, 1.0 0.0;
651                                 }
652                                 min, 14 0;
653                                 fixed, 1 1;
654                                 align, 0.0 0.0;
655                                 visible, 0;
656                         }
657                 }
658                 part {
659                         name, PART_USER_EDIT_CONTENTS_DELETE;
660                         type, SWALLOW;
661                         scale, 1;
662                         description {
663                                 state, "default" 0.0;
664                                 rel1 {
665                                         to, "pad.delete";
666                                         relative, 1.0 0.0;
667                                 }
668                                 rel2 {
669                                         to, "pad.delete";
670                                         relative, 1.0 0.0;
671                                 }
672                                 min, 174 64;
673                                 fixed, 1 1;
674                                 align, 0.0 0.0;
675                         }
676                 }
677         }
678 }
679
680 group {
681         name, GRP_USER_EDIT_PHOTO;
682         parts {
683                 part {
684                         name, "bg";
685                         type, RECT;
686                         scale, 1;
687                         description {
688                                 state, "default" 0.0;
689                                 min, 294 294;
690                                 color, 194 194 194 255;
691                         }
692                 }
693                 part {
694                         name, "bg.photo";
695                         type, RECT;
696                         scale, 1;
697                         description {
698                                 state, "default" 0.0;
699                                 min, 290 290;
700                                 rel1.relative, 0.5 0.5;
701                                 rel2.relative, 0.5 0.5;
702                                 fixed, 1 1;
703                                 color, 255 255 255 255;
704                         }
705                         description {
706                                 state, "focus" 0.0;
707                                 inherit, "default" 0.0;
708                                 color, 0 119 246 255;
709                         }
710                 }
711                 part {
712                         name, "clip";
713                         type, RECT;
714                         description {
715                                 state, "default" 0.0;
716                                 color, 0 0 0 0;
717                         }
718                         description {
719                                 state, "focus" 0.0;
720                                 inherit, "default" 0.0;
721                                 rel1.relative, 0.5 0.5;
722                                 rel2.relative, 0.5 0.5;
723                                 min, 284 284;
724                                 color, 255 255 255 255;
725                         }
726                 }
727                 part {
728                         name, PART_USER_EDIT_PHOTO;
729                         type, SWALLOW;
730                         scale, 1;
731                         description {
732                                 state, "default" 0.0;
733                                 rel1.to, "bg.photo";
734                                 rel2.to, "bg.photo";
735                                 fixed, 1 1;
736                         }
737                 }
738                 part {
739                         name, "pad";
740                         type, RECT;
741                         scale, 1;
742                         description {
743                                 state, "default" 0.0;
744                                 rel1.relative, 0.5 0.5;
745                                 rel2.relative, 0.5 0.5;
746                                 fixed, 1 1;
747                                 min, 290 290;
748                                 color, 0 119 246 255;
749                                 visible, 0;
750                         }
751                         description {
752                                 state, "focus" 0.0;
753                                 inherit, "default" 0.0;
754                                 visible, 1;
755                         }
756                 }
757
758                 part {
759                         name, PART_USER_EDIT_PHOTO_FOCUS;
760                         type, SWALLOW;
761                         scale, 1;
762                         clip_to, "clip";
763                         description {
764                                 state, "default" 0.0;
765                                 rel1.to, PART_USER_EDIT_PHOTO;
766                                 rel2.to, PART_USER_EDIT_PHOTO;
767                                 fixed, 1 1;
768                         }
769                 }
770         }
771         programs {
772                 program {
773                         name, "sig,focus";
774                         signal, SIG_FOCUS;
775                         source, SRC_PROG;
776                         action, STATE_SET "focus" 0.0;
777                         target, "bg.photo";
778                         target, "clip";
779                         after, "sig,focus,1";
780                 }
781                 program {
782                         name, "sig,focus,1";
783                         action, STATE_SET "focus" 0.0;
784                         transition, LINEAR 0.2;
785                         target, "pad";
786                 }
787                 program {
788                         name, "sig,unfocus";
789                         signal, SIG_UNFOCUS;
790                         source, SRC_PROG;
791                         action, STATE_SET "default" 0.0;
792                         target, "pad";
793                         after, "sig,unfocus,1";
794                 }
795                 program {
796                         name, "sig,unfocus,1";
797                         action, STATE_SET "default" 0.0;
798                         transition, LINEAR 0.2;
799                         target, "bg.photo";
800                         target, "clip";
801                 }
802         }
803 }
804
805 group {
806         name, GRP_USER_EDIT_SWITCH;
807         parts {
808                 part {
809                         name, "bg";
810                         type, RECT;
811                         scale, 1;
812                         description {
813                                 state, "default" 0.0;
814                                 min, 104 54;
815                                 color, 0 119 246 255;
816                         }
817                 }
818                 part {
819                         name, "clip";
820                         type, RECT;
821                         scale, 1;
822                         description {
823                                 state, "default" 0.0;
824                                 fixed, 1 1;
825                         }
826                         description {
827                                 state, "focus" 0.0;
828                                 rel1.relative, 0.5 0.5;
829                                 rel2.relative, 0.5 0.5;
830                                 min, 98 48;
831                                 fixed, 1 1;
832                         }
833                 }
834                 part {
835                         name, PART_USER_EDIT_SWITCH;
836                         type, SWALLOW;
837                         scale, 1;
838                         clip_to, "clip";
839                         description {
840                                 state, "default" 0.0;
841                                 fixed, 1 1;
842                         }
843                 }
844         }
845         programs {
846                 program {
847                         name, "sig,focus";
848                         signal, SIG_FOCUS;
849                         source, SRC_PROG;
850                         action, STATE_SET "focus" 0.0;
851                         transition, LINEAR 0.1;
852                         target, "clip";
853                 }
854                 program {
855                         name, "sig,unfocus";
856                         signal, SIG_UNFOCUS;
857                         source, SRC_PROG;
858                         action, STATE_SET "default" 0.0;
859                         transition, LINEAR 0.1;
860                         target, "clip";
861                 }
862         }
863 }
864
865 group {
866         name, GRP_USER_EDIT_ENTRY;
867         parts {
868                 part {
869                         name, "bg";
870                         type, RECT;
871                         scale, 1;
872                         description {
873                                 state, "default" 0.0;
874                                 min, 436 64;
875                                 color, 194 194 194 255;
876                         }
877                         description {
878                                 state, "focus" 0.0;
879                                 inherit, "default" 0.0;
880                                 color, 0 119 246 255;
881                         }
882                         description {
883                                 state, "disable" 0.0;
884                                 inherit, "default" 0.0;
885                                 color, 194 194 194 120;
886                         }
887                 }
888                 part {
889                         name, "bg.entry";
890                         type, RECT;
891                         scale, 1;
892                         description {
893                                 state, "default" 0.0;
894                                 min, 432 60;
895                                 rel1.relative, 0.5 0.5;
896                                 rel2.relative, 0.5 0.5;
897                                 fixed, 1 1;
898                         }
899                 }
900                 part {
901                         name, PART_USER_EDIT_ENTRY;
902                         type, SWALLOW;
903                         scale, 1;
904                         description {
905                                 state, "default" 0.0;
906                                 rel1.to, "bg.entry";
907                                 rel2.to, "bg.entry";
908                                 fixed, 1 1;
909                         }
910                 }
911         }
912         programs {
913                 program {
914                         name, "sig,focus";
915                         signal, SIG_FOCUS;
916                         source, SRC_PROG;
917                         action, STATE_SET "focus";
918                         transition, LINEAR 0.5;
919                         target, "bg";
920                 }
921                 program {
922                         name, "sig,unfocus";
923                         signal, SIG_UNFOCUS;
924                         source, SRC_PROG;
925                         action, STATE_SET "default" 0.0;
926                         transition, LINEAR 0.5;
927                         target, "bg";
928                 }
929                 program {
930                         name, "sig,disable";
931                         signal, SIG_DISABLE;
932                         source, SRC_PROG;
933                         action, STATE_SET "disable" 0.0;
934                         target, "bg";
935                 }
936         }
937 }
938
939 group {
940         name, GRP_USER_EDIT_DELETE;
941         parts {
942                 part {
943                         name, "bg";
944                         type, RECT;
945                         scale, 1;
946                         description {
947                                 state, "default" 0.0;
948                                 min, 174 64;
949                                 color, 126 145 172 255;
950                         }
951                         description {
952                                 state, "focus" 0.0;
953                                 inherit, "default" 0.0;
954                                 color, 0 119 246 255;
955                         }
956                         description {
957                                 state, "disable" 0.0;
958                                 inherit, "default" 0.0;
959                                 color, 87 87 87 125;
960                         }
961                 }
962                 part {
963                         name, "text.delete";
964                         type, TEXT;
965                         scale, 1;
966                         description {
967                                 state, "default" 0.0;
968                                 fixed, 1 1;
969                                 text {
970                                         text, "Delete user";
971                                         size, 28;
972                                         font, "TizenSans";
973                                 }
974                         }
975                 }
976         }
977         programs {
978                 program {
979                         name, "sig,focus";
980                         signal, SIG_FOCUS;
981                         source, SRC_PROG;
982                         action, STATE_SET "focus" 0.0;
983                         transition, LINEAR 0.5;
984                         target, "bg";
985                 }
986                 program {
987                         name, "sig,unfocus";
988                         signal, SIG_UNFOCUS;
989                         source, SRC_PROG;
990                         action, STATE_SET "default" 0.0;
991                         transition, LINEAR 0.5;
992                         target, "bg";
993                 }
994                 program {
995                         name, "sig,disable";
996                         signal, SIG_DISABLE;
997                         source, SRC_PROG;
998                         action, STATE_SET "disable" 0.0;
999                         target, "bg";
1000                 }
1001         }
1002 }
1003
1004 group {
1005         name, GRP_USER_EDIT_ICON_LIST;
1006         parts {
1007                 part {
1008                         name, "bg";
1009                         type, RECT;
1010                         scale, 1;
1011                         description {
1012                                 state, "default" 0.0;
1013                                 min, 589 295;
1014                                 color, 194 194 194 255;
1015                         }
1016                 }
1017                 part {
1018                         name, PART_USER_EDIT_ICON_LIST;
1019                         type, SWALLOW;
1020                         scale, 1;
1021                         description {
1022                                 state, "default" 0.0;
1023                                 fixed, 1 1;
1024                         }
1025                 }
1026         }
1027 }
1028
1029 group {
1030         name, GRP_USER_EDIT_ICON_LIST_ITEM;
1031         parts {
1032                 part {
1033                         name, "bg";
1034                         type, RECT;
1035                         scale, 1;
1036                         description {
1037                                 state, "default" 0.0;
1038                                 min, 146 146;
1039                                 color, 255 255 255 255;
1040                         }
1041                         description {
1042                                 state, "focus" 0.0;
1043                                 inherit, "default" 0.0;
1044                                 color, 0 119 246 255;
1045                         }
1046                 }
1047                 part {
1048                         name, "clip";
1049                         type, RECT;
1050                         scale, 1;
1051                         description {
1052                                 state, "default" 0.0;
1053                                 color, 0 0 0 0;
1054                         }
1055                         description {
1056                                 state, "focus" 0.0;
1057                                 inherit, "default" 0.0;
1058                                 color, 255 255 255 255;
1059                         }
1060                 }
1061                 part {
1062                         name, PART_USER_EDIT_ICON_LIST_ITEM;
1063                         type, SWALLOW;
1064                         scale, 1;
1065                         description {
1066                                 state, "default" 0.0;
1067                                 min, 70 70;
1068                                 rel1.relative, 0.5 0.5;
1069                                 rel2.relative, 0.5 0.5;
1070                                 fixed, 1 1;
1071                         }
1072                 }
1073                 part {
1074                         name, PART_USER_EDIT_ICON_LIST_ITEM_FOCUS;
1075                         type, SWALLOW;
1076                         scale, 1;
1077                         clip_to, "clip";
1078                         description {
1079                                 state, "default" 0.0;
1080                                 rel1.to, PART_USER_EDIT_ICON_LIST_ITEM;
1081                                 rel2.to, PART_USER_EDIT_ICON_LIST_ITEM;
1082                                 fixed, 1 1;
1083                         }
1084                 }
1085         }
1086         programs {
1087                 program {
1088                         name, "sig,focus";
1089                         signal, SIG_FOCUS;
1090                         source, SRC_PROG;
1091                         action, STATE_SET "focus" 0.0;
1092                         transition, LINEAR 0.3;
1093                         target, "clip";
1094                         target, "bg";
1095                 }
1096                 program {
1097                         name, "sig,unfocus";
1098                         signal, SIG_UNFOCUS;
1099                         source, SRC_PROG;
1100                         action, STATE_SET "default" 0.0;
1101                         transition, LINEAR 0.3;
1102                         target, "clip";
1103                         target, "bg";
1104                 }
1105         }
1106 }