Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set background color for Alexa APL smart display devices

How to set a background color for an Amazon Alexa APL skill? This is how my .json file looks like: https://raw.githubusercontent.com/alexa-labs/skill-sample-nodejs-sauce-boss/master/lambda/custom/documents/recipeIntent.json

like image 835
Tom Avatar asked May 31 '19 18:05

Tom


1 Answers

I can see you have some background images that used best-fill and also a defined size 100vwx100vh so I was wondering where would you like to add a background color.

The solution I found for a similar case was adding a Frame like this:

{
  "type": "Frame",
  "width": "100vw",
  "height": "100vh",  
  "backgroundColor": "blue"
}

I hope this helps somehow.

like image 167
Francisco Rivas Avatar answered Oct 03 '22 18:10

Francisco Rivas