Skip to main content

All Questions

Tagged with
84 votes
9 answers
26k views

android View with View.GONE still receives onTouch and onClick

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 will be visible or gone so that ...
ShadowMare's user avatar
  • 2,097
25 votes
9 answers
26k views

What's the best way to check if the view is visible on the window?

What's the best way to check if the view is visible on the window? I have a CustomView which is part of my SDK and anybody can add CustomView to their layouts. My CustomView is taking some actions ...
bhups's user avatar
  • 14.7k
7 votes
3 answers
13k views

Android visibility issue with checkbox

I´m using a checkbox in my code that when its checked it makes a textview and a editText visibles, but if I uncheck de checkbox they continue being visible instead of dissapear. Here is the code: ...
fxi's user avatar
  • 115

15 30 50 per page
1 2 3 4
5