Translate relative layout and get the changed height in Android Animation -


i want translate relative layout bottom , want continuously changed height of layout. what's right way of doing?

animation animation = animationutils.loadanimation(getactivity(), r.anim.slide_up); animation.setduration(333); view.startanimation(animation); 

right now, using above code don't know how listen changed height.

thanks, colin

use library :androidviewanimations

it has listeners , nice animations, highly reccommended

example : refer

using android own implemntaion

fadeinanimation.setanimationlistener(new animation.animationlistener() {     @override     public void onanimationstart(animation animation) {      }      @override     public void onanimationend(animation animation) {      }      @override     public void onanimationrepeat(animation animation) {      } }); 

Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -