{ "root": { "type": "FrameLayout", "x": 0, "y": 0, "width": "match_parent", "height": "match_parent", "children": [ { "type": "Button", "name": "shootButton", "x": 0, "y": 0, "width": 150, "height": 150, "horizontal_gravity": "right", "vertical_gravity": "bottom", "textures": { "normal": "resources/shoot_normal.png", "hover": "resources/shoot_hover.png", "pressed": "resources/shoot_pressed.png" } }, { "type": "Button", "name": "shootButton2", "x": 0, "y": 0, "width": 150, "height": 150, "horizontal_gravity": "left", "vertical_gravity": "bottom", "textures": { "normal": "resources/shoot_normal.png", "hover": "resources/shoot_hover.png", "pressed": "resources/shoot_pressed.png" } }, { "type": "Slider", "name": "velocitySlider", "x": 10, "y": 200, "width": 80, "height": 300, "value": 0.0, "orientation": "vertical", "horizontal_gravity": "right", "vertical_gravity": "bottom", "textures": { "track": "resources/velocitySliderTexture.png", "knob": "resources/velocitySliderButton.png" } } ] } }