共用方式為


Gallery.SetUnselectedAlpha(Single) Method

Definition

Caution

deprecated

Sets the alpha of items that are not selected in the Gallery.

[Android.Runtime.Register("setUnselectedAlpha", "(F)V", "GetSetUnselectedAlpha_FHandler")]
[System.Obsolete("deprecated")]
public virtual void SetUnselectedAlpha (float unselectedAlpha);
[<Android.Runtime.Register("setUnselectedAlpha", "(F)V", "GetSetUnselectedAlpha_FHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetUnselectedAlpha : single -> unit
override this.SetUnselectedAlpha : single -> unit

Parameters

unselectedAlpha
Single

the alpha for the items that are not selected.

Attributes

Remarks

Sets the alpha of items that are not selected in the Gallery.

Java documentation for android.widget.Gallery.setUnselectedAlpha(float).

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