android View with View.GONE still receives onTouch and onClick

后端 未结 9 2126
温柔的废话
温柔的废话 2020-12-13 03:40

This is confusing me:

As far as I have read, a view with setVisibility(View.GONE); should not receive any more touch- or click events. My layout has two parts, which

9条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-13 03:57

    if have a animation at the view, you should call view.clearAnimation.

提交回复
热议问题