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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -