I have three EditText, in certain conditions, I need to hide the second EditText.
But after I hide the second, there is an empty place between the first and the third.
How to put the vacant position to empty
Let it not empty.
I set the height of the EditText to 0, but it didn’t work.
use this code
this will remove the empty space