viewBoundaries

Extension that calculates ViewBoundaries of a View in the coordinate space of the device screen, irrespective of system decorations and whether the system is in multi-window mode.