语言

WindowManager.PropertySupportsMultiInstanceSystemUi 字段

定义

注意

Use 'Android.Views.IWindowManager.PropertySupportsMultiInstanceSystemUi'. This class will be removed in a future release.

要声明此应用/组件应显示系统 UI 的活动或应用程序级别 android.content.pm.PackageManager.Property PackageManager.Property ,以允许它作为多个实例启动。

[Android.Runtime.Register("PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI", ApiSince=35)]
[System.Obsolete("Use 'Android.Views.IWindowManager.PropertySupportsMultiInstanceSystemUi'. This class will be removed in a future release.")]
public const string PropertySupportsMultiInstanceSystemUi;
[<Android.Runtime.Register("PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI", ApiSince=35)>]
[<System.Obsolete("Use 'Android.Views.IWindowManager.PropertySupportsMultiInstanceSystemUi'. This class will be removed in a future release.")>]
val mutable PropertySupportsMultiInstanceSystemUi : string

字段值

特性

注解

要声明此应用/组件应显示系统 UI 的活动或应用程序级别 android.content.pm.PackageManager.Property PackageManager.Property ,以允许它作为多个实例启动。 此属性仅影响 SystemUI 行为,并且 _not_ 影响组件是否可以实际启动到多个实例中,该实例由活动的 launchMode 标志或启动意向的标志决定。 如果在 Application 上设置了该属性,则除非每个组件指定,否则该应用程序中的所有组件都将使用该值。

该值必须是布尔字符串。

语法:

<activity>
<property
                android:name="android.window.PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI"
                android:value="true|false"/>
</activity>

Java文档android.view.WindowManager.PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI。

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

适用于