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