Table of Contents

Class ColorStateList

Namespace
Android.Content.Res
Assembly
MASES.Netdroid.dll
public class ColorStateList : Parcelable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IParcelable
Inheritance
ColorStateList
Implements
Inherited Members
Extension Methods

Constructors

ColorStateList(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ColorStateList(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

ColorStateList(int[][], int[])

public ColorStateList(int[][] arg0, int[] arg1)

Parameters

arg0 int[][]

int

arg1 int[]

int

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CREATOR

public static Parcelable.Creator CREATOR { get; set; }

Property Value

Parcelable.Creator

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

CreateFromXml(Resources, XmlPullParser)

[Obsolete("Deprecated in JVM")]
public static ColorStateList CreateFromXml(Resources arg0, XmlPullParser arg1)

Parameters

arg0 Resources

Resources

arg1 XmlPullParser

XmlPullParser

Returns

ColorStateList

ColorStateList

Exceptions

IOException
XmlPullParserException

CreateFromXml(Resources, XmlPullParser, Theme)

public static ColorStateList CreateFromXml(Resources arg0, XmlPullParser arg1, Resources.Theme arg2)

Parameters

arg0 Resources

Resources

arg1 XmlPullParser

XmlPullParser

arg2 Resources.Theme

Resources.Theme

Returns

ColorStateList

ColorStateList

Exceptions

IOException
XmlPullParserException

CreatePoolableInstance(int[][], int[])

HPA initializer for ColorStateList(int[][] arg0, int[] arg1)

public static ColorStateList CreatePoolableInstance(int[][] arg0, int[] arg1)

Parameters

arg0 int[][]
arg1 int[]

Returns

ColorStateList

DescribeContents()

public int DescribeContents()

Returns

int

int

GetChangingConfigurations()

public int GetChangingConfigurations()

Returns

int

int

GetColorForState(int[], int)

public int GetColorForState(int[] arg0, int arg1)

Parameters

arg0 int[]

int

arg1 int

int

Returns

int

int

GetDefaultColor()

public int GetDefaultColor()

Returns

int

int

IsOpaque()

public bool IsOpaque()

Returns

bool

bool

IsStateful()

public bool IsStateful()

Returns

bool

bool

ValueOf(int)

public static ColorStateList ValueOf(int arg0)

Parameters

arg0 int

int

Returns

ColorStateList

ColorStateList

WithAlpha(int)

public ColorStateList WithAlpha(int arg0)

Parameters

arg0 int

int

Returns

ColorStateList

ColorStateList

WithLStar(float)

public ColorStateList WithLStar(float arg0)

Parameters

arg0 float

float

Returns

ColorStateList

ColorStateList

WriteToParcel(Parcel, int)

public void WriteToParcel(Parcel arg0, int arg1)

Parameters

arg0 Parcel

Parcel

arg1 int

int