1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-13 21:49:27 +01:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/capabilities/widgets
MrYoranimo 35217aa405 Xiaomi: add support for 2x3 widget layouts
The Xiaomi Smart Band 8 Pro shows widgets in a two by three grid.
Previously, opening the widget configuration for such a device from the
device-specific preferences would crash Gadgetbridge because the layouts
in such a grid was not supported.

This commit adds definitions for layouts in a 2x3 grid to the
WidgetLayout enum, adds a definition for a full screen widget to the
WidgetType enum, defines rendering definitions for the new layouts to
WidgetScreenDetailsActivity, and defines translations for the new
layouts and type to XiaomiWidgetManager.
2024-04-12 20:54:49 +02:00
..
WidgetLayout.java Xiaomi: add support for 2x3 widget layouts 2024-04-12 20:54:49 +02:00
WidgetManager.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
WidgetPart.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
WidgetPartSubtype.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
WidgetScreen.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
WidgetType.java Xiaomi: add support for 2x3 widget layouts 2024-04-12 20:54:49 +02:00