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

How to avoid centering the image on load? #295

Closed
saket opened this issue Feb 22, 2017 · 1 comment
Closed

How to avoid centering the image on load? #295

saket opened this issue Feb 22, 2017 · 1 comment

Comments

@saket
Copy link

saket commented Feb 22, 2017

Hey Dave, thanks for this fantastic library. I was wondering if there are any plans for setting the gravity to the top of ImageView instead of always centering it?

davemorrissey added a commit that referenced this issue Nov 9, 2017
…op left corner is shown first - SCALE_TYPE_START
@davemorrissey
Copy link
Owner

The next release will support setMinimumScaleType(SubsamplingScaleImageView.SCALE_TYPE_START), which will set the minimum scale so no black bars are visible and show the top of a tall image and the left of a wide image. Hopefully this meets everyone's needs.

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