다음을 통해 공유


WindowManager.PropertyCompatAllowSmallCoverScreen Field

Definition

Caution

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

Application or Activity level android.content.pm.PackageManager.Property PackageManager.Property to provide any preferences for showing all or specific Activities on small cover displays of foldable style devices.

[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

Field Value

Attributes

Remarks

Application or Activity level android.content.pm.PackageManager.Property PackageManager.Property to provide any preferences for showing all or specific Activities on small cover displays of foldable style devices.

The only supported value for the property is #COMPAT_SMALL_COVER_SCREEN_OPT_IN.

<b>Syntax:</b>

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

Java documentation for android.view.WindowManager.PROPERTY_COMPAT_ALLOW_SMALL_COVER_SCREEN.

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