Main view : initial version
[apps/native/sample/adventure.git] / res / edje / item.edc
1
2 styles {
3         style {
4                 /* Font size is changed from 24 to 20 because of resolution issues. */
5                 name: "text_style";
6                 base: "font=Tizen:style=Regular font_size=20 color=#ffffff align=center style=shadow shadow_color=#000000bf wrap=mixed ellipsis=-1";
7                 tag:  "br" "\n";
8                 tag:  "hilight" "+ font_weight=Bold";
9                 tag:  "b" "+ font_weight=Bold";
10                 tag:  "tab" "\t";
11         }
12 }
13
14 collections {
15         group {
16                 name: "main";
17                 parts {
18                         part {
19                                 name: "bg";
20                                 type: SWALLOW;
21                                 mouse_events: 1;
22                                 description {
23                                         state: "default" 0.0;
24                                         rel1 { relative: 0.0 0.0; }
25                                         rel2 { relative: 1.0 1.0; }
26                                 }
27                         }
28                         part {
29                                 name: "name";
30                                 type: TEXT;
31                                 mouse_events: 0;
32                                 scale: 1;
33                                 description {
34                                         state: "default" 0.0;
35                                         rel1 { relative: 0.0 0.1; to: "bg"; }
36                                         rel2 { relative: 1.0 0.5; to: "bg"; }
37                                         color: 0 0 0 255;
38                                         text {
39                                                 text: "";
40                                                 font: "Tizen:style=Bold";
41                                                 text_class: "tizen";
42                                                 min: 0 0;
43                                                 size: 24;
44                                                 align: 0.0 0.5;
45                                         }
46                                         visible: 1;
47                                 }
48                         }
49                         part {
50                                 name: "gmt";
51                                 type: TEXT;
52                                 mouse_events: 0;
53                                 scale: 1;
54                                 description {
55                                         state: "default" 0.0;
56                                         rel1 { relative: 0.0 0.5; to: "bg"; }
57                                         rel2 { relative: 1.0 0.9; to: "bg"; }
58                                         color: 0 0 0 255;
59                                         text {
60                                                 text: "";
61                                                 font: "Tizen:style=Bold";
62                                                 text_class: "tizen";
63                                                 min: 0 0;
64                                                 size: 20;
65                                                 align: 0.0 0.5;
66                                         }
67                                         visible: 1;
68                                 }
69                         }
70                         part {
71                                 name: "button";
72                                 type: SWALLOW;
73                                 mouse_events: 1;
74                                 description {
75                                         state: "default" 0.0;
76                                         rel1 { relative: 0.0 0.0; to: "bg"; }
77                                         rel2 { relative: 1.0 1.0; to: "bg"; }
78                                         visible: 1;
79                                 }
80                         }
81                 } //parts
82         }
83 } //collections