android View with View.GONE still receives onTouch and onClick

后端 未结 9 2127
温柔的废话
温柔的废话 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 04:13

    If you set setVisibility(View.GONE) after some animation (fade out, for example), then try clearing the animation with clearAnimation(). This is what helped me.

提交回复
热议问题