CheckedTextView.SetCheckMarkDrawable Method

Definition

Overloads

SetCheckMarkDrawable(Drawable)

Set the check mark to the specified drawable.

SetCheckMarkDrawable(Int32)

Sets the check mark to the drawable with the specified resource ID.

SetCheckMarkDrawable(Drawable)

Set the check mark to the specified drawable.

[Android.Runtime.Register("setCheckMarkDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetCheckMarkDrawable_Landroid_graphics_drawable_Drawable_Handler")]
public virtual void SetCheckMarkDrawable (Android.Graphics.Drawables.Drawable? d);
[<Android.Runtime.Register("setCheckMarkDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetCheckMarkDrawable_Landroid_graphics_drawable_Drawable_Handler")>]
abstract member SetCheckMarkDrawable : Android.Graphics.Drawables.Drawable -> unit
override this.SetCheckMarkDrawable : Android.Graphics.Drawables.Drawable -> unit

Parameters

d
Drawable

the drawable to use for the check mark

Attributes

Remarks

Set the check mark to the specified drawable.

When this view is checked, the drawable's state set will include android.R.attr#state_checked.

Java documentation for android.widget.CheckedTextView.setCheckMarkDrawable(android.graphics.drawable.Drawable).

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.

See also

Applies to

SetCheckMarkDrawable(Int32)

Sets the check mark to the drawable with the specified resource ID.

[Android.Runtime.Register("setCheckMarkDrawable", "(I)V", "GetSetCheckMarkDrawable_IHandler")]
public virtual void SetCheckMarkDrawable (int resId);
[<Android.Runtime.Register("setCheckMarkDrawable", "(I)V", "GetSetCheckMarkDrawable_IHandler")>]
abstract member SetCheckMarkDrawable : int -> unit
override this.SetCheckMarkDrawable : int -> unit

Parameters

resId
Int32

the resource identifier of drawable to use as the check mark

Attributes

Remarks

Sets the check mark to the drawable with the specified resource ID.

When this view is checked, the drawable's state set will include android.R.attr#state_checked.

Java documentation for android.widget.CheckedTextView.setCheckMarkDrawable(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.

See also

Applies to