I have managed to implement zooming without many problems under 4.1.3, but I have not figured out how to implement panning.

The final goal would be to implement the following UI:

click-drag ...