Add channelinfo view
[profile/tv/apps/native/air_livetv.git] / data / view / channelinfo.edc
1 /*
2  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
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/define.h"
18
19 group {
20         name, GRP_VIEW_CHANNELINFO;
21         parts {
22                 part {
23                         name, "bg";
24                         type, RECT;
25                         scale, 1;
26                         description {
27                                 state, "default" 0.0;
28                                 rel1.relative, 1.0 0.5;
29                                 rel2.relative, 1.0 0.5;
30                                 min, 536 174;
31                                 align, 1.0 0.5;
32                                 fixed, 1 1;
33                         }
34                         description {
35                                 state, "focused" 0.0;
36                                 inherit, "default" 0.0;
37                                 color, COLOR_BG_FOCUSED;
38                         }
39                 }
40                 part {
41                         name, "padding.left_top";
42                         type, SPACER;
43                         scale, 1;
44                         description {
45                                 state, "default" 0.0;
46                                 rel1 {
47                                         to, "bg";
48                                         relative, 0.0 0.0;
49                                 }
50                                 rel2 {
51                                         to, "bg";
52                                         relative, 0.0 0.0;
53                                 }
54                                 min, 28 26;
55                                 align, 0.0 0.0;
56                                 fixed, 1 1;
57                         }
58                 }
59                 part {
60                         name, PART_CHANNELINFO_CHANNEL;
61                         type, TEXT;
62                         scale, 1;
63                         description {
64                                 state, "default" 0.0;
65                                 rel1 {
66                                         to, "padding.left_top";
67                                         relative, 1.0 1.0;
68                                 }
69                                 rel2 {
70                                         to, "padding.left_top";
71                                         relative, 1.0 1.0;
72                                 }
73                                 text {
74                                         font, FONT_LIGHT;
75                                         size, 28;
76                                         align, 0.0 0.5;
77                                 }
78                                 color, COLOR_TEXT_NORMAL;
79                                 min, 344 32;
80                                 align, 0.0 0.0;
81                                 fixed, 1 1;
82                         }
83                 }
84                 part {
85                         name, "padding.title";
86                         type, SPACER;
87                         scale, 1;
88                         description {
89                                 state, "default" 0.0;
90                                 rel1 {
91                                         to, PART_CHANNELINFO_CHANNEL;
92                                         relative, 0.0 1.0;
93                                 }
94                                 rel2 {
95                                         to, PART_CHANNELINFO_CHANNEL;
96                                         relative, 0.0 1.0;
97                                 }
98                                 min, 0 6;
99                                 align, 0.0 0.0;
100                                 fixed, 1 1;
101                         }
102                 }
103                 part {
104                         name, PART_CHANNELINFO_TITLE;
105                         type, TEXT;
106                         scale, 1;
107                         description {
108                                 state, "default" 0.0;
109                                 rel1 {
110                                         to, "padding.title";
111                                         relative, 0.0 1.0;
112                                 }
113                                 rel2 {
114                                         to, "padding.title";
115                                         relative, 0.0 1.0;
116                                 }
117                                 text {
118                                         font, FONT_LIGHT;
119                                         size, 28;
120                                         align, 0.0 0.5;
121                                 }
122                                 color, COLOR_TEXT_NORMAL;
123                                 min, 484 32;
124                                 align, 0.0 0.0;
125                                 fixed, 1 1;
126                         }
127                 }
128                 part {
129                         name, "padding.time";
130                         type, SPACER;
131                         scale, 1;
132                         description {
133                                 state, "default" 0.0;
134                                 rel1 {
135                                         to, PART_CHANNELINFO_TITLE;
136                                         relative, 0.0 1.0;
137                                 }
138                                 rel2 {
139                                         to, PART_CHANNELINFO_TITLE;
140                                         relative, 0.0 1.0;
141                                 }
142                                 min, 0 24;
143                                 align, 0.0 0.0;
144                                 fixed, 1 1;
145                         }
146                 }
147                 part {
148                         name, PART_CHANNELINFO_TIME;
149                         type, TEXT;
150                         scale, 1;
151                         description {
152                                 state, "default" 0.0;
153                                 rel1 {
154                                         to, "padding.time";
155                                         relative, 0.0 1.0;
156                                 }
157                                 rel2 {
158                                         to, "padding.time";
159                                         relative, 0.0 1.0;
160                                 }
161                                 text {
162                                         font, FONT_LIGHT;
163                                         size, 28;
164                                         align, 0.0 0.5;
165                                 }
166                                 color, 112 112 112 255;
167                                 min, 484 28;
168                                 align, 0.0 0.0;
169                                 fixed, 1 1;
170                         }
171                 }
172                 part {
173                         name, "padding.right_top";
174                         type, SPACER;
175                         scale, 1;
176                         description {
177                                 state, "default" 0.0;
178                                 rel1 {
179                                         to, "bg";
180                                         relative, 1.0 0.0;
181                                 }
182                                 rel2 {
183                                         to, "bg";
184                                         relative, 1.0 0.0;
185                                 }
186                                 min, 22 28;
187                                 align, 1.0 0.0;
188                                 fixed, 1 1;
189                         }
190                 }
191                 part {
192                         name, PART_CHANNELINFO_STATUS;
193                         type, SWALLOW;
194                         scale, 1;
195                         description {
196                                 state, "default" 0.0;
197                                 rel1 {
198                                         to, "padding.right_top";
199                                         relative, 0.0 1.0;
200                                 }
201                                 rel2 {
202                                         to, "padding.right_top";
203                                         relative, 0.0 1.0;
204                                 }
205                                 min, 142 28;
206                                 align, 1.0 0.0;
207                                 fixed, 1 1;
208                         }
209                 }
210         }
211 }