Splitties / WffDsl

Kotlin DSL to generate XML based Watch Face Format for Wear OS : https://developer.android.com/training/wearables/wff/watch-face
Apache License 2.0
16 stars 4 forks source link

No name on ComplicationSlot #21

Open yschimke opened 5 months ago

yschimke commented 5 months ago

From a generated watchface XML

        <ComplicationSlot
            name="AOD Complication_0"
            alpha="255"
            displayName="AOD Complication"
            height="49"
            isCustomizable="TRUE"
LouisCAD commented 5 months ago

You need to reference a string resource. Not documented in WFF ref…

yschimke commented 5 months ago

Is there an example?

I just see https://github.com/Splitties/WffDsl/blob/bb313975a51708a70cf5a932b8dabaf8a8e04858/core/src/test/kotlin/splitties/wff/SampleWatchFace.kt#L115