Implementing Cards in Wear OS (TitleCard and AppCard)
When building for Wear OS, we have two significant cards that we need to consider: AppCard
and TitleCard
. A good use case for cards would be Notification and Smart Reply. If you use a wearable device, you might know what these are; if you don’t use a wearable device, you can look them up, but in this recipe, we will also explore examples.
Furthermore, if you create a Notification card, you intend to provide a quick and easy way to view and respond to notifications from your apps. When a notification arrives, it appears as a card on your watch face, which you can then swipe away or tap to open and interact with the notification.
As for Smart Reply cards, this feature uses machine learning to suggest responses to messages you receive based on the context of the message. These cards appear as a response option to notifications and allow you to quickly send a message without needing to type it out manually.
Both Notification...