I know I can detect if the keyboard is on or off by using the onGlobalLayout function and the getWindowVisibleDisplayFrame function, but when this
onGlobalLayout
getWindowVisibleDisplayFrame