RemoteViews.SetColorStateListAttr(Int32, String, Int32) Method

Definition

Call a method taking one ColorStateList on a view in the layout for this RemoteViews.

[Android.Runtime.Register("setColorStateListAttr", "(ILjava/lang/String;I)V", "GetSetColorStateListAttr_ILjava_lang_String_IHandler", ApiSince=31)]
public virtual void SetColorStateListAttr (int viewId, string methodName, int colorAttr);
[<Android.Runtime.Register("setColorStateListAttr", "(ILjava/lang/String;I)V", "GetSetColorStateListAttr_ILjava_lang_String_IHandler", ApiSince=31)>]
abstract member SetColorStateListAttr : int * string * int -> unit
override this.SetColorStateListAttr : int * string * int -> unit

Parameters

viewId
Int32

The id of the view on which to call the method.

methodName
String

The name of the method to call.

colorAttr
Int32

The theme attribute to resolve and pass as argument to the method.

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setColorStateListAttr(int, java.lang.String, 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