lukakilic / concentric-watch-face

Concentric watch face from the Pixel Watch, built with Watch Face Format
https://play.google.com/store/apps/details?id=com.watchfacedesigns.Concentric
10 stars 0 forks source link
watchface watchfaceformat wear-os wff

Concentric - Watch Face

Get it on Google Play

The Concentric design is originally from the Google Pixel Watch (1). This project recreates it using Watch Face Format.

Modify the Watch Face

The XML code can be found in the res/raw folder. Watch Face Format is well documented in case you wish to modify the watch face.

Build the Watch Face

⚠️ For a detailed explanation, refer to wear-os-samples/WatchFaceFormat

Here's a quick overview:

git clone https://github.com/lukakilic/concentric-watch-face.git

Create a build-wff.sh file and paste the contents of this shell script into it. Adjust the paths of ANDROID_HOME, AAPT2, ANDROID_JAR, BUNDLETOOL to match your system.

Your folder should look like this:

/example-folder
│___ build-wff.sh    
└─── concentric-watch-face/

Then execute:

./build-wff.sh concentric-watch-face

Finally, install the watch face with:

adb install concentric-watch-face/out/result_apks/universal.apk

Validate the code

If you've made changes to the code, validate it using the memory footprint evaluator. This will ensure the watch face runs efficiently and check for errors in the XML code using the XSD validator.