Is it possible, when executing some event, that the EditText stops being displayed? At the moment, made him not clickable, but it is necessary that he disappeared altogether.

  • or setVisibility (View.INVISIBLE) - Aleksei Chibisov

1 answer 1

It can be like this

setVisibility(View.GONE) 

or

 setVisibility(View.INVISIBLE) 

difference:

- with INVISIBLE an empty space is INVISIBLE in the place of the object

- when GONE does not place the object, the next object shifts (if there is one) - the object is invisible and does not take place