ColorStateList.ValueOf(Color) Method

Definition

[Android.Runtime.Register("valueOf", "(I)Landroid/content/res/ColorStateList;", "")]
public static Android.Content.Res.ColorStateList ValueOf (Android.Graphics.Color color);
[<Android.Runtime.Register("valueOf", "(I)Landroid/content/res/ColorStateList;", "")>]
static member ValueOf : Android.Graphics.Color -> Android.Content.Res.ColorStateList

Parameters

color
Color

Returns

A ColorStateList containing a single color.

Attributes

Remarks

Java documentation for android.content.res.ColorStateList.valueOf(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