Working on journal portrait mode
This commit is contained in:
1 parent
b41e312511
commit
1b172460e0
7 files changed
+617
-17
No files matched your search
@@ -0,0 +1,201 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"vertical_align": "top",
|
||||
"horizontal_align": "center",
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "background",
|
||||
"width": 640,
|
||||
"height": 1200,
|
||||
"y": 68,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "top",
|
||||
"texture": "resources/w/ui/img/journal/PortraitQuestJournalItemBkg001.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": "Главное Задание 1",
|
||||
"fontSize": 56,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": false,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
0.992,
|
||||
0.78,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "LinearLayout",
|
||||
"orientation": "horizontal",
|
||||
"spacing": 10,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "top",
|
||||
"x": 36,
|
||||
"y": 370,
|
||||
"width": 640,
|
||||
"height": 80,
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "objective1checkbox",
|
||||
"width": 60,
|
||||
"height": 60,
|
||||
"texture": "resources/w/ui/img/journal/quest_objective_completed.png"
|
||||
},
|
||||
{
|
||||
"type": "TextView",
|
||||
"name": "objective1name",
|
||||
"paddingY": 20,
|
||||
"width": 740.0,
|
||||
"height": 80.0,
|
||||
"textPaddingY": 20.0,
|
||||
"text": "Цель 1 Цель 1 Цель 1 Цель 1",
|
||||
"fontSize": 32,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": false,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
0.02,
|
||||
0.875,
|
||||
0.447,
|
||||
0.6
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "LinearLayout",
|
||||
"orientation": "horizontal",
|
||||
"spacing": 10,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "top",
|
||||
"x": 36,
|
||||
"y": 450,
|
||||
"width": 640,
|
||||
"height": 80,
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "objective2checkbox",
|
||||
"width": 60,
|
||||
"height": 60,
|
||||
"texture": "resources/w/ui/img/journal/quest_objective_blank.png"
|
||||
},
|
||||
{
|
||||
"type": "TextView",
|
||||
"name": "objective2name",
|
||||
"paddingY": 20,
|
||||
"width": 740.0,
|
||||
"height": 80.0,
|
||||
"text": "Цель 2",
|
||||
"textPaddingY": 20.0,
|
||||
"fontSize": 32,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": false,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
0.996,
|
||||
0.977,
|
||||
0.761,
|
||||
0.9
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "LinearLayout",
|
||||
"orientation": "horizontal",
|
||||
"spacing": 10,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "top",
|
||||
"x": 36,
|
||||
"y": 530,
|
||||
"width": 640,
|
||||
"height": 80,
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "objective3checkbox",
|
||||
"width": 60,
|
||||
"height": 60,
|
||||
"texture": "resources/w/ui/img/journal/quest_objective_blank.png"
|
||||
},
|
||||
{
|
||||
"type": "TextView",
|
||||
"name": "objective3name",
|
||||
"paddingY": 20,
|
||||
"width": 740.0,
|
||||
"height": 80.0,
|
||||
"text": "Цель 3",
|
||||
"textPaddingY": 20.0,
|
||||
"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": 32,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": false,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
0.996,
|
||||
0.977,
|
||||
0.761,
|
||||
0.75
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user