- View.getLocationInWindow()
- View.getLocationOnScreen()
- View.getLocationRelativeTo(view: View)
- View.getActualSize()
These utility methods will help you identify the view's location in the coordinate systems of the window, the screen or another View. You will also be able to get the actual size of the view after layout has sized it.
These utility methods will help you identify the view's location in the coordinate systems of the window, the screen or another View. You will also be able to get the actual size of the view after layout has sized it.