-
Notifications
You must be signed in to change notification settings - Fork 80
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
SmartToast.classic()设置白色背景色无效 #45
Comments
你好,你用的什么版本?另外最后有没有调用apply生效?config配置仅单次有效。其他地方使用不调用Config方法的话,都是默认配置。 |
你好,版本是3.1.5.
// //设置文本大小,单位sp,默认14sp |
还有报空指针的 Attempt to invoke virtual method 'int android.widget.Toast.getGravity()' on a null object reference |
空指针的 5.0到10.0都有出现 |
问题已解决,请使用最新版。 @RookieKing15 |
SmartToast.classic()
.config()
//设置背景颜色
.backgroundDrawableResource(R.drawable.rect_cornor6_solid_ffffff) 设置的是纯白色,但是弹窗出来是黑色背景
The text was updated successfully, but these errors were encountered: