Used to set the centering alignment of the current element in the relative-layout.
none
Default Value. Not centered.
both
Centered vertically and horizontally.
vertical
Center vertically.
horizontal
Centered horizontally.
Initial value | none |
Applies to | relative items |
Inherited | no |
Animatable |
LCD tables only load in the browser