Working on phone ui
This commit is contained in:
1 parent
31130ec248
commit
3f5c4a381b
19 files changed
+608
-28
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,25 +0,0 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneExitButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"width": 1232,
|
||||
"height": 627,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/PhoneTest001.png",
|
||||
"hover": "resources/w/ui/img/PhoneTest001.png",
|
||||
"pressed": "resources/w/ui/img/PhoneTest001.png"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneExitButton",
|
||||
"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": "phoneMain",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": -60,
|
||||
"width": 617.4,
|
||||
"height": 991.2,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phone/PhoneChat001.png",
|
||||
"hover": "resources/w/ui/img/phone/PhoneChat001.png",
|
||||
"pressed": "resources/w/ui/img/phone/PhoneChat001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "chatTitleButton",
|
||||
"horizontal_gravity": "center",
|
||||
"x": 0.0,
|
||||
"y": 20.0,
|
||||
"width": 446.25,
|
||||
"height": 78.4,
|
||||
"text": "Мама",
|
||||
"textPaddingY": 16.0,
|
||||
"textPaddingX": 140.0,
|
||||
"fontSize": 32,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": true,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phone/CharHeader001.png",
|
||||
"hover": "resources/w/ui/img/phone/CharHeader001.png",
|
||||
"pressed": "resources/w/ui/img/phone/CharHeader001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "message01in",
|
||||
"width": 320.6,
|
||||
"height": 103.6,
|
||||
"x" : 430,
|
||||
"y" : 100,
|
||||
"horizontal_gravity": "left",
|
||||
"vertical_gravity": "top",
|
||||
"texture": "resources/w/ui/img/phone/chat01_01in.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "message02out",
|
||||
"width": 116.2,
|
||||
"height": 43.4,
|
||||
"x" : 430,
|
||||
"y" : 203.6,
|
||||
"horizontal_gravity": "right",
|
||||
"vertical_gravity": "top",
|
||||
"texture": "resources/w/ui/img/phone/chat01_02out.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,241 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneExitButton",
|
||||
"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": "phoneMain",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": -60,
|
||||
"width": 617.4,
|
||||
"height": 991.2,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phone/Phone002.png",
|
||||
"hover": "resources/w/ui/img/phone/Phone002.png",
|
||||
"pressed": "resources/w/ui/img/phone/Phone002.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "LinearLayout",
|
||||
"orientation": "vertical",
|
||||
"vertical_align": "top",
|
||||
"horizontal_align": "center",
|
||||
"spacing": 0,
|
||||
"x": 0,
|
||||
"y": 100,
|
||||
"width": "match_parent",
|
||||
"height": 800,
|
||||
"children": [
|
||||
{
|
||||
"type": "FrameLayout",
|
||||
"name": "chat1frame",
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"children": [
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "chat1button",
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"text": "Мама",
|
||||
"textPaddingY": 0.0,
|
||||
"textPaddingX": 100.0,
|
||||
"fontSize": 32,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": true,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phone/ChatListItem001.png",
|
||||
"hover": "resources/w/ui/img/phone/ChatListItem001.png",
|
||||
"pressed": "resources/w/ui/img/phone/ChatListItem001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "TextView",
|
||||
"name": "chat1msg",
|
||||
"x": 20.0,
|
||||
"y": 30.0,
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"text": "Я перевела тебе ...",
|
||||
"fontSize": 24,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": true,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
0.8,
|
||||
0.8,
|
||||
0.8,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "FrameLayout",
|
||||
"name": "chat2frame",
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"children": [
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "chat2button",
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"text": "Бишкек.Новости",
|
||||
"textPaddingY": 0.0,
|
||||
"textPaddingX": 100.0,
|
||||
"fontSize": 32,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": true,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phone/ChatListItem002.png",
|
||||
"hover": "resources/w/ui/img/phone/ChatListItem002.png",
|
||||
"pressed": "resources/w/ui/img/phone/ChatListItem002.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "chat2secondButton",
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"text": "В последнее время ...",
|
||||
"textPaddingY": 40.0,
|
||||
"textPaddingX": 100.0,
|
||||
"fontSize": 24,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": true,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
0.8,
|
||||
0.8,
|
||||
0.8,
|
||||
1.0
|
||||
],
|
||||
"textures": {
|
||||
"normal": "resources/transparent.png",
|
||||
"hover": "resources/transparent.png",
|
||||
"pressed": "resources/transparent.png"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "FrameLayout",
|
||||
"name": "chat3frame",
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"children": [
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "chat3button",
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"text": "Айпери",
|
||||
"textPaddingY": 0.0,
|
||||
"textPaddingX": 100.0,
|
||||
"fontSize": 32,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": true,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phone/ChatListItem003.png",
|
||||
"hover": "resources/w/ui/img/phone/ChatListItem003.png",
|
||||
"pressed": "resources/w/ui/img/phone/ChatListItem003.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "chat3Unread",
|
||||
"x" : 408,
|
||||
"y" : 24,
|
||||
"width": 28.7,
|
||||
"height": 28.7,
|
||||
"texture": "resources/w/ui/img/phone/ChatListUnread1.png"
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "chat3secondButton",
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"text": "Бекзат, ты должен ...",
|
||||
"textPaddingY": 40.0,
|
||||
"textPaddingX": 100.0,
|
||||
"fontSize": 24,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": true,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
0.8,
|
||||
0.8,
|
||||
0.8,
|
||||
1.0
|
||||
],
|
||||
"textures": {
|
||||
"normal": "resources/transparent.png",
|
||||
"hover": "resources/transparent.png",
|
||||
"pressed": "resources/transparent.png"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,227 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneExitButton",
|
||||
"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": "phoneMain",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": -60,
|
||||
"width": 617.4,
|
||||
"height": 991.2,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phone/PhoneChatList001.png",
|
||||
"hover": "resources/w/ui/img/phone/PhoneChatList001.png",
|
||||
"pressed": "resources/w/ui/img/phone/PhoneChatList001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "LinearLayout",
|
||||
"orientation": "vertical",
|
||||
"vertical_align": "top",
|
||||
"horizontal_align": "center",
|
||||
"spacing": 0,
|
||||
"x": 0,
|
||||
"y": 100,
|
||||
"width": "match_parent",
|
||||
"height": 800,
|
||||
"children": [
|
||||
{
|
||||
"type": "FrameLayout",
|
||||
"name": "chat1frame",
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"children": [
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "chat1button",
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"text": "Мама",
|
||||
"textPaddingY": 0.0,
|
||||
"textPaddingX": 100.0,
|
||||
"fontSize": 32,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": true,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phone/ChatListItem001.png",
|
||||
"hover": "resources/w/ui/img/phone/ChatListItem001.png",
|
||||
"pressed": "resources/w/ui/img/phone/ChatListItem001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "TextView",
|
||||
"name": "chat1msg",
|
||||
"x": 100.0,
|
||||
"y": 36.0,
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"text": "Я перевела тебе ...",
|
||||
"fontSize": 24,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": true,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
0.8,
|
||||
0.8,
|
||||
0.8,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "FrameLayout",
|
||||
"name": "chat2frame",
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"children": [
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "chat2button",
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"text": "Бишкек.Новости",
|
||||
"textPaddingY": 0.0,
|
||||
"textPaddingX": 100.0,
|
||||
"fontSize": 32,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": true,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phone/ChatListItem002.png",
|
||||
"hover": "resources/w/ui/img/phone/ChatListItem002.png",
|
||||
"pressed": "resources/w/ui/img/phone/ChatListItem002.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "TextView",
|
||||
"name": "chat2msg",
|
||||
"x": 100.0,
|
||||
"y": 36.0,
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"text": "В последнее время ...",
|
||||
"fontSize": 24,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": true,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
0.8,
|
||||
0.8,
|
||||
0.8,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "FrameLayout",
|
||||
"name": "chat3frame",
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"children": [
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "chat3button",
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"text": "Айпери",
|
||||
"textPaddingY": 0.0,
|
||||
"textPaddingX": 100.0,
|
||||
"fontSize": 32,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": true,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phone/ChatListItem003.png",
|
||||
"hover": "resources/w/ui/img/phone/ChatListItem003.png",
|
||||
"pressed": "resources/w/ui/img/phone/ChatListItem003.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "chat3Unread",
|
||||
"x" : 408,
|
||||
"y" : 24,
|
||||
"width": 28.7,
|
||||
"height": 28.7,
|
||||
"texture": "resources/w/ui/img/phone/ChatListUnread1.png"
|
||||
},
|
||||
{
|
||||
"type": "TextView",
|
||||
"name": "chat2msg",
|
||||
"x": 100.0,
|
||||
"y": 36.0,
|
||||
"width": 446.25,
|
||||
"height": 88.2,
|
||||
"text": "Бекзат, ты должен ...",
|
||||
"fontSize": 24,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": true,
|
||||
"wrap": true,
|
||||
"color": [
|
||||
0.8,
|
||||
0.8,
|
||||
0.8,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user