0

I've a table layout with a textview in it. As the texts within every row are small enough to fit into the screen, I want my users to be able to pinch and stretch the screen so that they can zoom in. But, currently that feature is not working by default. How can i enable pinching and stretching the screen, then?

Thanks

aby
  • 810
  • 6
  • 21
  • 36

1 Answers1

0

You can implement it yourself. Start by reading this multipart tutorial: http://www.zdnet.com/blog/burnette/how-to-use-multi-touch-in-android-2/1747 (part 6 is devoted to pinch and zoom) and this other post in the devs blog: http://android-developers.blogspot.com/2010/06/making-sense-of-multitouch.html

There's also a library that looks promising (although I did not try it): http://code.google.com/p/android-pinch/

Aleadam
  • 40,203
  • 9
  • 86
  • 108