B4A Library Android View Animations Library

Original library: https://github.com/daimajia/AndroidViewAnimations

v1.10 - Added: PivotX, PivotY, RepeatMode (restart animation, reverse animation)




Effects​


Attension​

Flash, Pulse, RubberBand, Shake, Swing, Wobble, Bounce, Tada, StandUp, Wave

Special​

Hinge, RollIn, RollOut, Landing, TakingOff, DropOut

Bounce​

BounceIn, BounceInDown, BounceInLeft, BounceInRight, BounceInUp

Fade​

FadeIn, FadeInUp, FadeInDown, FadeInLeft, FadeInRight
FadeOut, FadeOutDown, FadeOutLeft, FadeOutRight, FadeOutUp

Flip​

FlipInX, FlipOutX, FlipOutY

Rotate​

RotateIn, RotateInDownLeft, RotateInDownRight, RotateInUpLeft, RotateInUpRight
RotateOut, RotateOutDownLeft, RotateOutDownRight, RotateOutUpLeft, RotateOutUpRight

Slide​

SlideInLeft, SlideInRight, SlideInUp, SlideInDown
SlideOutLeft, SlideOutRight, SlideOutUp, SlideOutDown

Zoom​

ZoomIn, ZoomInDown, ZoomInLeft, ZoomInRight, ZoomInUp
ZoomOut, ZoomOutDown, ZoomOutLeft, ZoomOutRight, ZoomOutUp


 

Attachments

  • AndroidViewAnimationsLibrary.zip
    80 KB · Views: 590
  • AndroidViewAnimationsExample.zip
    9.6 KB · Views: 549
Last edited:

MarcoRome

Expert
Licensed User
Longtime User
 

sadeq.hitex

Member
Licensed User
Thank you but you forget to add `CENTER_PIVOT`

resolves with :

B4X:
Dim jFloat As JavaObject
Dim CENTER_PIVOT = jFloat.InitializeStatic("Float").GetField("MAX_VALUE") As Float
anim.PivotX = CENTER_PIVOT
anim.PivotY = CENTER_PIVOT
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…