Fun with APL 1.7 and "span"

Frank Börncke

With APL 1.7 we have some new options to change the appearance of text:

https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apl-text.html#span-attributes

{
    "type": "APL",
    "version": "1.7",
    "theme": "light",
    "mainTemplate": {
        "item": {
            "type": "Text",
            "fontSize": "48dp",
            "text": "Customizable <span color='orange' fontSize='32dp'><i>text styling</i></span> <span color='purple'>in</span> <span color='royalblue' fontSize='72dp'><b>APL</b></span> has <span color='brown'>arrived</span>"
        }
    }
}
DownloadOpen in Editor
1
0
Likes0
Share
Supported Viewport Profiles
  • Mobile Portrait, Small
  • Mobile Landscape, Medium
  • Mobile Landscape, Large
  • Hub Round
  • Hub Landscape, Small
  • Hub Landscape, Medium
  • Hub Landscape, Large
  • TV Fullscreen
Minimum required APL version1.7
Comments

Be the first to comment.