Android ListView view is gone but still receive onClick
I have faced one issue View.Gone but still view covered area clickable and touchable .
Problem
set animation for list view sliding up and down .
Button on click view is visible with setFillAfter(true) and Item on click View is GONE but i faced one problem view Gone area still clickable.
TranslateAnimation slide = new TranslateAnimation(0, 0,
-1000, 0);
slide.setFillAfter(true);
or
slide.setFillEnabled(true);
Solution :
slide.setFillAfter(false);
or
slide.setFillEnabled(false);
then its working fine
No comments:
Post a Comment