make Wiki webview single column
This commit is contained in:
parent
273875d43a
commit
ab29b380a0
2 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue