scale wiki font size with screen density
This commit is contained in:
parent
af90c97845
commit
bb1020dd26
1 changed files with 1 additions and 3 deletions
|
@ -369,6 +369,7 @@ public class POIMapLayer extends OsmandMapLayer implements ContextMenuLayer.ICon
|
|||
settings.setBuiltInZoomControls(true);
|
||||
settings.setDisplayZoomControls(false);
|
||||
settings.setSupportZoom(true);
|
||||
settings.setTextZoom(ctx.getResources().getDisplayMetrics().density);
|
||||
|
||||
wv.loadDataWithBaseURL(null, content, "text/html", "UTF-8", null);
|
||||
// wv.loadUrl(OsMoService.SIGN_IN_URL + app.getSettings().OSMO_DEVICE_KEY.get());
|
||||
|
@ -393,9 +394,6 @@ public class POIMapLayer extends OsmandMapLayer implements ContextMenuLayer.ICon
|
|||
v.requestFocus();
|
||||
}
|
||||
break;
|
||||
case MotionEvent.ACTION_POINTER_DOWN:
|
||||
settings.setTextZoom( (int)(settings.getTextZoom() * 1.1) );
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue