Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[android] clipPath and borderRadius wont clip the content #8473

Open
@farfromrefug

Description

@farfromrefug

on iOS, either setting the borderRadius or the clipPath will clip the view content.
For example in an imageView, the image will be clipped to the shape.
On android it is not the case.

The correct behavior is the iOS one.
On android this can be achieved with oultine https://developer.android.com/training/material/shadows-clipping

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions