Currently ImageView doesn't support material shaping. First example on this site:
https://material.io/design/communication/imagery.html#
shows an image with rounded corners. This can be achieved by wrapping ImageView inside a CardView but having a built in support for material shaping would be more convenient.
Not sure if it should be a ShapeableImageView component or if it would be better to create MaterialImageView and replace regular ImageView with it during inflation (similar to other components like MaterialButton for example).
Currently
ImageViewdoesn't support material shaping. First example on this site:https://material.io/design/communication/imagery.html#
shows an image with rounded corners. This can be achieved by wrapping ImageView inside a CardView but having a built in support for material shaping would be more convenient.
Not sure if it should be a
ShapeableImageViewcomponent or if it would be better to createMaterialImageViewand replace regularImageViewwith it during inflation (similar to other components likeMaterialButtonfor example).