语言

WindowManager.PropertyCompatAllowSmallCoverScreen 字段

定义

注意

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

应用程序或活动级别 android.content.pm.PackageManager.Property PackageManager.Property 为显示可折叠样式设备的小型封面上显示所有或特定活动提供任何首选项。

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

字段值

特性

注解

应用程序或活动级别 android.content.pm.PackageManager.Property PackageManager.Property 为显示可折叠样式设备的小型封面上显示所有或特定活动提供任何首选项。

该属性唯一支持的值是 #COMPAT_SMALL_COVER_SCREEN_OPT_IN。

语法:

<application>
<property
                android:name="android.window.PROPERTY_COMPAT_ALLOW_SMALL_COVER_SCREEN"
                android:value=1 <!-- COMPAT_COVER_SCREEN_OPT_IN -->/>
</application>

Java文档android.view.WindowManager.PROPERTY_COMPAT_ALLOW_SMALL_COVER_SCREEN。

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

适用于