I am currently developing for Android (my first app) an application which lets users see the subway map and be able to pinch zoom and drag around.
I am currently mod
you can use following code to limit bottom and right
float maxX = minX+viewWidth; int offsetY = 80; float maxY = minY+viewHeight-offsetY; if(x>maxX){ mPosX = maxX; } if(xmaxY){ mPosY = maxY; } if(y