我想在我的应用程序中添加一个类似于路线图图像的图像。我想为该图像添加缩放功能以及在缩放图像时水平滚动。我写了一些代码,但它只允许缩放而不能滚动。代码:publicclassZoomextendsView{privateDrawableimage;privateintzoomControler=20;publicZoom(Contextcontext){super(context);image=context.getResources().getDrawable(R.drawable.boothmap);setFocusable(true);}protectedvoidonDraw(Ca