Big Island

The BigIslandArea defines the content of the Dynamic Island when it is expanded. This view offers much more real estate and supports complex layouts like split views (Left/Right), progress bars, timers, and action buttons.

Usage Overview

You do not need to populate every field. Instead, use the fields that correspond to the layout “blocks” you need.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
val bigIsland = BigIslandArea(
    // Left Side: Icon + Text
    imageTextInfoLeft = ImageTextInfoLeft(
        picInfo = PicInfo(pic = "album_art"),
        textInfo = TextInfo(title = "Song Title")
    ),
    
    // Right Side: Waveform or Icon
    imageTextInfoRight = ImageTextInfoRight(
        picInfo = PicInfo(pic = "waveform_anim")
    ),
)

Data Model (BigIslandArea)

ParameterTypeDescription
imageTextInfoLeftImageTextInfoLeft?Configuration for the Left side of the island.
imageTextInfoRightImageTextInfoRight?Configuration for the Right side of the island.
sameWidthDigitInfoSameWidthDigitInfo?A specialized block for Timers or monospaced digits.
fixedWidthDigitInfoFixedWidthDigitInfo?A simplified digit block (often for counters).
progressTextInfoProgressTextInfo?A block combining text with a circular progress indicator.
textInfoTextInfo?Generic central text block.
picInfoPicInfo?Generic central image block.
actionsList<SimpleActionRef>?A list of action keys to display as buttons at the bottom of the island.

Layout Blocks

1. Image Text Info (Left/Right)

These blocks control the two main “sides” of the expanded island.

Left (ImageTextInfoLeft):

ParameterTypeDescription
typeIntDefault 1. Layout variant.
picInfoPicInfo?The icon/image.
textInfoTextInfo?The text label.
progressInfoCircularProgressInfo?Optional progress ring around the icon.

Right (ImageTextInfoRight):

ParameterTypeDescription
typeIntDefault 2. Layout variant.
picInfoPicInfo?The icon/image.
textInfoTextInfo?The text label.

2. Digit Info (Timers & Counters)

Specialized blocks for displaying numbers that change frequently (like countdowns) to prevent jitter.

SameWidthDigitInfo (Complex/Timer):

ParameterTypeDescription
digitString?The numeric value to display.
contentString?Label text.
timerInfoTimerInfo?Active timer configuration.
showHighlightColorBooleanWhether to apply the highlightColor (from ParamIsland) to these digits.
turnAnimBooleanEnable “odometer” style turning animation.

FixedWidthDigitInfo (Simple):

ParameterTypeDescription
digitIntInteger value.
contentString?Label text.
showHighlightColorBooleanHighlight tint.
turnAnimBooleanAnimation toggle.

3. Text Info

A shared wrapper used inside other blocks to define text content.

ParameterTypeDescription
titleStringRequired. Primary text.
contentString?Secondary text.
showHighlightColorBooleanIf true, the text uses the global highlight color.
narrowFontBoolean?If true, applies a condensed font style.

4. Progress Text Info

Combines a circular progress indicator with text description.

ParameterTypeDescription
progressInfoCircularProgressInfoRequired. The ring configuration.
textInfoTextInfo?The accompanying label.