Поделиться через


AlertDialog.Builder.SetIconAttribute(Int32) Метод

Определение

Задайте значок, предоставленный атрибутом темы. Например, 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

Параметры

attrId
Int32

Идентификатор атрибута темы, указывающего на ресурс, доступный для рисования.

Возвращаемое значение

Атрибуты

Комментарии

Части этой страницы — это изменения на основе работы, созданной и общей проектом с открытым исходным кодом Android и используемой в соответствии с условиями, описанными в лицензии Creative Commons 2.5 Attribution.

Применяется к