Answers for "android studio textview top center"

9

textview android text align center

<TextView  
    android:layout_width="match_parent" 
    android:layout_height="match_parent" 
    android:gravity="center"
    android:text="@string/**yourtextstring**"
/>
Posted by: Guest on May-17-2020
0

android studio centering textview in relativelayout

android:layout_centerHorizontal="true"
Posted by: Guest on April-06-2020

Code answers related to "android studio textview top center"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language