Skip to content

Instantly share code, notes, and snippets.

@chrisbanes chrisbanes/code.kt Secret
Created Oct 8, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.