Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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


With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!