Create new default theme and adds night theme files
[profile/ivi/lemolo.git] / data / themes / default / answer_screen.edc
1 group {
2    name: "elm/layout/ofono-efl/answer";
3    min: WIDTH HEIGHT;
4    parts {
5
6       images {
7          image: "bg_call.jpg" COMP;
8       }
9
10       part {
11          name: "bg";
12          type: IMAGE;
13          mouse_events: 0;
14          description {
15             state: "default" 0.0;
16             color: 255 255 255 255;
17             color_class: "primary";
18             min: WIDTH HEIGHT;
19             image {
20                normal: "bg_call.jpg";
21                scale_hint: STATIC;
22             }
23             fill.smooth: 1;
24          }
25       }
26
27       part {
28          name: "img.border";
29          type: RECT;
30          scale: 1;
31          mouse_events: 0;
32          description {
33             state: "default" 0.0;
34             color: 255 255 255 255;
35             color_class: "action";
36             rel1 {
37                to: "elm.swallow.photo";
38                relative: 0.0 0.0;
39                offset: -1 -1;
40             }
41             rel2 {
42                to: "elm.swallow.photo";
43                relative: 1.0 1.0;
44                offset: 0 0;
45             }
46          }
47       }
48
49       part {
50          name: "img.bg";
51          type: RECT;
52          scale: 1;
53          mouse_events: 0;
54          description {
55             state: "default" 0.0;
56             color: 255 255 255 255;
57             color_class: "primary";
58             rel1 {
59                to: "elm.swallow.photo";
60                relative: 0.0 0.0;
61                offset: 0 0;
62             }
63             rel2 {
64                to: "elm.swallow.photo";
65                relative: 1.0 1.0;
66                offset: -1 -1;
67             }
68          }
69       }
70
71       part {
72          name: "elm.swallow.photo";
73          type: SWALLOW;
74          mouse_events: 0;
75          description {
76             state: "default" 0.0;
77             min: CALL_PHOTO_SIZE CALL_PHOTO_SIZE;
78             max: CALL_PHOTO_SIZE CALL_PHOTO_SIZE;
79             rel1.offset: BORDER_PADDING SEPARATOR_HEIGHT;
80             rel2 {
81                relative: 0.0 0.0;
82                offset: (CALL_PHOTO_SIZE + BORDER_PADDING) (SEPARATOR_HEIGHT + CALL_PHOTO_SIZE);
83             }
84          }
85       }
86
87       part {
88          name: "elm.text.name";
89          type: TEXT;
90          mouse_events: 0;
91          description {
92             state: "default" 0.0;
93             color: 255 255 255 255;
94             color_class: "action";
95             rel1 {
96                to: "elm.swallow.photo";
97                relative: 1.0 0.0;
98                offset: ITEM_PADDING 0;
99             }
100             rel2 {
101                relative: 1.0 0.0;
102                offset: 0 (SEPARATOR_HEIGHT + CONTACT_PHOTO_SIZE);
103             }
104             text {
105                text: "Gustavo Barbieri";
106                font: FONT_NORMAL;
107                size: SIZE_HUGE;
108                size_range: SIZE_TINY SIZE_HUGE;
109                fit: 1 1;
110                align: 0.0 0.5;
111                ellipsis: 0.0;
112             }
113          }
114       }
115
116       part {
117          name: "elm.text.state";
118          type: TEXT;
119          mouse_events: 0;
120          description {
121             state: "default" 0.0;
122             color: 255 255 255 255;
123             color_class: "secondary";
124             fixed: 1 1;
125             align: 0.0 0.0;
126             rel1 {
127                to: "elm.text.name";
128                relative: 0.0 1.0;
129                offset: 0 -20;
130             }
131             rel2 {
132                to: "elm.text.name";
133                relative: 0.0 1.0;
134                offset: 0 -1;
135             }
136             text {
137                text: "Incoming...";
138                font: FONT_NORMAL;
139                size: SIZE_MEDIUM;
140                min: 1 1;
141                align: 0.0 0.0;
142             }
143          }
144       }
145
146       part {
147          name: "elm.swallow.slider";
148          type: SWALLOW;
149          description {
150             state: "default" 0.0;
151             rel1 {
152                relative: 0.0 1.0;
153                offset: 0 -LIST_CONTACT_HEIGHT;
154             }
155             rel2 {
156                relative: 1.0 1.0;
157             }
158          }
159       }
160    }
161
162 }