I'm trying to position some elements on my interface and can't find this info on the documentation.
In Android, what's the default pivot (X and Y) for a View?
By default, the center of the view.
See View.setPivotX
Sets the x location of the point around which the view is rotated and scaled. By default, the pivot point is centered on the object. Setting this property disables this behavior and causes the view to use only the explicitly set pivotX and pivotY values.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With