center textview in relativelayout code example Example: android studio centering textview in relativelayout android:layout_centerHorizontal="true"