I can't find solution to implement kind of ProgressBar in Widget. I see, that Text component should be changed if has type .timer for example. I see default widget Clock, with nice animation of moving arrow. But am I able to implement custom animation in widget?
Put GIF widget on android: GifWidget Press and hold on an open space on your home screen to bring up the page settings. Find and open Widgets or something similar (adding widgets may vary depending on your device or the launcher you are using). Scroll till you find GifWidget, tap on it.
Touch and hold the Lock Screen until the Customize button appears, then tap Customize. Tap the box above or below the time to see the widgets that you can add to your Lock Screen. Tap or drag the widgets that you want to add. Tap Done.
According to a Frameworks Engineer on Developer Apple Forum:
Animations and pan/zoom gesture do not work in widgets built with WidgetKits. Checkout https://developer.apple.com/videos/play/wwdc2020/10028/, where what works and doesn't.
Throughout the WWDC20 Meet WidgetKit video mentioned above, Apple stresses that Widgets are not mini-apps, so they don't support gesture based views (like scroll views) or animations. Widgets are meant to only have glanceable information. From WWDC20 Meet WidgetKit Video Transcript:
These widgets are not mini-apps. We do not support scrolling within the widget, interactive elements like switches and other system controls, nor videos or animated images.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With