RemoteViews.SetColorAttr(Int32, String, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Call a method taking one int, a color, on a view in the layout for this RemoteViews.
[Android.Runtime.Register("setColorAttr", "(ILjava/lang/String;I)V", "GetSetColorAttr_ILjava_lang_String_IHandler", ApiSince=31)]
public virtual void SetColorAttr (int viewId, string methodName, int colorAttribute);
[<Android.Runtime.Register("setColorAttr", "(ILjava/lang/String;I)V", "GetSetColorAttr_ILjava_lang_String_IHandler", ApiSince=31)>]
abstract member SetColorAttr : int * string * int -> unit
override this.SetColorAttr : 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.
- colorAttribute
- Int32
The theme attribute to resolve and pass as argument to the method.
- Attributes
Remarks
Java documentation for android.widget.RemoteViews.setColorAttr(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.