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.
20 "name":"simple-table",
22 "background-color": [0.5,0.5,0,1],
23 "parent-origin": "CENTER",
27 "cell-padding": [10, 5],
28 "layout-rows": { // set the height of the rows
29 "0": { "policy": "fixed", "value": 40 },
30 "1": { "policy": "relative", "value": 0.33 },
31 "2": { "policy": "fixed", "value": 120 }
33 "layout-columns": { // set the widths of the columns
34 "1": { "policy": "fixed", "value": 150 },
35 "2": { "policy": "relative", "value": 0.35 },
36 "3": { "policy": "relative", "value": 0.15 }
42 "filename": "{DALI_IMAGE_DIR}gallery-large-1.jpg"
44 "custom-properties": { // properties registered dynamically
45 "cell-indices": [0,0],// property to specify the top-left cell this child occupies
46 "row-span":4, // property to specify how many rows this child occupies, if not set, default value is 1
47 "column-spam":1 // property to specify how many columns this child occupies, if nor set, defualt cvalue is 1
53 "filename": "{DALI_IMAGE_DIR}gallery-large-2.jpg"
55 "custom-properties": {
63 "filename": "{DALI_IMAGE_DIR}gallery-large-3.jpg"
65 "custom-properties": {
72 "filename": "{DALI_IMAGE_DIR}gallery-large-4.jpg"
74 "custom-properties": {