Tizen 2.0 Release
[profile/ivi/phone-contacts.git] / lib / edc / nocontent_layout.edc
1 /*
2 * Copyright 2012 Samsung Electronics Co., Ltd
3 *
4 * Licensed under the Flora License, Version 1.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://floralicense.org/license/
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 #define IMAGE_PATH "../images/contact_images/"
18
19 styles {
20         style {
21                 name: "layout_textblock_style";
22                 base: "font=Tizen:style=Regular text_class=tizen_medium font_size=32 color=#ffffff align=center wrap=mixed";
23         }
24 }
25 collections {
26         group {
27                 images {
28                         image: IMAGE_PATH"00_Nocontents_picture.png" COMP;
29                 }
30                 name: "nocontent_layout";
31                 parts {
32                         part {
33                                 name: "base";
34                                 type: RECT;
35                                 description {
36                                         state: "default" 0.0;
37                                         color: 0 0 0 0;
38                                 }
39                         }
40                         part {
41                                 name: "top.padding";
42                                 type: RECT;
43                                 scale: 1;
44                                 description {
45                                         state: "default" 0.0;
46                                         visible: 0;
47                                         fixed: 0 1;
48                                         min: 0 215;
49                                         align: 0.5 0.0;
50                                         rel1 { relative: 0.0 0.0; to: "base"; }
51                                         rel2 { relative: 1.0 0.0; to: "base"; }
52                                 }
53                         }
54                         part {
55                                 name: "image";
56                                 type: IMAGE;
57                                 description {
58                                         state: "default" 0.0;
59                                         fixed: 1 1;
60                                         min: 280 280;
61                                         rel1 { relative: 0.0 1.0; to: "top.padding"; }
62                                         rel2 { relative: 1.0 1.0; to: "top.padding"; }
63                                         align: 0.5 0.5;
64                                         image {
65                                                 normal: IMAGE_PATH"00_Nocontents_picture.png";
66                                         }
67                                         aspect: 1.0 1.0;
68                                         aspect_preference: BOTH;
69                                 }
70                         }
71                         part {
72                                 name: "middle.padding";
73                                 type: RECT;
74                                 scale: 1;
75                                 description {
76                                         state: "default" 0.0;
77                                         visible: 0;
78                                         fixed: 0 1;
79                                         min: 0 38;
80                                         align: 0.5 0.0;
81                                         rel1 { relative: 0.0 1.0; to: "image"; }
82                                         rel2 { relative: 1.0 1.0; to: "image"; }
83                                 }
84                         }
85                         part {
86                                 name: "elm.text";
87                                 type: TEXTBLOCK;
88                                 mouse_events: 0;
89                                 scale: 1;
90                                 description {
91                                         state: "default" 0.0;
92                                         align: 0.5 0.0;
93                                         min: 0 165;
94                                         fixed: 0 1;
95                                         rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "middle.padding"; }
96                                         rel2 { relative: 1.0 1.0;  to_x: "base"; to_y: "middle.padding"; }
97                                         color: 128 128 128 255;
98                                         text {
99                                                 min: 0 0;
100                                                 max: 0 1;
101                                                 style: "layout_textblock_style";
102                                                 align: 0.5 0.5;
103                                         }
104                                 }
105                         }
106                 }
107         }
108 }
109