1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-20 20:10:15 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/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
..
WidgetScreenDetailsActivity.java Xiaomi: add support for 2x3 widget layouts 2024-04-12 20:54:49 +02:00
WidgetScreenListAdapter.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
WidgetScreensListActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00