Personality UI

Each GarminĀ® product has a unique device personality. This personality can be a combination of the industrial design, the screen technology, the inputs available, and the graphic styling of the system software. While there are often common components and patterns across Garmin products, the device personality alters how the user interfaces with those components. This makes it difficult for developers to make apps that feel native to the device.

The goal of Personality UI is to help you navigate these design variations by providing a style system to adapt your design language to Garmin devices, along with a set of reusable components for your apps.

Monkey Style

Monkey style is a domain-specific property language for managing style elements. It borrows heavily from CSS, but has been tailored for Monkey C. Monkey C allows developers to create style property constants that can adapt among different Garmin products.

Personality Components

The personality components are a library of assets and monkey style definitions you can build upon when creating your apps.

How to Read this Guide

The components outlined in this guide use a combination of the resource system, Toybox.WatchUi classes, and personality selectors. Each component has a set of examples that outlines how to create it. The sample code examples are broken down with the headers listed below.

HeaderExplanation
layout.xmlBelongs in the layouts portion of your resource definitions.
menus.xmlBelongs within the menus element of your resource definitions.
InputDelegate.mcBelongs in your input handler implementation.
View.mcBelongs in your view implementation.

Component Overview

ChapterDescription
ColorsLearn how colors are expressed in the design system.
IconographyIntegrate system iconography into your app.
TypographyChoose the appropriate font.
Input HintsProvide visual guidance to users for actions.
PromptsProvide textual information to the user.
ConfirmationsAsk the user if they want to proceed.
ToastsProvide a small status update.
Action ViewsCreate pages with interactive information.
Page LoopsBreak information across multiple pages.
Progress IndicatorsGive the status of a long-running action.