setTopInsetScrimEnabled

open fun setTopInsetScrimEnabled(enabled: Boolean)

Set whether or not the NavigationView should draw a scrim behind the window's top inset (typically the status bar).

Parameters

enabled

true when the NavigationView should draw a scrim.