Fixed resource package install error
[platform/core/uifw/dali-toolkit.git] / plugins / dali-sharp / examples / json / date-picker.json
1 /*
2  * Copyright (c) 2017 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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 {
18   // Data picker loaded directly on to the stage
19   //
20   "stage": [{
21
22       "type":"FlexContainer",
23       "name":"exampleDatePicker",
24       "parentOrigin": "CENTER",
25       "anchorPoint": "CENTER",
26       "flexDirection":"ROW",
27       "size":[480.0, 150, 0 ],
28       "actors": [
29       {
30
31         "type": "Spin",
32         "name": "Year",
33         "parentOrigin": "CENTER",
34         "anchorPoint": "CENTER",
35         "MinValue":1900,
36         "MaxValue":2100,
37         "Value":2017,
38         "Step":1,
39         "TextColor":[0.0,0.0,1.0,1.0],
40         "properties": { // properties registered dynamically
41             "flex":0.3,
42             "flexMargin": [5.0,0.0,5.0,0.0]
43         }
44       },
45       {
46
47         "type": "Spin",
48         "name": "Month",
49         "parentOrigin": "CENTER",
50         "anchorPoint": "CENTER",
51         "parentOrigin": "CENTER",
52         "Step":1,
53         "MinValue":1,
54         "MaxValue":12,
55         "Value":10,
56         "TextColor":[1.0,1.0,1.0,1.0],
57         "properties": { // properties registered dynamically
58             "flex":0.3,
59             "flexMargin": [5.0,0.0,5.0,0.0]
60         }
61
62       },
63       {
64
65         "type": "Spin",
66         "name": "Day",
67         "parentOrigin": "CENTER",
68         "anchorPoint": "CENTER",
69         "MinValue":1,
70         "MaxValue":31,
71         "Value":1,
72         "TextColor":[1.0,0.0,0.0,1.0],
73          "properties": { // properties registered dynamically
74             "flex":0.3,
75             "flexMargin": [5.0,0.0,5.0,0.0]
76         }
77       }]
78
79 }]
80
81 }
82