-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 set background color for the Circle View? #64
Comments
There's an incomplete PR for this: #45 - I still need to find some time to cleanup and merge that one. |
Quick workaround:
|
Thanks, the workaround worked great. |
Still if you use xml way of setting background, it applies to whole rectangular button view. It wont apply only to circle view. And background tint doesn't work for this view. |
@Shreyas-R in XML you can now use the |
Like android:civ_fill_color=..... ?? |
|
Using app: gives no Resource identifier error Edit: Had old version of your gradle plugin. Updated now. Working fine. Thanks man |
imageView.setFillColor(R.color.yourcolor) |
How to set Image from Url ..... Please tell me |
@madhavkate You can use an external library such as Picasso. |
@madhavkate |
Try this: |
Setting the background color, colors the whole image view. How do I only color the circle view?
The text was updated successfully, but these errors were encountered: