CustomShapeImageView icon indicating copy to clipboard operation
CustomShapeImageView copied to clipboard

Issue with scaleType

Open konopkoman opened this issue 8 years ago • 1 comments

Issue with scaleType="center" when set an image in runtime. Image shown as centerCrop instead.

konopkoman avatar Mar 10 '16 15:03 konopkoman

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"/>

Murtowski avatar May 04 '17 18:05 Murtowski