MostafaGazar / CustomShapeImageView

A library for supporting custom shaped ImageView(s) using SVGs and paint shapes
http://mostafagazar.github.io/CustomShapeImageView
Apache License 2.0
1.62k stars 425 forks source link

How can we scale the svg when using custom svg ? #21

Open weswes opened 8 years ago

weswes commented 8 years ago

I've a custom svg file, and I would like the image to take the whole width on screen (see image below).

capture d ecran 2016-06-07 a 13 58 52

How can I do ?

MostafaGazar commented 8 years ago

Is the shape in the svg the same width as the svg root width, like: <svg width="_96_" height="_96_" and <rect height="_96_" width="_96_"