Hey #fedihelp,
I'm struggling with an #Android #widget issue, and I was wondering if anyone had any clue.
Basically: I have a widget with a grid of items. I want the items in the grid to stick to a certain aspect ratio, regardless of the widget width. The height should dynamically adjust so it always stays that aspect ratio. Normally I would use a ConstraintLayout, but that doesn't seem supported on widgets and I cannot find any good alternative.
Code here: github.com/CatimaLoyalty/Andro…
Thank you!
Widget with all cards by realwk · Pull Request #2566 · CatimaLoyalty/Android
Added grid-style widget for all cards Changed card view background to fill it with color even if there is pictureGitHub