CustomShapeImageView
CustomShapeImageView copied to clipboard
Issue with scaleType
Issue with scaleType="center"
when set an image in runtime. Image shown as centerCrop
instead.
I'm using custom svg shape, and then load image with Picasso. SvgImageView.scaleType does not react on any of scale type. The image inside has always the same properities - streched horizontally in my case
<com.meg7.widget.SvgImageView android:layout_width="match_parent" android:layout_height="match_parent" android:layout_margin="@dimen/avatar_shape_margin_large" android:adjustViewBounds="true" android:scaleType="fitCenter" app:svg_raw_resource="@raw/custom_avatar_shape"/>