2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
19 // A TextView with a red background
22 "text": "Hello World",
23 "parent-origin": "TOP_CENTER",
24 "anchor-point": "TOP_CENTER",
25 "background-color": [1, 0, 0, 1],
29 // A container with a yellow background
32 "parent-origin": "CENTER",
33 "anchor-point": "BOTTOM_CENTER",
34 "background-color": [1, 1, 0, 1],
38 // A container with an image
41 "parent-origin": "CENTER",
42 "anchor-point": "TOP_CENTER",
43 "size": [400, 150, 1],
46 "filename": "{DALI_IMAGE_DIR}button-background.png"
51 // A container with the same image blended in with a blue background
54 "parent-origin": "BOTTOM_CENTER",
55 "anchor-point": "BOTTOM_CENTER",
56 "size": [400, 150, 1],
57 "background-color": [0, 0, 1, 1],
60 "filename": "{DALI_IMAGE_DIR}button-background.png"