![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android_Widget
文章平均质量分 86
悟道门童
编程乃现代武术,尚未参透,静坐冥想
展开
-
CounterText 动态数字增加
背景:制作一个类似于支付宝 财产金额动态增加的效果思路一:将目标金额等分,利用Handler不断发生消息,延时修改金额。实习方法:CounterText extends Text 在设置目标值时开始动态展示。实现代码如下public class CounterText extends TextView { //目标金额 private double mG原创 2015-12-14 09:44:22 · 491 阅读 · 0 评论 -
自定义ProgressDialog
制作一个自定义的ProgressDialog大概可以分为以下几个步骤。1:创建一个先的Class 继承自ProgressDialog public MyProgressDialog(Context context) { this(context, R.style.progressDialog); }其中theme参数是你所设定的ProgressD原创 2015-12-14 16:13:48 · 680 阅读 · 0 评论