다음을 통해 공유


View.TopFadingEdgeStrength Property

Definition

Returns the strength, or intensity, of the top faded edge.

protected virtual float TopFadingEdgeStrength { [Android.Runtime.Register("getTopFadingEdgeStrength", "()F", "GetGetTopFadingEdgeStrengthHandler")] get; }
[<get: Android.Runtime.Register("getTopFadingEdgeStrength", "()F", "GetGetTopFadingEdgeStrengthHandler")>]
member this.TopFadingEdgeStrength : single

Property Value

the intensity of the top fade as a float between 0.0f and 1.0f

Attributes

Remarks

Returns the strength, or intensity, of the top faded edge. The strength is a value between 0.0 (no fade) and 1.0 (full fade). The default implementation returns 0.0 or 1.0 but no value in between.

Subclasses should override this method to provide a smoother fade transition when scrolling occurs.

Java documentation for android.view.View.getTopFadingEdgeStrength().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to