Sideways View with XML Android
There is, but it’s new in API 11 (Android 3.0): <TextView android:id=”@+id/rotated” android:layout_height=”wrap_content” android:layout_width=”wrap_content” android:rotation=”270″ android:textSize=”32sp” android:textColor=”#44CC44″ android:text=”@string/rotated” /> I tried this in 2.2, 2.3.1, and 2.3.3, and “android:rotation” wasn’t legal. It worked in 3.0 on the emulator, but it was odd. I also added paddingTop=”90dp” to it (to get it away from another component … Read more