On the List template, you can now show more content in the secondary text while the vehicle is in a parked state.
When the user starts driving, the template will truncate the secondary text to 2 lines to minimize distraction.
Sample flow
User action | Where action is performed | Step count after action |
---|---|---|
While parked, the user reads the full content in the list. Secondary text can be more than 2 lines. | List template (parked state) | 1 |
When the user starts driving, the template is refreshed and the secondary text for each list item is truncated to 2 lines. A toast provides context during the first transition from parked to driving in this template. | List template (driving state; refresh) | 1 |
The toast goes away after a few seconds. If the user stops driving at this step, the template goes back to the expanded List template at the beginning of the task. | List template (driving state; refresh) | 1 |