-
Notifications
You must be signed in to change notification settings - Fork 194
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
关于增加描边功能的代码实现,请需要的自行拷贝! #15
Comments
@jdsjlzx you can make a pull request 👍 |
Hi jdsjlzx, Would you agree with I will merge your code to master branch? @jdsjlzx |
描边时要判断下是否大于0:
|
@matrixxun ok,just do it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
首先将https://github.com/matrixxun/MaterialBadgeTextView/blob/master/MaterialBadgeTextView/library/src/main/java/com/matrixxun/starry/badgetextview/MaterialBadgeTextView.java
拷贝到自己工程,然后修改内部的自定义OvalShadow、SemiCircleRectDrawable即可。
代码如下:
xml中配置如下:
The text was updated successfully, but these errors were encountered: