Animating the height of a view android
问题 Hi I am trying to animate the height of a view in android say every 5 seconds :- height goes from 0 to 5 height goes from 5 to 10 height goes from 10 to 3 etc I am using the code below :- public class ShowAnimation extends Animation{ float finalHeight; View imageview; public ShowAnimation(View view,float deltaheight){ this.imageview=view; this.finalHeight=deltaheight; } protected void applyTransformation(float interpolatedtime,Transformation t){ imageview.getLayoutParams().height=(int)