mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-01 03:23:26 +02: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. |
||
---|---|---|
.. | ||
WidgetScreenDetailsActivity.java | ||
WidgetScreenListAdapter.java | ||
WidgetScreensListActivity.java |