241 lines
8.4 KiB
JSON
241 lines
8.4 KiB
JSON
{
|
|
"root": {
|
|
"type": "FrameLayout",
|
|
"name": "hud_root",
|
|
"width": "match_parent",
|
|
"height": "match_parent",
|
|
"vertical_align": "top",
|
|
"horizontal_align": "center",
|
|
"children": [
|
|
{
|
|
"type": "Button",
|
|
"name": "journalItemExitButton2",
|
|
"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": "journalMain",
|
|
"width": 640,
|
|
"height": 1200,
|
|
"y": 68,
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"textures": {
|
|
"normal": "resources/w/ui_en/img/journal/PortraitQuestJournalItemBkg002.png",
|
|
"hover": "resources/w/ui_en/img/journal/PortraitQuestJournalItemBkg002.png",
|
|
"pressed": "resources/w/ui_en/img/journal/PortraitQuestJournalItemBkg002.png"
|
|
}
|
|
},
|
|
{
|
|
"type": "Button",
|
|
"name": "journalItemExitButton",
|
|
"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": "TextView",
|
|
"name": "quest_title",
|
|
"x": 30.0,
|
|
"y": 230.0,
|
|
"width": 640.0,
|
|
"height": 44.0,
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"text": "",
|
|
"fontSize": 40,
|
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
|
"textCentered": false,
|
|
"topAligned": false,
|
|
"wrap": true,
|
|
"color": [
|
|
0.992,
|
|
0.78,
|
|
0.0,
|
|
1.0
|
|
]
|
|
},
|
|
{
|
|
"type": "StaticImage",
|
|
"name": "objective1checkbox",
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"width": 60,
|
|
"height": 60,
|
|
"x": -255,
|
|
"y": 380,
|
|
"texture": "resources/w/ui/img/journal/quest_objective_completed.png"
|
|
},
|
|
{
|
|
"type": "LinearLayout",
|
|
"orientation": "horizontal",
|
|
"spacing": 0,
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"vertical_align": "bottom",
|
|
"name": "objective1nameLayout",
|
|
"paddingY": 0,
|
|
"width": 540.0,
|
|
"height": 60.0,
|
|
"x": 56,
|
|
"y": 370,
|
|
"children": [
|
|
{
|
|
"type": "TextView",
|
|
"name": "objective1name",
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"paddingY": -20,
|
|
"width": 540.0,
|
|
"height": 60.0,
|
|
"text": "",
|
|
"fontSize": 32,
|
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
|
"textCentered": false,
|
|
"topAligned": false,
|
|
"wrap": true,
|
|
"color": [
|
|
0.02,
|
|
0.875,
|
|
0.447,
|
|
0.6
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "StaticImage",
|
|
"name": "objective2checkbox",
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"width": 60,
|
|
"height": 60,
|
|
"x": -255,
|
|
"y": 460,
|
|
"texture": "resources/w/ui/img/journal/quest_objective_blank.png"
|
|
},
|
|
{
|
|
"type": "LinearLayout",
|
|
"orientation": "horizontal",
|
|
"name": "objective2nameLayout",
|
|
"spacing": 0,
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"vertical_align": "bottom",
|
|
"width": 540.0,
|
|
"height": 80.0,
|
|
"x": 56,
|
|
"y": 450,
|
|
"children": [
|
|
{
|
|
"type": "TextView",
|
|
"name": "objective2name",
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"paddingY": 0,
|
|
"width": 540.0,
|
|
"height": 60.0,
|
|
"text": "",
|
|
"fontSize": 32,
|
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
|
"textCentered": false,
|
|
"topAligned": false,
|
|
"wrap": true,
|
|
"color": [
|
|
0.996,
|
|
0.977,
|
|
0.761,
|
|
0.9
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "StaticImage",
|
|
"name": "objective3checkbox",
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"width": 60,
|
|
"height": 60,
|
|
"x": -255,
|
|
"y": 540,
|
|
"texture": "resources/w/ui/img/journal/quest_objective_blank.png"
|
|
},
|
|
{
|
|
"type": "LinearLayout",
|
|
"orientation": "horizontal",
|
|
"spacing": 0,
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"vertical_align": "bottom",
|
|
"name": "objective3nameLayout",
|
|
"paddingY": 0,
|
|
"width": 540.0,
|
|
"height": 60.0,
|
|
"x": 56,
|
|
"y": 530,
|
|
"children": [
|
|
{
|
|
"type": "TextView",
|
|
"name": "objective3name",
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"width": 540.0,
|
|
"height": 60.0,
|
|
"text": "",
|
|
"fontSize": 32,
|
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
|
"textCentered": false,
|
|
"topAligned": false,
|
|
"wrap": true,
|
|
"color": [
|
|
0.996,
|
|
0.977,
|
|
0.761,
|
|
0.9
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "TextView",
|
|
"name": "quest_description",
|
|
"x": 4.0,
|
|
"y": 480.0,
|
|
"width": 580.0,
|
|
"height": 400.0,
|
|
"horizontal_gravity": "center",
|
|
"vertical_gravity": "top",
|
|
"text": "",
|
|
"fontSize": 24,
|
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
|
"textCentered": false,
|
|
"topAligned": false,
|
|
"wrap": true,
|
|
"color": [
|
|
0.996,
|
|
0.977,
|
|
0.761,
|
|
0.75
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |