Android Guides | Samples

Android.Graphics.Drawables.DrawableContainer.DrawableContainerState Class

A ConstantState that can contain several Drawables.

See Also: DrawableContainer+DrawableContainerState

Syntax

[Android.Runtime.Register("android/graphics/drawable/DrawableContainer$DrawableContainerState", DoNotGenerateAcw=true)]
public abstract class DrawableContainer.DrawableContainerState : Drawable+ConstantState

Remarks

A ConstantState that can contain several Drawables. This class was made public to enable testing, and its visibility may change in a future release.

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Graphics.Drawables.DrawableContainer.DrawableContainerState are listed below.

See Also: Drawable+ConstantState

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
override
ChangingConfigurationsConfigChanges. Return a bit mask of configuration changes that will impact this drawable (and thus require completely reloading it).
[read-only]
ChildCountInt32.
[read-only]
ConstantHeightInt32.
[read-only]
ConstantMinimumHeightInt32.
[read-only]
ConstantMinimumWidthInt32.
[read-only]
ConstantPaddingRect.
ConstantSizeBoolean.
[read-only]
ConstantWidthInt32.
EnterFadeDurationInt32.
ExitFadeDurationInt32.
[read-only]
IsStatefulBoolean.
[read-only]
OpacityInt32.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AddChild(Drawable) : Int32
CanConstantState() : Boolean
GetChild(Int32) : Drawable
GetChildren() : Drawable[]
GrowArray(Int32, Int32)
SetVariablePadding(Boolean)
A boolean value indicating whether to use the maximum padding value of all frames in the set (false), or to use the padding value of the frame being shown (true).

Protected Methods