WindowManager.PropertyActivityEmbeddingSplitsEnabled 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
Use 'Android.Views.IWindowManager.PropertyActivityEmbeddingSplitsEnabled'. This class will be removed in a future release.
應用程式可以指定一個應用程式層級 android.content.pm.PackageManager.Property PackageManager.Property ,以告知系統該應用程式已啟用活動嵌入分割功能。
[Android.Runtime.Register("PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED", ApiSince=34)]
[System.Obsolete("Use 'Android.Views.IWindowManager.PropertyActivityEmbeddingSplitsEnabled'. This class will be removed in a future release.")]
public const string PropertyActivityEmbeddingSplitsEnabled;
[<Android.Runtime.Register("PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED", ApiSince=34)>]
[<System.Obsolete("Use 'Android.Views.IWindowManager.PropertyActivityEmbeddingSplitsEnabled'. This class will be removed in a future release.")>]
val mutable PropertyActivityEmbeddingSplitsEnabled : string
欄位值
- 屬性
備註
應用程式可以指定一個應用程式層級 android.content.pm.PackageManager.Property PackageManager.Property ,以告知系統該應用程式已啟用活動嵌入分割功能。
有了這個特性,系統可以為啟用活動嵌入分割功能的應用程式提供自訂行為。 例如,系統可以忽略活動的固定直向方向請求,以便在橫向放置大型螢幕裝置時,提供無縫嵌入分割活動的體驗。
<b>語法:</b>
<application>
<property
android:name="android.window.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED"
android:value="true|false"/>
</application>
Java 文件 android.view.WindowManager.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。