{
  "root": {
    "type": "FrameLayout",
    "name": "inventory_root",
    "width": "match_parent",
    "height": "match_parent",
    "children": [
      {
        "type": "FrameLayout",
        "name": "inventory_items_panel",
        "x": 50.0,
        "y": 150.0,
        "width": 320.0,
        "height": 420.0,
        "children": [
          {
            "type": "StaticImage",
            "name": "panel_background",
            "x": 0.0,
            "y": 0.0,
            "width": 320.0,
            "height": 420.0,
            "texture": "resources/w/red.png"
          },
          {
            "type": "TextView",
            "name": "inventory_title_text",
            "x": 20.0,
            "y": 18.0,
            "width": 230.0,
            "height": 34.0,
            "text": "Inventory",
            "fontSize": 24,
            "fontPath": "resources/fonts/DroidSans.ttf",
            "centered": false,
            "topAligned": true,
            "paddingX": 0.0,
            "paddingY": 0.0,
            "color": [1.0, 1.0, 1.0, 1.0]
          },
          {
            "type": "TextView",
            "name": "inventory_items_text",
            "x": 20.0,
            "y": 70.0,
            "width": 280.0,
            "height": 320.0,
            "text": "Inventory (Empty)",
            "fontSize": 18,
            "fontPath": "resources/fonts/DroidSans.ttf",
            "centered": false,
            "topAligned": true,
            "wrap": true,
            "paddingX": 0.0,
            "paddingY": 0.0,
            "maxLines": 14,
            "color": [1.0, 1.0, 1.0, 1.0]
          },
          {
            "type": "TextButton",
            "name": "close_inventory_button",
            "x": 266.0,
            "y": 16.0,
            "width": 40.0,
            "height": 40.0,
            "text": "X",
            "fontSize": 20,
            "fontPath": "resources/fonts/DroidSans.ttf",
            "textCentered": true,
            "color": [1.0, 1.0, 1.0, 1.0],
            "textures": {
              "normal": "resources/w/blue.png",
              "hover": "resources/w/blue.png",
              "pressed": "resources/w/blue.png"
            }
          }
        ]
      }
    ]
  }
}
