ContextThemeWrapper.ApplyOverrideConfiguration(Configuration) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Call to set an "override configuration" on this context -- this is a configuration that replies one or more values of the standard configuration that is applied to the context.
[Android.Runtime.Register("applyOverrideConfiguration", "(Landroid/content/res/Configuration;)V", "GetApplyOverrideConfiguration_Landroid_content_res_Configuration_Handler")]
public virtual void ApplyOverrideConfiguration (Android.Content.Res.Configuration? overrideConfiguration);
[<Android.Runtime.Register("applyOverrideConfiguration", "(Landroid/content/res/Configuration;)V", "GetApplyOverrideConfiguration_Landroid_content_res_Configuration_Handler")>]
abstract member ApplyOverrideConfiguration : Android.Content.Res.Configuration -> unit
override this.ApplyOverrideConfiguration : Android.Content.Res.Configuration -> unit
Parameters
- overrideConfiguration
- Configuration
- Attributes
Remarks
Call to set an "override configuration" on this context -- this is a configuration that replies one or more values of the standard configuration that is applied to the context. See Context#createConfigurationContext(Configuration)
for more information.
This method can only be called once, and must be called before any calls to #getResources()
or #getAssets()
are made.
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.