Trying to figure out how to align a text inside a TextView for Android.
Found the answer on StackOverflow
<TextView
android:textAlignment=”center”
android:layout_gravity=”center_horizontal|center”
None of us need to have the whole solution, we just have the part, together we can make it whole
Trying to figure out how to align a text inside a TextView for Android.
Found the answer on StackOverflow
<TextView
android:textAlignment=”center”
android:layout_gravity=”center_horizontal|center”