Open
Description
ViewCompat.setOnApplyWindowInsetsListener(findViewById(android.R.id.content)) { view, insets ->
val bottom = insets.getInsets(WindowInsetsCompat.Type.ime()).bottom
view.updatePadding(bottom = bottom)
insets
}
Components wrapped into Orbital {...}
do not resize if padding were to be updated by the function above due to for example the keyboard.
Metadata
Assignees
Labels
No labels
Activity