我想向包含两个图像的 hangauts-chat 客户端发送消息。
我使用这段代码:
{"cards":
[
{
"header":{"title":"TITOLO 1","subtitle":"Sottotitolo 1"},
"sections":
[
{"widgets":
[
{"image":{"imageUrl":"https://picsum.photos/200/200/?image=653"}},
{"buttons":
[
{"textButton":{"text":"SCELTA A1","onClick":{"action":{"actionMethodName":"carousel A1"}}}},
{"textButton":{"text":"SCELTA B1","onClick":{"openLink":{"url":"http://www.quix.it"}}}}
]
}
]
}
]
},
{
"header":{"title":"TITOLO 2","subtitle":"Sottotitolo 2"},
"sections":
[
{
"widgets":
[
{"image":{"imageUrl":"https://picsum.photos/200/200/?image=7"}},
{"buttons":
[
{"textButton":{"text":"SCELTA A2","onClick":{"action":{"actionMethodName":"carousel A2"}}}},
{"textButton":{"text":"SCELTA B2","onClick":{"openLink":{"url":"http://www.quix.it"}}}}
]
}
]
}
]
}
]
}
但图像显示在另一个下方
我希望看到它们水平对齐,如下图所示
你有什么建议吗?