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

右边能增加数量的红色角标吗 #93

Open
rmtic opened this issue Feb 8, 2018 · 3 comments
Open

右边能增加数量的红色角标吗 #93

rmtic opened this issue Feb 8, 2018 · 3 comments

Comments

@rmtic
Copy link

rmtic commented Feb 8, 2018

右边能增加数量的红色角标吗

@lygttpod
Copy link
Owner

lygttpod commented Feb 8, 2018

麻烦提供一下效果图我看下能否实现

@zhangchaoxu
Copy link

zhangchaoxu commented Apr 13, 2018

应该是类似这个repo BadgeView,不过我觉得SuperTextView不需要做到如此强大,支持加入自定义颜色(背景和字体)、自定义位置(四个角)的圆点就可以了

@Iverlei
Copy link

Iverlei commented Nov 27, 2019

完全没有必要加,因为本来的属性就完全够实现出一个红色角标了,比如你想在最右边加一个badge,可以给右边文字设置一个背景sRightTextBackground,就是带圆角的红色背景,然后文字设置为白色,就完全够了。

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

4 participants