Language

DrawableContainer.SetConstantState Method

Definition

Sets the container's constant state and refreshes the current child, if selected.

[Android.Runtime.Register("setConstantState", "(Landroid/graphics/drawable/DrawableContainer$DrawableContainerState;)V", "GetSetConstantState_Landroid_graphics_drawable_DrawableContainer_DrawableContainerState_Handler")]
protected virtual void SetConstantState(Android.Graphics.Drawables.DrawableContainer.DrawableContainerState? state);
[<Android.Runtime.Register("setConstantState", "(Landroid/graphics/drawable/DrawableContainer$DrawableContainerState;)V", "GetSetConstantState_Landroid_graphics_drawable_DrawableContainer_DrawableContainerState_Handler")>]
abstract member SetConstantState : Android.Graphics.Drawables.DrawableContainer.DrawableContainerState -> unit
override this.SetConstantState : Android.Graphics.Drawables.DrawableContainer.DrawableContainerState -> unit

Parameters

state
DrawableContainer.DrawableContainerState

The constant state to use for this container.

Attributes

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