can not active click event after animation of the view
this is the structure of my view
linearlayout orientate = horizontal listview1 listview2 listview3
and I set listview1.start(animation) but, after animation the click event can not work.but it will effect on its origin position. I also
animation.setFillAfter(true) animation.setFillEnable(true).And, what's more I use the delegate to move the effective position. but failed.
for(int i = 0; i<mViews.size();i++){
mViews.get(i).startAnimation(moveLeftAnimation);
Rect rect = n开发者_StackOverflow社区ew Rect();
mViews.get(i).getHitRect(rect);
rect.left -= 413;
rect.right -= 413;
Log.e("filebrowser view move left", "rect left = "+rect.left +" right = "+rect.right);
setTouchDelegate(new TouchDelegate(rect, mViews.get(i)));
}
mViews is a arraylist, which stores listview1 listview2 listview3.Can anyone help me.thanks for any help.
精彩评论