androidlayoutcenterInParent
androidlayoutcenterInParent is an attribute used within Android's relative layout system. It is a boolean attribute that, when set to true, instructs a child View to center itself within its parent View. This centering is applied both horizontally and vertically.
To utilize androidlayoutcenterInParent, the child View must be placed inside a RelativeLayout. The attribute is then
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" />
This attribute is a convenient way to achieve perfect centering without needing to manually calculate offsets