mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-13 21:49:27 +01:00
35217aa405
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. |
||
---|---|---|
.. | ||
WidgetLayout.java | ||
WidgetManager.java | ||
WidgetPart.java | ||
WidgetPartSubtype.java | ||
WidgetScreen.java | ||
WidgetType.java |