模仿小米安全中心的进度效果
来源:互联网 发布:淘宝卖家怎么加入一淘 编辑:程序博客网 时间:2024/06/08 03:20
GradeProgressView
项目地址:niniloveyou/GradeProgressView
简介:模仿小米安全中心的进度效果
a progress view used to grade mobiles phone
System Requirement
Android API 11+, Because of the use of ValueAnimation, if you want use it on API 8, please use NineoldAndroids library in your project.
Usage
gradeProgressView.setProgress(100); //without animation gradeProgressView.setProgressWidthAnimation(100); // with animation gradeProgressView.setBackgroundColor(Color.LTGRAY); //set background color gradeProgressView.setProgressColor(Color.WHITE); //set progress and pointer color gradeProgressView.setLineWidth(60); //set the progress width gradeProgressView.setGapWidth(30); //set gap between out line and progress line gradeProgressView.setOutLineWidth(5); //set out line widht gradeProgressView.setOnProgressChangeListener(new GradeProgressView.OnProgressChangeListener() { @Override public void onProgressChanged(GradeProgressView gradeProgressView, int progress) { Log.i("GradeProgressView test", "on progress changed: " + progress); } });
0 0
- 模仿小米安全中心的进度效果
- 模仿小米安全中心检测效果(进度条效果)
- 模仿小米锁屏时的图片切换效果
- 打开小米安全中心的权限管理
- Kotlin-->模仿QQ发送图片进度效果
- 高仿小米"安全中心"中垃圾清理成功后的显示界面
- 模仿launcher的效果
- 模仿126的一个效果
- 模仿360水晶球的效果
- 弹跳变形的进度效果
- 模仿小米时钟
- 模仿小米计时器
- 2.模仿小米通讯录的快速索引demo
- 模仿小米手环 计步数据的展示View
- 使用vue.js模仿小米官网的作品
- 【实战】模仿设置中心
- 模仿音乐播放器带进度的播放暂停按钮
- 自定义ScaleLayout (模仿小米相册查看图片效果)(转载自作者 _deadline )
- Linux分析apache日志获取最多访问的前10个IP
- 直方图
- spring整合redis的错误
- opengles绘制天空穹
- Python print函数用法,print 格式化输出
- 模仿小米安全中心的进度效果
- Android中有关于获取外挂设备的路径以及基本信息
- oracle-同义词
- 线程机制:并发函数的使用
- 使用EditText+ListView并结合TextWatcher实现输入关键字筛选数据
- mvc 分离外部js文件以及调用方法
- C# Unity依赖注入
- Linux下高并发socket最大连接数所受的各种限制
- Retrofit2.0 GsonResponseBodyConverter类修改,解决网络访问默认返回空对象进入onFailure的问题