How can you display upside down text with a textview in Android?

in the xml file add:

android:rotation = "180"

in the respective element to display text upside down.

for example:

<TextView
       android:id="@+id/textView1"
       android:layout_width="match_parent"
       android:layout_height="match_parent"
       android:gravity="center"
       android:text="TextView" 
       android:rotation="180"/>

Leave a Comment