Imported Upstream version 1.0.0
[platform/upstream/iotivity.git] / service / resource-encapsulation / examples / tizen / NestedAttributeClientApp / edc_resource / re_client_control.edc
1 /******************************************************************
2  *
3  * Copyright 2015 Samsung Electronics All Rights Reserved.
4  *
5  *
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  ******************************************************************/
20
21 #define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 15
22 #define POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC 96
23
24 group
25 {
26     name: "group_layout";
27     parts
28     {
29         part
30         {
31             name: "button1";
32             type: SWALLOW;
33             scale: 1;
34             description
35             {
36                 rel1.relative: 0.01 0.01;
37                 rel2.relative: 0.5 0.09;
38             }
39         }
40         part
41         {
42             name: "button2";
43             type: SWALLOW;
44             scale: 1;
45             description
46             {
47                 rel1.relative: 0.51 0.01;
48                 rel2.relative: 1.0 0.09;
49             }
50         }
51         part
52         {
53             name: "list";
54             type: SWALLOW;
55             scale: 1;
56             description
57             {
58                 rel1.relative: 0.01 0.1;
59                 rel2.relative: 0.99 0.7;
60             }
61         }
62         part
63         {
64             name: "log_bg";
65             type: RECT;
66             scale: 1;
67             description
68             {
69                 state: "default" 0.0;
70                 rel1.relative: 0.01 0.45;
71                 rel2.relative: 0.98 1.0;
72                 color: 220 220 220 255;
73             }
74         }
75         part
76         {
77             name: "log";
78             type: SWALLOW;
79             scale: 1;
80             description
81             {
82                 rel1.to: "log_bg";
83                 rel2.to: "log_bg";
84             }
85         }
86     }
87 }
88
89 group
90 {
91     name: "popup_datetime_text";
92     parts
93     {
94         part
95         {
96             name: "pad_l";
97             type: SPACER;
98             scale: 1;
99             description
100             {
101                 state: "default" 0.0;
102                 min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
103                 fixed: 1 0;
104                 rel1.relative: 0.0 0.0;
105                 rel2.relative: 0.0 1.0;
106                 align: 0.0 0.0;
107             }
108         }
109         part
110         {
111             name: "pad_r";
112             type: SPACER;
113             scale: 1;
114             description
115             {
116                 state: "default" 0.0;
117                 min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
118                 fixed: 1 0;
119                 rel1.relative: 1.0 0.0;
120                 rel2.relative: 1.0 1.0;
121                 align: 1.0 0.0;
122             }
123         }
124         part
125         {
126             name: "elm.swallow.content";
127             type: SWALLOW;
128             scale: 1;
129             description
130             {
131                 state: "default" 0.0;
132                 min: 0 POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC;
133                 max: -1 POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC;
134                 align: 0.5 0.5;
135                 rel1
136                 {
137                     relative: 1.0 0.0;
138                     to_x: "pad_l";
139                 }
140                 rel2
141                 {
142                     relative: 0.0 1.0;
143                     to_x: "pad_r";
144                 }
145             }
146         }
147     }
148 }