android - ListView pinch-to-zoom possible? -


i'm trying implement pinch-to-zoom on listview contains small pieces of code. however, can't seem work. suspect may not possible implement multitouch zoom on listview. have used implementation: http://www.allappsdevelopers.com/topicdetail.aspx?topicid=c16ed3b4-b422-43ba-b595-ee8e21dd1854

my target android 2.2+. have example of pinch-to-zoom zoom in , out on text? or not possible on listview?

i include code, it's similar in above example.

thanks.

use this code implementing pinch-to-zoom on custom view.

and make sure listview responds events , not pinch gesture, override ontouchevent() in following way let scalegesturedetector detect/handle events.

@override public boolean ontouchevent(motionevent e) {     myscaledetector.ontouchevent(e);     return super.ontouchevent(e); } 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -