Make wiki screen zoomable
This commit is contained in:
parent
8e938ada51
commit
36c2509de3
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue