sketchub icon

Animated Counting

CoCoCo_CoCoCo
22 Likes
0 Comments
233 Downloads

Screenshots

About

GitHub:

https://github.com/MasayukiSuda/CountAnimationTextView

Libs:

com.daasuu:CountAnimationTextView:0.1.2

Import:

- com.daasuu.cat.CountAnimationTextView

Inject:

android:textIsSelectable="false"

ID:

imageview1 to btn_count_anim_0
imageview2 to btn_count_anim_1
imageview3 to btn_count_anim_2
texview0 to CountAnimationTextView0
texview1 to CountAnimationTextView1
texview2 to CountAnimationTextView2

Add source directly: (imageview1):

mCountAnimationTextView0 .setAnimationDuration(5000) .countAnimation(0, 99999);

Add source directly: (imageview2):

mCountAnimationTextView1 .setAnimationDuration(5000) .countAnimation(99999, 0);

Add source directly: (imageview3):

mCountAnimationTextView2 .setDecimalFormat(new DecimalFormat("###,###,###")) .setAnimationDuration(10000) .countAnimation(0, 9999999);

©2024 Sketchub | User Policy