Modifies Live-tv application for displaying background image on Home
[profile/tv/apps/native/air_livetv.git] / data / live-tv.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 collections {
20         base_scale: 2.0;
21         group {
22                 name, GRP_VIEW_BGIMAGE;
23                 images {
24                         image, "background.png" COMP;
25                 }
26                 parts {
27                         part {
28                                 name, "bg";
29                                 type, RECT;
30                                 scale, 1;
31                                 description {
32                                         state, "default" 0.0;
33                                         color, 244 244 244 255;
34                                 }
35                         }
36                         part {
37                                 name, "part.bgimage";
38                                 type, IMAGE;
39                                 scale, 1;
40                                 description {
41                                         state, "default" 0.0;
42                                         image.normal, "background.png";
43                                         rel1 {
44                                                 to, "bg";
45                                                 relative, 0.0 0.0;
46                                         }
47                                         rel2 {
48                                                 to, "bg";
49                                                 relative, 1.0 1.0;
50                                         }
51                                         visible, 1;
52                                         min, 1920 1080;
53                                         align, 0.0 0.0;
54                                         fixed, 1 1;
55                                 }
56                         }
57                 }
58         }
59 }