Sdílet prostřednictvím


View.SetFadingEdgeLength(Int32) Method

Definition

Set the size of the faded edge used to indicate that more content in this view is available.

[Android.Runtime.Register("setFadingEdgeLength", "(I)V", "GetSetFadingEdgeLength_IHandler")]
public virtual void SetFadingEdgeLength (int length);
[<Android.Runtime.Register("setFadingEdgeLength", "(I)V", "GetSetFadingEdgeLength_IHandler")>]
abstract member SetFadingEdgeLength : int -> unit
override this.SetFadingEdgeLength : int -> unit

Parameters

length
Int32

The size in pixels of the faded edge used to indicate that more content in this view is visible.

Attributes

Remarks

Set the size of the faded edge used to indicate that more content in this view is available. Will not change whether the fading edge is enabled; use #setVerticalFadingEdgeEnabled(boolean) or #setHorizontalFadingEdgeEnabled(boolean) to enable the fading edge for the vertical or horizontal fading edges.

Java documentation for android.view.View.setFadingEdgeLength(int).

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