-
Notifications
You must be signed in to change notification settings - Fork 3
Themes
Maciej Janiszewski edited this page Mar 9, 2019
·
1 revision
Users can personalize their MS Bands by using themes. Themes have two elements.
- Color Scheme
- Me Tile background
A set of 6 colors encoded as cuint32
. I provided default values from Cargo for reference.
- Base Color (
#7842cf
) - Highlight (
#8b61f2
) - Lowlight (
#693fbc
) - Secondary Text (
#a7a7aa
) - High Contrast (
#885af9
) - Muted (
#482d8c
)
Device can also display a wallpaper image on Me tile. Image is encoded as bgr565 without headers. For Cargo, there are 156 default wallpapers - 12 styles, 13 colors schemes. Only current image, style ID and wallpaper ID is stored on device. While Health app could probably fetch image from device from preview, it's only using IDs to display one of default images.
Different Bands require different image sizes.
- Cargo: 310 x 102,
- Envoy: 310 x 128.
- Phone sends
CargoInstalledAppListStartStripSyncStart
command to block the UI. - Band displays
Syncing
screen. - Phone sends
CargoThemeSetFirstPartyTheme
command with 6 uint16 numbers (colors) as payload. - Phone sends
CargoFireballWriteMeTileImageWithID
command with background ID as argument. - Phone sends
CargoInstalledAppListStartStripSyncEnd
command to unblock the UI. - Band goes back to home screen.