Allow zooming on images

This commit is contained in:
davidoskky 2020-12-13 15:12:31 +01:00
parent e08fc2604f
commit b0c4b010a2

View File

@ -34,6 +34,9 @@ class ImageFragment : Fragment() {
view.webcontent.visibility = View.VISIBLE
view.webcontent.settings.setLoadWithOverviewMode(true)
view.webcontent.settings.setUseWideViewPort(true)
view.webcontent.settings.setSupportZoom(true)
view.webcontent.settings.setBuiltInZoomControls(true)
view.webcontent.settings.setDisplayZoomControls(false)
view.webcontent.loadUrl(allImages[0])
return view