-
-
Save chrisbanes/b4f8924763775a377476d3b662c8c3a4 to your computer and use it in GitHub Desktop.
gesture_conflict_move_view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ViewCompat.setOnApplyWindowInsetsListener(seekBar) { view, insets -> | |
// We'll set the views bottom padding to be the same | |
// value as the system gesture insets bottom value | |
view.updatePadding( | |
bottom = insets.systemGestureInsets.bottom | |
) | |
insets | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment