共用方式為


Gallery.SetSpacing(Int32) Method

Definition

Caution

deprecated

Sets the spacing between items in a Gallery

[Android.Runtime.Register("setSpacing", "(I)V", "GetSetSpacing_IHandler")]
[System.Obsolete("deprecated")]
public virtual void SetSpacing (int spacing);
[<Android.Runtime.Register("setSpacing", "(I)V", "GetSetSpacing_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetSpacing : int -> unit
override this.SetSpacing : int -> unit

Parameters

spacing
Int32

The spacing in pixels between items in the Gallery

Attributes

Remarks

Sets the spacing between items in a Gallery

Java documentation for android.widget.Gallery.setSpacing(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