Last active
January 30, 2020 11:42
-
-
Save ShwetaChauhan18/3ddb3bce5e2c9d1ac834c53f63d39300 to your computer and use it in GitHub Desktop.
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(nav_view) { v, insets -> | |
// We'll set the views bottom padding to be the same | |
// value as the system gesture insets bottom value | |
v.updatePadding( | |
bottom = insets.systemWindowInsetBottom | |
) | |
// return the insets | |
insets | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment