ContextThemeWrapper.ApplyOverrideConfiguration(Configuration) メソッド

定義

を呼び出して、このコンテキストで "オーバーライド構成" を設定します。これは、コンテキストに適用される標準構成の 1 つ以上の値に応答する構成です。

[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

パラメーター

overrideConfiguration
Configuration
属性

注釈

を呼び出して、このコンテキストで "オーバーライド構成" を設定します。これは、コンテキストに適用される標準構成の 1 つ以上の値に応答する構成です。 詳細については、「 Context#createConfigurationContext(Configuration) 」を参照してください。

このメソッドは 1 回だけ呼び出すことができます。または を呼び出す前に呼び出す#getResources()#getAssets()必要があります。

android.view.ContextThemeWrapper.applyOverrideConfiguration(android.content.res.Configuration)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象