Udostępnij za pośrednictwem


IWindowManager.PropertyActivityEmbeddingSplitsEnabled Field

Definition

Application level android.content.pm.PackageManager.Property PackageManager .Property that an app can specify to inform the system that the app is ActivityEmbedding split feature enabled.

[Android.Runtime.Register("PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED", ApiSince=34)]
public const string PropertyActivityEmbeddingSplitsEnabled;
[<Android.Runtime.Register("PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED", ApiSince=34)>]
val mutable PropertyActivityEmbeddingSplitsEnabled : string

Field Value

Attributes

Remarks

Application level android.content.pm.PackageManager.Property PackageManager .Property that an app can specify to inform the system that the app is ActivityEmbedding split feature enabled.

With this property, the system could provide custom behaviors for the apps that are ActivityEmbedding split feature enabled. For example, the fixed-portrait orientation requests of the activities could be ignored by the system in order to provide seamless ActivityEmbedding split experiences while holding the large-screen devices in landscape mode.

<b>Syntax:</b>

&lt;application&gt;
              &lt;property
                android:name="android.window.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED"
                android:value="true|false"/&gt;
            &lt;/application&gt;

Java documentation for android.view.WindowManager.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED.

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