0

Is it possible to rotate a textview around a special point ?

tv.rotate(float x) doesn't offer this option.

Konrad Krakowiak
  • 12,285
  • 11
  • 58
  • 45
Chrissss
  • 97
  • 8
  • http://stackoverflow.com/questions/8959069/how-to-rotate-textview-90-degrees-and-display – Michael Laffargue Jun 18 '15 at 08:20
  • thats a simple rotation around the midpoint of the view... I want to rotate the textview around a specific point (x,y) like i can do with imageViews – Chrissss Jun 18 '15 at 08:22
  • 1
    That's what `android:pivotX` and `android:pivotY` are doing... The `50%` is used to center the pivot. Just move the value. http://developer.android.com/reference/android/view/View.html#setPivotX%28float%29 – Michael Laffargue Jun 18 '15 at 08:27

0 Answers0