How do I get a gradient in Digital Time?


I’m trying to make a watchface based on my phone’s lockscreen (one ui 5) and I want to give it a gradient. I have seen ohter people ask this question but it hasn’t explained how to do it. Anybody that knows how to do this please leave an answer.

Thanks in advance to any answers.

(Photo 1:my lockscreen, photo 2:WFS
Screenshot_20221123_210508_One UI Home

You should be able to make a gradient layer and use the digital clock as the MASK. I have not tried it yet, but in theory, it should work fine.

Good luck!

1 Like

It is mentioned (briefly explained) in the documentation:

1 Like

Thank you for the documentation, it worked perfectly.

1 Like

Thank you for the solution, it looks exactly how i wanted it too.

1 Like