View.GetWindowVisibleDisplayFrame(Rect) 메서드

정의

이 보기가 연결된 창이 배치된 전체 표시 크기를 검색합니다.

[Android.Runtime.Register("getWindowVisibleDisplayFrame", "(Landroid/graphics/Rect;)V", "GetGetWindowVisibleDisplayFrame_Landroid_graphics_Rect_Handler")]
public virtual void GetWindowVisibleDisplayFrame (Android.Graphics.Rect? outRect);
[<Android.Runtime.Register("getWindowVisibleDisplayFrame", "(Landroid/graphics/Rect;)V", "GetGetWindowVisibleDisplayFrame_Landroid_graphics_Rect_Handler")>]
abstract member GetWindowVisibleDisplayFrame : Android.Graphics.Rect -> unit
override this.GetWindowVisibleDisplayFrame : Android.Graphics.Rect -> unit

매개 변수

outRect
Rect

표시되는 디스플레이 프레임으로 채워집니다. 보기가 창에 연결되지 않은 경우 이는 단순히 원시 디스플레이 크기일 뿐입니다.

특성

설명

이 보기가 연결된 창이 배치된 전체 표시 크기를 검색합니다. 이는 창 자체가 창 내부에 위치하거나 창이 그 아래에 배치되고 창이 내부 콘텐츠를 배치하는 데 사용되는 두 경우 모두 창 위의 화면 장식을 고려합니다. 실제로 콘텐츠를 배치하고 사용자에게 계속 표시할 수 있는 사용 가능한 영역을 알려줍니다.

에 대한 Java 설명서입니다 android.view.View.getWindowVisibleDisplayFrame(android.graphics.Rect).

이 페이지의 일부는 만들고 공유하며 에 설명된 조건에 따라 사용되는 작업을 기반으로 수정됩니다.

적용 대상