make Wiki webview single column

This commit is contained in:
sonora 2017-01-05 02:32:45 +01:00
parent 273875d43a
commit ab29b380a0
2 changed files with 2 additions and 0 deletions

View file

@ -369,6 +369,7 @@ public class POIMapLayer extends OsmandMapLayer implements ContextMenuLayer.ICon
settings.setBuiltInZoomControls(true);
settings.setDisplayZoomControls(false);
settings.setSupportZoom(true);
settings.setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN);
wv.loadDataWithBaseURL(null, content, "text/html", "UTF-8", null);
// wv.loadUrl(OsMoService.SIGN_IN_URL + app.getSettings().OSMO_DEVICE_KEY.get());

View file

@ -105,6 +105,7 @@ public class ContextMenuHelper {
settings.setBuiltInZoomControls(true);
settings.setDisplayZoomControls(false);
settings.setSupportZoom(true);
settings.setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN);
wv.loadDataWithBaseURL(null, content, "text/html", "UTF-8", null);
// wv.loadUrl(OsMoService.SIGN_IN_URL + app.getSettings().OSMO_DEVICE_KEY.get());