Reputation: 821
I want to change com.google.android.material.chip.Chip background with alpha but when I set
app:chipBackgroundColor="#6F000000"
that not work and always have a white background. How can I do this?
Upvotes: 7
Views: 3758
Reputation: 821
I find the solution in this link. chips have a white surface layer underneath their background and you can set the transparent color for that with this :
app:chipSurfaceColor="@android:color/transparent"
Upvotes: 14