Don't set visible by default

This commit is contained in:
vshcherb 2014-10-13 17:20:05 +02:00
parent 0d2c83654b
commit d6df309f0a

View file

@ -138,7 +138,6 @@ public class MapActivity extends AccessibleActivity {
parseLaunchIntentLocation();
if(settings.USE_NATIVE_RENDER.get() && NativeQtLibrary.isInit()) {
findViewById(R.id.MapView).setVisibility(View.GONE);
glSurfaceView = (GLSurfaceView) findViewById(R.id.glSurfaceView);
glSurfaceView.setVisibility(View.VISIBLE);
OsmAndMapLayersView ml = (OsmAndMapLayersView) findViewById(R.id.MapLayersView);
@ -147,8 +146,6 @@ public class MapActivity extends AccessibleActivity {
mapView = ml.getMapView();
mapView.setMapRender(NativeQtLibrary.getMapRenderer());
} else {
findViewById(R.id.MapLayersView).setVisibility(View.GONE);
findViewById(R.id.glSurfaceView).setVisibility(View.GONE);
OsmAndMapSurfaceView surf = (OsmAndMapSurfaceView) findViewById(R.id.MapView);
surf.setVisibility(View.VISIBLE);
mapView = surf.getMapView();