Sdílet prostřednictvím


Drawable.ChangingConfigurations Property

Definition

Return a mask of the configuration parameters for which this drawable may change, requiring that it be re-created. -or- Set a mask of the configuration parameters for which this drawable may change, requiring that it be re-created.

public virtual Android.Content.PM.ConfigChanges ChangingConfigurations { [Android.Runtime.Register("getChangingConfigurations", "()I", "GetGetChangingConfigurationsHandler")] get; [Android.Runtime.Register("setChangingConfigurations", "(I)V", "GetSetChangingConfigurations_IHandler")] set; }
[<get: Android.Runtime.Register("getChangingConfigurations", "()I", "GetGetChangingConfigurationsHandler")>]
[<set: Android.Runtime.Register("setChangingConfigurations", "(I)V", "GetSetChangingConfigurations_IHandler")>]
member this.ChangingConfigurations : Android.Content.PM.ConfigChanges with get, set

Property Value

Returns a mask of the changing configuration parameters, as defined by android.content.pm.ActivityInfo.

Attributes

Remarks

Property getter documentation:

Return a mask of the configuration parameters for which this drawable may change, requiring that it be re-created. The default implementation returns whatever was provided through #setChangingConfigurations(int) or 0 by default. Subclasses may extend this to or in the changing configurations of any other drawables they hold.

Java documentation for android.graphics.drawable.Drawable.getChangingConfigurations().

Property setter documentation:

Set a mask of the configuration parameters for which this drawable may change, requiring that it be re-created.

Java documentation for android.graphics.drawable.Drawable.setChangingConfigurations(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

See also