[Task-mgr] Merge 3.0 into 2.4
[apps/core/preloaded/taskmanager.git] / res / edje / layout.edc
1 /*
2  *  Task Manager
3  *
4  * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  */
19
20  #include "conf.h"
21
22 styles {
23         style {
24                 name: "no_item_style";
25                 base: "font=Tizen:style=Bold font_size=30 color=#ffffff align=center style=shadow shadow_color=#000000bf wrap=mixed";
26                 tag:  "br" "\n";
27                 tag:  "hilight" "+ font_weight=Bold";
28                 tag:  "b" "+ font_weight=Bold";
29                 tag:  "tab" "\t";
30         }
31 }
32
33 collections {
34         base_scale: 2.1;
35         group {
36                 name: "layout";
37                 parts {
38                         part {
39                                 name: "bg";
40                                 type: RECT;
41                                 scale: 1;
42                                 description {
43                                         state: "default" 0.0;
44                                         color: 0 0 0 BG_COLOR;
45                                         rel1 { relative: 0.0 0.0; }
46                                         rel2 { relative: 1.0 1.0; }
47                                         min: BASE_WIDTH BASE_HEIGHT;
48                                         visible: 1;
49                                 }
50                         }
51                         part {
52                                 name: "scroller";
53                                 type: SWALLOW;
54                                 scale: 1;
55                                 description {
56                                         state: "default" 0.0;
57                                         rel1 { relative: 0.0 0.0; to: "bg"; }
58                                         rel2 { relative: 1.0 1.0; to: "bg"; }
59                                         align: 0.5 1.0;
60                                         visible: 1;
61                                 }
62                         }
63                         part {
64                                 name: "no,apps,txt";
65                                 type: TEXTBLOCK;
66                                 scale: 1;
67                                 description {
68                                         state: "default" 0.0;
69                                         color: 255 255 255 255;
70                                         rel1 { relative: 0.15 0.4; to: "bg"; }
71                                         rel2 { relative: 0.85 0.5; to: "bg"; }
72                                         text {
73                                                 text: " ";
74                                                 style: "no_item_style";
75                                                 align: 0.5 0.5;
76                                         }
77                                         visible: 0;
78                                 }
79                                 description {
80                                         state: "show" 0.0;
81                                         inherit: "default" 0.0;
82                                         visible: 1;
83                                 }
84                         }
85                 } //parts
86                 programs {
87                         program {
88                                 signal: "no,apps,txt,show";
89                                 source: "no,apps,txt";
90                                 action: STATE_SET "show" 0.0;
91                                 target: "no,apps,txt";
92                         }
93                         program {
94                                 signal: "no,apps,txt,hide";
95                                 source: "no,apps,txt";
96                                 action: STATE_SET "default" 0.0;
97                                 target: "no,apps,txt";
98                         }
99                 }
100         } //group
101 } //collections