Share via


HorizontalScrollView.FillViewport Property

Definition

Indicates whether this HorizontalScrollView's content is stretched to fill the viewport. -or- Indicates this HorizontalScrollView whether it should stretch its content width 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 HorizontalScrollView's content is stretched to fill the viewport.

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

Property setter documentation:

Indicates this HorizontalScrollView whether it should stretch its content width to fill the viewport or not.

Java documentation for android.widget.HorizontalScrollView.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