114 lines
4.0 KiB
JSON
114 lines
4.0 KiB
JSON
{
|
|
"root": {
|
|
"type": "FrameLayout",
|
|
"name": "hud_root",
|
|
"width": "match_parent",
|
|
"height": "match_parent",
|
|
"vertical_align": "center",
|
|
"horizontal_align": "center",
|
|
"children": [
|
|
{
|
|
"type": "Button",
|
|
"name": "inventoryExitButton2",
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "center",
|
|
"y": 0,
|
|
"width": "match_parent",
|
|
"height": "match_parent",
|
|
"textures": {
|
|
"normal": "resources/transparent.png",
|
|
"hover": "resources/transparent.png",
|
|
"pressed": "resources/transparent.png"
|
|
}
|
|
},
|
|
{
|
|
"type": "Button",
|
|
"name": "inventoryMain",
|
|
"width": 640,
|
|
"height": 1200,
|
|
"y": 68,
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"textures": {
|
|
"normal": "resources/w/ui/img/inv/PortraitInventoryItemBkg003.png",
|
|
"hover": "resources/w/ui/img/inv/PortraitInventoryItemBkg003.png",
|
|
"pressed": "resources/w/ui/img/inv/PortraitInventoryItemBkg003.png"
|
|
}
|
|
},
|
|
{
|
|
"type": "Button",
|
|
"name": "inventoryExitButton",
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"width": 120,
|
|
"height": 120,
|
|
"x": 267,
|
|
"y": 60,
|
|
"textures": {
|
|
"normal": "resources/w/ui/img/Close001_State=Default.png",
|
|
"hover": "resources/w/ui/img/Close001_State=Selected.png",
|
|
"pressed": "resources/w/ui/img/Close001_State=Tap.png"
|
|
}
|
|
},
|
|
{
|
|
"type": "StaticImage",
|
|
"name": "selectedItemPic",
|
|
"width": 274,
|
|
"height": 274,
|
|
"x": -200,
|
|
"y": 190,
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"texture": "resources/w/ui/img/inv/ItemSelReportCard002.png"
|
|
},
|
|
{
|
|
"type": "TextView",
|
|
"name": "selectedText",
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"x": 10,
|
|
"y": 140,
|
|
"width": 600,
|
|
"height": 137,
|
|
"text": "Серебряный нож.",
|
|
"fontSize": 48,
|
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
|
"textCentered": false,
|
|
"topAligned": true,
|
|
"wrap": true,
|
|
"paddingX": 0.0,
|
|
"paddingY": 0.0,
|
|
"color": [
|
|
0.318,
|
|
0.635,
|
|
1.0,
|
|
1.0
|
|
]
|
|
},
|
|
{
|
|
"type": "TextView",
|
|
"name": "selectedDescription",
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"x": 4.0,
|
|
"y": 520.0,
|
|
"width": 580.0,
|
|
"height": 400.0,
|
|
"text": "А все бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут а мы идем.",
|
|
"fontSize": 48,
|
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
|
"textCentered": false,
|
|
"topAligned": true,
|
|
"wrap": true,
|
|
"paddingX": 0.0,
|
|
"paddingY": 0.0,
|
|
"color": [
|
|
1.0,
|
|
1.0,
|
|
1.0,
|
|
1.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |