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

Scaling options for Images #13

Closed
rinav opened this issue Jun 19, 2014 · 10 comments
Closed

Scaling options for Images #13

rinav opened this issue Jun 19, 2014 · 10 comments

Comments

@rinav
Copy link

rinav commented Jun 19, 2014

While I added few Image urls the slider works fine. but I am unable to get the Image from the Slider so that I can set its ScaleType to something center, fitxy, centerCrop etc.

Any workaround to get the image from the slider before or after adding it to the slider.

@daimajia
Copy link
Owner

Oh, sorry, there is no method to get the image in the slider.

I think I will add some method to set image ScaleType.

@rinav
Copy link
Author

rinav commented Jun 19, 2014

Thank you for the quick response. Yes that would do the job and would look good.

Before you add can you think of any workaround?

@daimajia
Copy link
Owner

I don't know if you are familiar with Picasso, if you are, you can just alter this line to set scaletype.

@rinav
Copy link
Author

rinav commented Jun 19, 2014

OK Thanks for the help and great lib.

I'll look into Picasso and try to modify the line.

@daimajia
Copy link
Owner

As an suggestion, you can have a look this issue

@rinav
Copy link
Author

rinav commented Jun 19, 2014

Oh that looks great...

@daimajia
Copy link
Owner

add setScaleType method in v1.0.7

@rinav
Copy link
Author

rinav commented Jun 20, 2014

Thanks for the Quick Enhancement!!!
Works like charm :)

@daimajia
Copy link
Owner

It's what I should do! :-)

@ghost
Copy link

ghost commented Feb 22, 2017

Thank you

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

No branches or pull requests

2 participants