Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

textview rotation by touch  RSS feed

Jeet Dholakia
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i have a textview which i want to rotate using finger touch,basically user will swipe down or up depending and i want to calculate the angle of touch and rotate the textview accordingly..

theres a method called textView.setRotation(float angle), my question is how to implement this? inside the clicklistener? how to rotate text continuously as user swipes up or down?

im looking for some direction


It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!