setFadingEdgeColor

abstract fun setFadingEdgeColor(@ColorInt color: Int)

Sets an overlay color for fading edges. Zero (transparent) instead fades the content's alpha to reveal the actual background on every API level.


abstract fun setFadingEdgeColor(@ColorInt color: Int, runnable: Runnable)

Sets the color for fading edge rendering with an optional completion callback.