Make wiki screen zoomable

This commit is contained in:
Victor Shcherb 2016-08-16 23:35:03 +02:00
parent 8e938ada51
commit 36c2509de3

View file

@ -374,6 +374,9 @@ public class POIMapLayer extends OsmandMapLayer implements ContextMenuLayer.ICon
final WebView wv = new WebView(ctx);
WebSettings settings = wv.getSettings();
settings.setDefaultTextEncodingName("utf-8");
settings.setBuiltInZoomControls(true);
settings.setDisplayZoomControls(false);
wv.loadDataWithBaseURL(null, content, "text/html", "UTF-8", null);
// wv.loadUrl(OsMoService.SIGN_IN_URL + app.getSettings().OSMO_DEVICE_KEY.get());
ScrollView scrollView = new ScrollView(ctx);