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

Top cropping #89

Open
macasfaj opened this issue Jun 17, 2020 · 1 comment
Open

Top cropping #89

macasfaj opened this issue Jun 17, 2020 · 1 comment

Comments

@macasfaj
Copy link

One quick question. I love using CONTENT_MODE_FILL for cropping the images. But, is there any way to crop the images from the top? MODE_TOP (only iOS) don't do the same as FILL.

If it's not possible, this new feature would be very helpful.

Thanks!

@m1ga
Copy link
Contributor

m1ga commented Sep 29, 2020

Would also like to see more FILL options e.g. FILL with left side at 0 on Android!

It should be possible with this.imageView.setScaleType(ImageView.ScaleType.MATRIX); but I wasn't successful in creating a proper matrix 😞

with hard coded values I was able to make it stick to the left side:


video

with the normal FILL it will move since the right side of the image is changing.

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