Widget action unhandled: `ACTION_APPWIDGET_OPTIONS_CHANGED`
Also:
null,android.appwidget.action.APPWIDGET_UPDATE_OPTIONS
Originally posted by @david-allison in #17151
I'm taking this on as discussed on Discord. I'll will be implementing the resize logic for both widgets.
Hi @david-allison ! I wanted to clarify one thing before opening the PR. While testing, I noticed that on very small widget heights, the deck list overlaps with the Edit button, and the text gets cut off. I have a plan to add bottom padding to the XML and limit the number of decks shown based on the current widget height.
Should I include these UI/XML files in this PR to make it complete solution, or would you prefer I keep this PR strictly to the Kotlin refactor?
@DoomsCoder I believe this is related to:
- https://github.com/ankidroid/Anki-Android/issues/18524
and therefore should be in a separate PR, especially as the implementation could be hairy.
I do bundle multiple fixes in PRs sometimes, but typically those are 'obvious', with the expectation that the changes will be split out if there's issues. If a PR handles 2 things, we now require both fixes to be correct before merging the PR, which slows us down
Make sense! I'll stick to the Kotlin refactor