listview - Animation not rendered properly in android -
i moving listview upwards, after has moves traces of previous instance of view remains there. how can rid of it. have tried invalidating main layout no use. plz guide.
http://www.youtube.com/watch?v=xckpju8zwe8&feature=youtu.be
thx
r = new runnable(){ public void run(){ translateanimation translateanimation = new translateanimation(0, 0, mbar4.gettop(), -mbar4.getbottom()); translateanimation.setduration(1000); translateanimation.setfillafter(true); mbar4.startanimation(translateanimation); st4.startanimation(translateanimation); animation animation = new translateanimation(0, 0, pulllistview.gettop(), -pulllistview.gettop()); animation.setduration(1000); animation.setfillafter(true); pulllistview.startanimation(animation); pulllistview.invalidate(); } } }; h.removecallbacks(r); h.postdelayed(r, 5000);
Comments
Post a Comment