Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hongyangAndroid/ColorTrackView
字体或者图片可以逐渐染色和逐渐褪色的动画效果
https://github.com/hongyangAndroid/ColorTrackView
Last synced: 2 months ago
JSON representation
字体或者图片可以逐渐染色和逐渐褪色的动画效果
- Host: GitHub
- URL: https://github.com/hongyangAndroid/ColorTrackView
- Owner: hongyangAndroid
- License: apache-2.0
- Created: 2015-03-05T07:26:38.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-19T02:59:59.000Z (over 9 years ago)
- Last Synced: 2024-06-04T01:45:38.599Z (7 months ago)
- Language: Java
- Homepage:
- Size: 1.26 MB
- Stars: 447
- Watchers: 15
- Forks: 133
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - ColorTrackView - 字体或者图片可以逐渐染色和逐渐褪色的动画效果 (etc)
- awesome - ColorTrackView - 字体或者图片可以逐渐染色和逐渐褪色的动画效果 (etc)
README
# Android-ColorTrackView
字体或者图片可以逐渐染色和逐渐褪色的动画效果# 使用
```xml
```注:zhy为命名空间,xmlns:zhy="http://schemas.android.com/apk/res-auto",可自由修改。
* `progress` [0.0f , 1.0f]
* `text` 绘制的文本
* `text_change_color`目标颜色
* `text_origin_color`原始颜色
* `text_size`字体大小
* `direction `方向,枚举类型,支持:left,right,top,bottom# 效果图
## 简单使用
![](sample_ColorTrackeView/sc.gif)## 结合ViewPager
![](sample_ColorTrackeView/changecolortvdemo.gif)# 关于我
[我的博客地址](http://blog.csdn.net/lmj623565791)