It’s really needed center a text on Android,and sometimes,it doesn’t format the text correctly,so i’m here to show a easy way to do it! In your XML file just put:
<TextView android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_horizontal" android:text="Here you should put your text!" />
Yes,simple and useful,you could change your text settings,making it bold,italic, or just change the size of it.