Java 数字滚动_RollingTextView:带有数字滚动动画的Android TextView

本文介绍了一个名为RollingTextView的Android组件,它提供了数字滚动动画效果。该组件易于使用,支持通过XML设置常见属性,如字号、颜色和样式。可以高度定制动画效果,包括不同的滚动方向和进位动画。此外,还支持自定义字符顺序以实现从原始字符到目标字符的平滑过渡。可以通过调整因子参数来调整动画流畅度,并且可以通过实现CharOrderStrategy接口创建自定义动画效果。
摘要由CSDN通过智能技术生成

RollingTextView

14e52f46bace8171dbc462aaed37df09.gif

68747470733a2f2f6a69747061636b2e696f2f762f59766573436865756e672f526f6c6c696e67546578742e737667

Features

easy to use, API is similar to TextView, and the setText method can be animated with up and down rolling

support XML to set up common properties such as android:textSize/ android:textColor/ android:textStyle

highly customizable to support animation effects of any single character

Animation

Strategy

Different rolling effects can be achieved by setting different animation strategies

The default anima

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值