Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with scaleType #19

Open
konopkoman opened this issue Mar 10, 2016 · 1 comment
Open

Issue with scaleType #19

konopkoman opened this issue Mar 10, 2016 · 1 comment

Comments

@konopkoman
Copy link

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

@Murtowski
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants