Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • have you checked this answer? Commented Feb 17, 2023 at 22:35
  • Yes... still trying to wrap my head around it
    – sgt.johan
    Commented Feb 21, 2023 at 17:47
  • Mainly I can't make the image scale to the card parameters...and I really don't want to hardcode size numbers
    – sgt.johan
    Commented Feb 21, 2023 at 18:19
  • as the answer says, you need Modifier.width(IntrinsicSize.Max) on your card, after that fillMaxWidth should work as you expect Commented Feb 21, 2023 at 19:16
  • You could try matchParentSize(), like in this answer: stackoverflow.com/a/73108617/311060 Commented Aug 26 at 15:31