I'm trying to scale an image in my UI so that it scales without distorting. Typically in SVG code that's done with preserveAspectRatio, but FitBit OS doesn't recognise that attribute, much less does anything with scaling. Here's the code I'm trying:
<image x="0" y="0" preserveAspectRatio="xMidYMid slice" width="100%" height="140" href="buzz.png" load="sync" />
Is there another way to change how an image is scaled on the device?
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.