Drawable.SetState(Int32[]) Drawable.SetState(Int32[]) Method

Definition

Specify a set of states for the drawable.

[Android.Runtime.Register("setState", "([I)Z", "GetSetState_arrayIHandler")]
public virtual bool SetState (int[] stateSet);
abstract member SetState : int[] -> bool
override this.SetState : int[] -> bool

Parameters

stateSet
Int32[]

The new set of states to be displayed.

Returns

Remarks

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