Udostępnij za pośrednictwem


AlertDialog.Builder.SetIconAttribute(Int32) Method

Definition

Set an icon as supplied by a theme attribute. e.g. android.

[Android.Runtime.Register("setIconAttribute", "(I)Landroid/app/AlertDialog$Builder;", "GetSetIconAttribute_IHandler")]
public virtual Android.App.AlertDialog.Builder SetIconAttribute (int attrId);
[<Android.Runtime.Register("setIconAttribute", "(I)Landroid/app/AlertDialog$Builder;", "GetSetIconAttribute_IHandler")>]
abstract member SetIconAttribute : int -> Android.App.AlertDialog.Builder
override this.SetIconAttribute : int -> Android.App.AlertDialog.Builder

Parameters

attrId
Int32

ID of a theme attribute that points to a drawable resource.

Returns

Attributes

Remarks

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