View.DispatchConfigurationChanged(Configuration) 方法

定义

在视图层次结构中向下发送有关资源配置更改的通知。

[Android.Runtime.Register("dispatchConfigurationChanged", "(Landroid/content/res/Configuration;)V", "GetDispatchConfigurationChanged_Landroid_content_res_Configuration_Handler")]
public virtual void DispatchConfigurationChanged (Android.Content.Res.Configuration? newConfig);
[<Android.Runtime.Register("dispatchConfigurationChanged", "(Landroid/content/res/Configuration;)V", "GetDispatchConfigurationChanged_Landroid_content_res_Configuration_Handler")>]
abstract member DispatchConfigurationChanged : Android.Content.Res.Configuration -> unit
override this.DispatchConfigurationChanged : Android.Content.Res.Configuration -> unit

参数

newConfig
Configuration

新的资源配置。

属性

注解

在视图层次结构中向下发送有关资源配置更改的通知。 ViewGroups 应重写 以路由到其子级。

android.view.View.dispatchConfigurationChanged(android.content.res.Configuration)Java 文档。

此页面的某些部分是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的条款使用。

适用于

另请参阅