{
"templates": [
{"file": "template.bal", "alias": "t1"}
],
"header": {"source": "t1"},
"root": {"source": "t1", "name": "root"},
"views": [
{
"name": "TopPanel",
"source": "t1.Panel1",
"parent": "root",
"horizontal": {"anchor": "BOTH", "left": 5, "right": 5},
"vertical": {"anchor": "TOP", "top": 30, "height": 50},
"modifications": {
"drawable.borderWidth": 2,
"drawable.borderColor": "#FF0001D0",
"drawable.color": "#FFE8F5E9"
},
"script": "DDD.SpreadControlsHorizontally(TopPanel, 100dip, 5dip)"
},
{
"name": "Button1",
"source": "t1.Button1",
"parent": "TopPanel",
"horizontal": {"anchor": "LEFT", "left": 10, "width": 80},
"vertical": {"anchor": "BOTH", "top": 2, "bottom": 2},
"modifications": {
"text": "Btn #1"
}
},
{
"name": "Button2",
"source": "Button1",
"parent": "TopPanel",
"horizontal": {"anchor": "LEFT", "left": 90, "width": 80},
"modifications": {
"text": "Btn #2"
}
},
{
"name": "Button3",
"source": "Button1",
"parent": "TopPanel",
"horizontal": {"anchor": "LEFT", "left": 170, "width": 80},
"modifications": {
"text": "Btn #3"
}
},
{
"name": "bar1",
"source": "t1.AnotherProgressBar1",
"parent": "root",
"horizontal": {"anchor": "BOTH", "left": 5, "right": 5},
"vertical": {"anchor": "BOTTOM", "bottom": 5, "height": 20},
"modifications": {
"customProperties.ProgressColor": "#FF0008C8"
}
},
{
"name": "bar2",
"source": "bar1",
"parent": "root",
"vertical": {"anchor": "BOTTOM", "bottom": 30, "height": 20}
},
{
"name": "TextField1",
"source": "t1.B4XFloatTextField1",
"parent": "root",
"modifications": {
"customProperties.Hint": "Full name"
},
"script": "TextField1.SetLeftAndRight(25%x, 75%x)\nTextField1.VerticalCenter = 30%y"
},
{
"name": "Label1",
"source": "t1.Label1",
"parent": "root",
"horizontal": {"anchor": "LEFT", "left": 10, "width": 200},
"vertical": {"anchor": "TOP", "top": 220, "height": 40},
"modifications": {
"text": "Label1",
"drawable.borderWidth": 2,
"drawable.cornerRadius": 5,
"drawable.color": "#00FFFFFF",
"drawable.borderColor": "#FF969696",
"fontsize": 15,
"style": "BOLD",
"textColor": "#FFFF00E9",
"hAlignment": "CENTER_HORIZONTAL"
}
},
{
"name": "Label2",
"source": "Label1",
"parent": "root",
"vertical": {"anchor": "TOP", "top": 260, "height": 40},
"modifications": {
"textColor": "#FFFF0013"
}
}
]
}