Labels position changing on button click in testing device

I was testing my app on my android and when the text input components changing(as in you’re writing something in it), every margin between two labels, the button and other text inputs get erased, and i end up with all components being “glued” together on the y axis, you need to wait to get out of the input text for it to become normal again. The position of these components do not change in the code, and it is absolute, meaning no other components like a layout manager can change them, so what is happening ? Is it because im changing the text inputs visibility, or maybe do i have to put some delays in my code for it to process the component’s individual positions ?