[TIZEN] Added Resource Container Sample Application.
[platform/upstream/iotivity.git] / service / resource-encapsulation / examples / tizen / RESampleClientApp / edc_resource / re_container_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 group
22 {
23     name: "container_layout";
24     parts
25     {
26         part
27         {
28             name: "listnew";
29             type: SWALLOW;
30             scale: 1;
31             description
32             {
33                 rel1.relative: 0.01 0.1;
34                 rel2.relative: 0.99 0.7;
35             }
36         }
37         part
38         {
39             name: "log_bg";
40             type: RECT;
41             scale: 1;
42             description
43             {
44                 state: "default" 0.0;
45                 rel1.relative: 0.01 0.71;
46                 rel2.relative: 0.98 1.0;
47                 color: 220 220 220 255;
48             }
49         }
50         part
51         {
52             name: "log";
53             type: SWALLOW;
54             scale: 1;
55             description
56             {
57                 rel1.to: "log_bg";
58                 rel2.to: "log_bg";
59             }
60         }
61     }
62 }
63
64 group
65 {
66     name: "popup_datetime_text";
67     parts
68     {
69         part
70         {
71             name: "pad_l";
72             type: SPACER;
73             scale: 1;
74             description
75             {
76                 state: "default" 0.0;
77                 min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
78                 fixed: 1 0;
79                 rel1.relative: 0.0 0.0;
80                 rel2.relative: 0.0 1.0;
81                 align: 0.0 0.0;
82             }
83         }
84         part
85         {
86             name: "pad_r";
87             type: SPACER;
88             scale: 1;
89             description
90             {
91                 state: "default" 0.0;
92                 min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
93                 fixed: 1 0;
94                 rel1.relative: 1.0 0.0;
95                 rel2.relative: 1.0 1.0;
96                 align: 1.0 0.0;
97             }
98         }
99         part
100         {
101             name: "elm.swallow.content";
102             type: SWALLOW;
103             scale: 1;
104             description
105             {
106                 state: "default" 0.0;
107                 min: 0 POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC;
108                 max: -1 POPUP_EDITFIELD_LAYOUT_MINMAX_HEIGHT_INC;
109                 align: 0.5 0.5;
110                 rel1
111                 {
112                     relative: 1.0 0.0;
113                     to_x: "pad_l";
114                 }
115                 rel2
116                 {
117                     relative: 0.0 1.0;
118                     to_x: "pad_r";
119                 }
120             }
121         }
122     }
123 }