Android 12 is here, it's time to renew our widgets!
Android widget SDK is 12 years old, since it was first released with Android 1.5 back in 2009.
In the latest Android release we got a revamp in widgets capabilities, look-and-feel and integration with Android newest features. Widgets configuration was made easier, their layout is now responsive to the space on the screen and widget colors can be automatically tweaked using the Material You theming engine. It seems like it's the right time to dust off our old widgets and possibly make new ones!
In this talk we will dive into a simple widget creation and configuration and explore most of the new capabilities added for Android 12, keeping an eye on the backwards compatibility in order to make our widgets look cool on any device.
This talk was presented to Droidcon Italy in 2021