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

请教一下标签的背景怎么才能透明,不想要包括自带的任何填充色 #26

Open
MrPeanuty opened this issue May 9, 2019 · 2 comments

Comments

@MrPeanuty
Copy link

MrPeanuty commented May 9, 2019

我用自定义ImageView实现的圆角图片做的小标签,想要小标签显示为圆形的,但是头像图片总是被填充成含有背景色的矩形标签,不设置app:lightColor
和app:darkColor也会有默认的填充色,设置了app:lightColor
="@null" app:darkColor="@null"也不行,请大佬指教~

@LiuGuiLinAndroid
Copy link

Adapter中的onThemeColorChanged不要设置View的背景

@emperinter
Copy link

Adapter中的onThemeColorChanged不要设置View的背景

这个是可行的,还是困扰了我挺久的,感谢!

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

3 participants