Udostępnij za pośrednictwem


GridView.SetVerticalSpacing(Int32) Method

Definition

Set the amount of vertical (y) spacing to place between each item in the grid.

[Android.Runtime.Register("setVerticalSpacing", "(I)V", "GetSetVerticalSpacing_IHandler")]
public virtual void SetVerticalSpacing (int verticalSpacing);
[<Android.Runtime.Register("setVerticalSpacing", "(I)V", "GetSetVerticalSpacing_IHandler")>]
abstract member SetVerticalSpacing : int -> unit
override this.SetVerticalSpacing : int -> unit

Parameters

verticalSpacing
Int32

The amount of vertical space between items, in pixels.

Attributes

Remarks

Set the amount of vertical (y) spacing to place between each item in the grid.

Java documentation for android.widget.GridView.setVerticalSpacing(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

See also