av.imageview
av.imageview copied to clipboard
Top cropping
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!
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 :disappointed:
with hard coded values I was able to make it stick to the left side:
with the normal FILL it will move since the right side of the image is changing.