Compartilhar via


View.IsPaddingOffsetRequired Property

Definition

If the View draws content inside its padding and enables fading edges, it needs to support padding offsets.

protected virtual bool IsPaddingOffsetRequired { [Android.Runtime.Register("isPaddingOffsetRequired", "()Z", "GetIsPaddingOffsetRequiredHandler")] get; }
[<get: Android.Runtime.Register("isPaddingOffsetRequired", "()Z", "GetIsPaddingOffsetRequiredHandler")>]
member this.IsPaddingOffsetRequired : bool

Property Value

True if padding offset must be applied, false otherwise.

Attributes

Remarks

If the View draws content inside its padding and enables fading edges, it needs to support padding offsets. Padding offsets are added to the fading edges to extend the length of the fade so that it covers pixels drawn inside the padding.

Subclasses of this class should override this method if they need to draw content inside the padding.

Added in CURRENT.

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

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

See also