setShadowVerticalOffset

open fun setShadowVerticalOffset(shadowOffset: Int)

Sets the shadow offset rendered by the fake shadow when requiresCompatShadow is true. This can make the shadow appear more on the bottom or top of the view to make a more realistic looking shadow depending on the placement of the view on the screen. Normally, if the View is positioned further down on the screen, less shadow appears above the View, and more shadow appears below it.