Background image of TV profile
[profile/tv/apps/native/air_livetv.git] / data / view / error.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_ERROR;
21         images {
22                 image, "background.jpg" COMP;
23         }
24         parts {
25                 part {
26                         name, "bg";
27                         type, RECT;
28                         scale, 1;
29                         description {
30                                 state, "default" 0.0;
31                                 color, 244 244 244 255;
32                         }
33                 }
34                 part {
35                         name, "part.bgimage";
36                         type, IMAGE;
37                         scale, 1;
38                         description {
39                                 state, "default" 0.0;
40                                 image.normal, "background.jpg";
41                                 rel1 {
42                                         to, "bg";
43                                         relative, 0.0 0.0;
44                                 }
45                                 rel2 {
46                                         to, "bg";
47                                         relative, 1.0 1.0;
48                                 }
49                                 visible, 1;
50                                 min, 1920 1080;
51                                 align, 0.0 0.0;
52                                 fixed, 1 1;
53                         }
54                 }
55                 part {
56                         name, "part.error";
57                         type, RECT;
58                         scale, 1;
59                         description {
60                                 state, "default" 0.0;
61                                 rel1.relative, 0.5 0.5;
62                                 rel2.relative, 0.5 0.5;
63                                 min, 0 82;
64                                 align, 0.5 0.5;
65                                 fixed, 0 1;
66                         }
67
68                         part {
69                                 name, PART_ERROR_TITLE;
70                                 type, TEXT;
71                                 scale, 1;
72                                 description {
73                                         rel1.relative, 0.0 0.0;
74                                         rel2.relative, 1.0 0.0;
75                                         text {
76                                                 font, FONT_LIGHT;
77                                                 size, 36;
78                                                 align, 0.5 0.5;
79                                                 min, 1 0;
80                                                 ellipsis, -1;
81                                         }
82                                         color, 228 51 51 255;
83                                         min, 0 36;
84                                         align, 0.5 0.0;
85                                         fixed, 1 1;
86                                         visible, 0;
87                                 }
88                         }
89                         part {
90                                 name, PART_ERROR_TEXT;
91                                 type, TEXT;
92                                 scale, 1;
93                                 description {
94                                         rel1.relative, 0.0 1.0;
95                                         rel2.relative, 1.0 1.0;
96                                         text {
97                                                 font, FONT_LIGHT;
98                                                 size, 28;
99                                                 align, 0.5 1.0;
100                                                 min, 1 0;
101                                                 ellipsis, -1;
102                                         }
103                                         color, 116 116 116 255;
104                                         min, 0 48;
105                                         align, 0.5 1.0;
106                                         fixed, 1 1;
107                                         visible, 0;
108                                 }
109                         }
110                 }
111         }
112 }