summaryrefslogtreecommitdiff
path: root/res/edje/layout.edc
blob: fc93a145ea212676354e0d2983b077c0fdcf3891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/*
 * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

 #include "conf.edc"

images {
	image: "bg.png" COMP;
}
styles {
	style {
		name: "no_item_style";
		base: "font=Tizen:style=Bold font_size=20 color=#ffffff align=center style=shadow shadow_color=#000000bf wrap=mixed";
		tag:  "br" "\n";
		tag:  "hilight" "+ font_weight=Bold";
		tag:  "b" "+ font_weight=Bold";
		tag:  "tab" "\t";
	}
}

collections {
	base_scale: 2.6;
	group {
		name: "layout";
		parts {
			part {
				name: "bg";
				type: IMAGE;
				scale: 1;
				description {
					state: "default" 0.0;
					rel1 { relative: 0.0 0.0; }
					rel2 { relative: 1.0 1.0; }
					image { normal: "bg.png"; }
					visible: 1;
				}
			}
			part {
				name: "scroller";
				type: SWALLOW;
				scale: 1;
				description {
					state: "default" 0.0;
					rel1 { relative: 0.0 0.0; to: "bg"; }
					rel2 { relative: 1.0 1.0; to: "bg"; }
					visible: 1;
				}
			}
			part {
				name: "no,apps,txt";
				type: TEXTBLOCK;
				scale: 1;
				description {
					state: "default" 0.0;
					color: 255 255 255 255;
					text {
						text: " ";
						style: "no_item_style";
						align: 0.5 0.5;
					}
					visible: 0;
				}
				description {
					state: "show" 0.0;
					inherit: "default" 0.0;
					visible: 1;
				}
			}
		} //parts
		programs {
			program {
				signal: "mouse,clicked,*";
				source: "no,apps,txt";
				action: SIGNAL_EMIT "no,apps,clicked" "no,apps,txt";
			}
			program {
				signal: "no,apps,txt,show";
				source: "no,apps,txt";
				action: STATE_SET "show" 0.0;
				target: "no,apps,txt";
			}
			program {
				signal: "no,apps,txt,hide";
				source: "no,apps,txt";
				action: STATE_SET "default" 0.0;
				target: "no,apps,txt";
			}
		}
	} //group
} //collections