I had done pinch zoom with this polidea Zoomview.I have implemented this pinch zoom code in fragment page.
ZoomView zoomView;
//inside onCreateView method
zoomView= new ZoomView(getActivity());
zoomView.setLayoutParams(new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
zoomView.addView(gridTable);
zoomView.setRotationY(180);
gridviewlayout.addView(zoomView);
Pinch Zoom in and Zoom out was working in gridview table page.But If I zoom-in a page and then scroll to next fragment page.After that when i go back to previous fragment page,the page is still in zoomed state.
What I am trying to do is reset the page in normal state when I move to next fragment page.
I searched a lot of samples.But Everything is related to Imageview.I didn't get any sample for pinch zoom in fragments with layout.
Anyone can help me with this.Thank you.