zyao89 / zloading Goto Github PK
View Code? Open in Web Editor NEW[Android] 这是一个自定义Loading View库。暂停更新
License: MIT License
[Android] 这是一个自定义Loading View库。暂停更新
License: MIT License
大神, 有时间能否提供一个修改字体大小的接口?
Loading 处的字号太小了,想修改的大一些,没有找到相关的接口(Dialog 风格)
希望能增加设置dialog宽高,最好是提供几个方法:默认宽高/按照屏幕比例/具体数值(dp)。
看了新改的代码,只是改了view的背景。dialog颜色还是白色
可参考:
https://www.jianshu.com/p/b5b265aa54e0
https://www.jianshu.com/p/ff948975789a
setCancelable(false) 无效
dialog只有show方法没有dismiss方法?
源码写死了:protected static final float DEFAULT_SIZE = 56.0f;
无法制定
安卓10好像动画不会转动
设置字体大小单位默认也是dp??不是sp吗感觉怪怪的
Because JCenter Maven repository is no longer receiving updates and deprecated.
When I try to remove jcenter() from build.gradle, project couldn't get zloading.
谢谢 作者大大的开源,方便了很多
取消dialog的时候,activity会发生闪屏,好像是显示dialog,很快加载到数据,马上取消dialog就会闪屏
我这里使用的时候背景是白色的,想设置成透明的。白色不好看啊。
怎么设置呢?
请问设置了setCancelable(false) 为什么启动加载框的时候 触碰还是会消失了呢?
ZLoadingDialog dialog = new ZLoadingDialog(CashierMainActivity.this);
// dialog.setLoadingBuilder(Z_TYPE.SNAKE_CIRCLE)//设置类型
// .setLoadingColor(Color.BLACK)//颜色
// .setHintText("正在支付中...")
// .setHintTextSize(16) // 设置字体大小 dp
// .setHintTextColor(Color.GRAY)// 设置字体颜色
// .setCancelable(false)
// .show();
dialog可不可以把原生方法开出来?比如判断是否显示?等等
想提一个小小的请求QAQ:
比如微信小程序那种“登录完毕”的√提示,这样就可以不仅显示加载,完成任务后也可以显示完毕了。
非常感谢~
把loading换成汉字显示不全。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.