WindowManagerLayoutParams.LayoutInDisplayCutoutModeAlways 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Views.LayoutInDisplayCutoutMode enum directly instead of this field.
視窗總是可以延伸到 DisplayCutout 螢幕各邊的區域。
[Android.Runtime.Register("LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.LayoutInDisplayCutoutMode enum directly instead of this field.", true)]
public const Android.Views.LayoutInDisplayCutoutMode LayoutInDisplayCutoutModeAlways = 3;
[<Android.Runtime.Register("LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.LayoutInDisplayCutoutMode enum directly instead of this field.", true)>]
val mutable LayoutInDisplayCutoutModeAlways : Android.Views.LayoutInDisplayCutoutMode
欄位值
Value = 3實作
- 屬性
備註
視窗總是可以延伸到 DisplayCutout 螢幕各邊的區域。
視窗必須確保沒有重要內容與 重疊。DisplayCutout
在此模式下,視窗會延伸至螢幕所有邊緣的切口下方,無論直向或橫向,無論視窗是否隱藏系統條。
注意:Android 可能不允許內容檢視與系統列重疊於視圖層級。 要覆蓋此行為並允許內容延伸至剪裁區域,請呼叫 Window#setDecorFitsSystemWindows(boolean)false。
Java 文件 android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。