Skip to content

Instantly share code, notes, and snippets.

@chrisbanes
Created October 8, 2019 00:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisbanes/b4f8924763775a377476d3b662c8c3a4 to your computer and use it in GitHub Desktop.
Save chrisbanes/b4f8924763775a377476d3b662c8c3a4 to your computer and use it in GitHub Desktop.
gesture_conflict_move_view
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