zoomin pdf in android studio
public void setPDF(String asset,int pages)
{
pdfView.fromAsset(asset).swipeHorizontal(true).onLoad(new OnLoadCompleteListener() {
@Override
public void loadComplete(int nbPages)
{
pdfView.fitToWidth(0); // Goto to specific page
pdfView.setMinZoom(60);
pdfView.setMidZoom(80);
pdfView.setMaxZoom(100);
progressBar.setVisibility(View.GONE);
}
}).defaultPage(pages).enableAntialiasing(true).load();
}