Pinch Zoom on Android with an embedded ScrollView -


i have android app activity i'd able pinch zoom.

the activity linearlayout contains several controls, 1 of scrollview. i've implemented zooming following example here:

https://github.com/xjasz/androidzoomableviewgroup/blob/master/zoomlistview.java

here's i've seen:

  • if put finger1 outside of scrollview, can put finger2 anywhere , things zoom beautifully.

  • if put finger1 inside of scrollview, nothing zoom regardless of put finger2.

it seems me once finger goes scrollview, ontouchevent not propagated parents.

has else seen behavior this? ideas on how can fix can zoom if touch inside scrollview first?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -