Udostępnij za pośrednictwem


ScrollView.FillViewport Property

Definition

Indicates whether this ScrollView's content is stretched to fill the viewport. -or- Indicates this ScrollView whether it should stretch its content height to fill the viewport or not.

public virtual bool FillViewport { [Android.Runtime.Register("isFillViewport", "()Z", "GetIsFillViewportHandler")] get; [Android.Runtime.Register("setFillViewport", "(Z)V", "GetSetFillViewport_ZHandler")] set; }
[<get: Android.Runtime.Register("isFillViewport", "()Z", "GetIsFillViewportHandler")>]
[<set: Android.Runtime.Register("setFillViewport", "(Z)V", "GetSetFillViewport_ZHandler")>]
member this.FillViewport : bool with get, set

Property Value

True if the content fills the viewport, false otherwise.

Attributes

Remarks

Property getter documentation:

Indicates whether this ScrollView's content is stretched to fill the viewport.

Java documentation for android.widget.ScrollView.isFillViewport().

Property setter documentation:

Indicates this ScrollView whether it should stretch its content height to fill the viewport or not.

Java documentation for android.widget.ScrollView.setFillViewport(boolean).

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