getVisibleRect

fun View.getVisibleRect(): Rect

获取视图在全局的可见矩形