如何在alexa中设计手机名片
how to design mobile card in alexa
我已经开发了一个应用程序并且它运行正常,但是在设计时,尽管在示例中执行了相同的代码,但我无法实现示例中给出的内容。我想实现this design where image is in the center with title above and description down but what I am getting is this,侧图,侧标题和描述下来。请让我知道如何实现这一目标。这是我的代码示例
"response" : {
"outputSpeech" : {
"type" : "SSML",
"ssml" : "<speak>Hello,welcome!</speak>"
},
"card": {
"type": "Standard",
"title": "My Title",
"text": "My description",
"image": {
"smallImageUrl": "small image with the width 720 and height 480",
"largeImageUrl": "large image with the width 1200 and height=800"
}
},
"reprompt": {
"outputSpeech": {
"type": "SSML",
"ssml": "<speak>I am waiting for your command!!</speak>"
}
},
"shouldEndSession" : false
}
亚马逊似乎更改了 Standard Card
布局。图像现在缩小并向左推。当前卡片文档中显示的示例具有新布局。您所指的博客 post 已经超过一年半
我已经开发了一个应用程序并且它运行正常,但是在设计时,尽管在示例中执行了相同的代码,但我无法实现示例中给出的内容。我想实现this design where image is in the center with title above and description down but what I am getting is this,侧图,侧标题和描述下来。请让我知道如何实现这一目标。这是我的代码示例
"response" : {
"outputSpeech" : {
"type" : "SSML",
"ssml" : "<speak>Hello,welcome!</speak>"
},
"card": {
"type": "Standard",
"title": "My Title",
"text": "My description",
"image": {
"smallImageUrl": "small image with the width 720 and height 480",
"largeImageUrl": "large image with the width 1200 and height=800"
}
},
"reprompt": {
"outputSpeech": {
"type": "SSML",
"ssml": "<speak>I am waiting for your command!!</speak>"
}
},
"shouldEndSession" : false
}
亚马逊似乎更改了 Standard Card
布局。图像现在缩小并向左推。当前卡片文档中显示的示例具有新布局。您所指的博客 post 已经超过一年半