ColorTrackView

by hongyangAndroid

hongyangAndroid / ColorTrackView

字体或者图片可以逐渐染色和逐渐褪色的动画效果

446 Stars 131 Forks Last release: Not found Apache License 2.0 4 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Android-ColorTrackView

字体或者图片可以逐渐染色和逐渐褪色的动画效果

使用

 

注: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

效果图

简单使用

结合ViewPager

关于我

我的博客地址

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.