次の方法で共有


Resources.UpdateConfiguration(Configuration, DisplayMetrics) Method

Definition

Store the newly updated configuration.

[Android.Runtime.Register("updateConfiguration", "(Landroid/content/res/Configuration;Landroid/util/DisplayMetrics;)V", "GetUpdateConfiguration_Landroid_content_res_Configuration_Landroid_util_DisplayMetrics_Handler")]
public virtual void UpdateConfiguration (Android.Content.Res.Configuration? config, Android.Util.DisplayMetrics? metrics);
[<Android.Runtime.Register("updateConfiguration", "(Landroid/content/res/Configuration;Landroid/util/DisplayMetrics;)V", "GetUpdateConfiguration_Landroid_content_res_Configuration_Landroid_util_DisplayMetrics_Handler")>]
abstract member UpdateConfiguration : Android.Content.Res.Configuration * Android.Util.DisplayMetrics -> unit
override this.UpdateConfiguration : Android.Content.Res.Configuration * Android.Util.DisplayMetrics -> unit

Parameters

config
Configuration
metrics
DisplayMetrics
Attributes

Remarks

Store the newly updated configuration.

This member is deprecated. See android.content.Context#createConfigurationContext(Configuration).

Java documentation for android.content.res.Resources.updateConfiguration(android.content.res.Configuration, android.util.DisplayMetrics).

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