Skip to content

ImageView inside MaterialCardView fit width and height with shape corners  #293

@Zeliret

Description

@Zeliret

Hello. I want to place an ImageView inside a card.
And the card have a shapeAppearance with a different rounded corners.
I set cardPreventCornerOverlap = false to make the image fit the card dimensions but I want that image be cut at the corners as well.
How can I do that?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions