:fire: Android developers should collect the following utils(updating).
Added new methods (features)
Added 6 new very useful methods. 1. getScreenXDpi() which returns the Width (X) density in DPI. 2. getScreenYDpi() which returns the Height (Y) density in DPI. 3. calculateDistanceByX() which returns the distance between the given View's X (start point of View's width) and the screen width. 4. calculateDistanceByY() which returns the distance between the given View's Y (start point of View's height) and the screen height. 5. getViewX() which returns the X coordinate of the given View on the screen. 6. getViewY() which returns the Y coordinate of the given View on the screen.
马
马歇尔 committed
7402e364000fd053b7ee08650a04a8559977ba41
Parent: 10ae070
Committed by GitHub <noreply@github.com>
on 1/10/2021, 12:24:25 PM