Hello,
I use the combo button as descriped in the Components Guide but only the bottom left one:
<use id="btn-br" href="#combo-button-lower-right" fill="fb-peach"> <set href="combo-button-icon" attributeName="href" to="play.png"/> <set href="combo-button-icon-press" attributeName="href" to="play_press.png"/> <set href="combo-button-stroke" attributeName="display" to="inline"/> </use>
I also use the import like descripted there.
when starting the app I get the error msg:
[22:10:08]Error -1 Invalid path '/mnt/assets/./resources/play.png'
(there is also no triangle shown inside of the button)
when clicking the button I get the error msg:
[22:10:15]Error -1 Invalid path '/mnt/assets/./resources/play_press.png'
Do I have to store the bitmaps myself? are the missing bitmaps the reason for these path-errors or is there anything else going wrong?
Capitano
Answered! Go to the Best Answer.
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.
Yes, you need to have images in your project resources folder.
We're working on providing an icon set you can use.
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.
Thanks a lot - now it's working
(but also had to use "onclick" instead of "onactivate" as descriped in the Component guide... 😉
btw: You should implement a set of default icons in the combobutton object that should be used if one doesn't specify his own icons...
Capitano
Best Answer