Niweera
5/26/2019 - 5:35 PM

Android change text alignment center

<TextView  
    android:layout_width="match_parent" 
    android:layout_height="match_parent" 
    android:gravity="center"
    android:text="@string/**yourtextstring**"
/>