Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use Text Toggle Tile

Hi,
I would like to have some simple settings in my app. I think the Text Toggle Tile would be the best component for this, but I can´t find any example code for this. Is there any svg-component for the ui-component listed in the design guidelines?

 

https://dev.fitbit.com/build/guides/design-guidelines/ui-components/#text-toggle-tile

Best Answer
2 REPLIES 2

I think that Fitbit forgot to document the 'Text Toggle Tile' in the  SVG Components guide.

 

You can look at the generic tile documentation here https://dev.fitbit.com/build/guides/user-interface/svg-components/views/#advanced-usage

 

You can put any UI content inside the <symbol id="my-tile-item"> YOUR UI SVG HERE </symbol>

Best Answer
0 Votes

I'll second this question... I'd really like to use the Text Toggle Tile as well. For now, the Checkbox Tile accomplishes my purposes, but the Text Toggle Tile would be more appropriate.

Best Answer