Yes! It's not nice, like iOS, where you get height and animation, but in the list you know that it opens:
ViewCompat.setOnApplyWindowInsetsListener(findViewById(android.R.id.content), new OnApplyWindowInsetsListener() {
@Override
public WindowInsetsCompat onApplyWindowInsets(View v, WindowInsetsCompat insets) {
}
This tells you about any changes. It is easy to understand that the keyboard is the cause of this change and acts accordingly.
source
share