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