When using edgeToEdge, the view size is no longer adjusting when the keyboard is visible, resulting in buttons hidden behind the keyboard.
Without edgeToEdge call in the main Activity:
With EdgeToEdge call in the main Activity.