The Google I / O 2021 was not solely the opening keynote wherein the varied Google executives confirmed the upcoming information. This occasion was principally devoted to shopper customers whereas the technical information have been proven within the following days with ad-hoc panels devoted to builders. In one of these, Google has proven how the widgets in Android 12 will likely be revolutionary (and impressed by these of iOS 14).
Within the “Updating Widgets” I / O session, i googler shared among the adjustments aimed toward builders that ought to make it a lot simpler to create constant and enticing widgets for Android 12.
The revamped widget API will concentrate on making them extra interactive and discoverable. To make widgets extra helpful, there will likely be native assist for interactive parts corresponding to checkboxes and switches: on this manner will probably be doable to work together with apps extra simply with out having to open them.
New configuration flags will give builders extra management over the customization of their widgets. For customers, this can imply seamless customization of widgets already positioned on the house display.
When it comes to design, Google will power widgets to have rounded corners, so if builders do not design round this, their widgets will find yourself wanting misplaced.
The dynamic coloration system launched with Materials Additionally, you will be prolonged to third-party widgets, which is basically thrilling. Inconsistency is among the largest issues with Android widgets in the meanwhile and this can go a good distance in harmonizing their look.
Widgets could be set to match the system theme and work properly with mild and darkish modes as properly. Visibility will likely be improved as builders will be capable to present an outline of their initiatives with extra data on what they’ll do.
It should even be doable to specify extra actual dimensions and responsive layouts, which ought to give builders and customers much more freedom. This can even permit for improved scaling so widgets will look good no matter display measurement or decision.
As with something like this, lots will rely upon third-party builders and the diploma of adherence to the brand new pointers. Google is doing its half, nevertheless, and can hopefully encourage adoption in the very best manner by launching Android 12 alongside an prolonged suite of widgets for its apps.
In case you are within the panel, you’ll be able to evaluate it in full beneath: