The Concentric design is originally from the Google Pixel Watch (1). This project recreates it using Watch Face Format.
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.
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
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.