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
Request: ability to temporary disable rounding the images #111
Comments
Duplicate of #33. I'll leave this open for now and might reconsider. |
Thank you. This can be useful for avoiding creation of bitmaps, especially for the easy cases where I can create a circle drawable myself |
+1 |
1 similar comment
+1 |
Henning, disabling CircleImageView would be useful as a debugging feature. Case to consider: |
In my case this would be useful for when an adapter is using the same view for slightly different rows. Plus, I agree with above arguments as well. When using for example Cloudinary for making images return circular or a specific size it would be nice to be able to see exactly what's going on. |
A snapshot build of 2.1.0 with an option to disable the circular transformation is now available in the Sonatype snapshots repository. |
Is it possible to use via gradle? |
|
Version 2.1.0 with this has been released. |
In some cases, instead of a circular image, I wish to show a normal image in the same area that the CircleImageView takes.
It would be nice to be able to have a "setOval(boolean)" function, which will enable&disable making the content of the CircleImageView to be rounded.
This is better than having a container of it together with a normal ImageView.
Not only that, but for drawables that exist as XML files (even those that are already round), it would be better to disable the rounding of them, instead of creating new bitmaps using getBitmapFromDrawable .
The text was updated successfully, but these errors were encountered: