Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--android/src/com/mapswithme/maps/maplayer/MapLayerCompositeController.java3
-rw-r--r--android/src/com/mapswithme/maps/maplayer/subway/DefaultMapLayerController.java4
2 files changed, 4 insertions, 3 deletions
diff --git a/android/src/com/mapswithme/maps/maplayer/MapLayerCompositeController.java b/android/src/com/mapswithme/maps/maplayer/MapLayerCompositeController.java
index 3d2c8ae726..2f40e17856 100644
--- a/android/src/com/mapswithme/maps/maplayer/MapLayerCompositeController.java
+++ b/android/src/com/mapswithme/maps/maplayer/MapLayerCompositeController.java
@@ -51,8 +51,9 @@ public class MapLayerCompositeController implements MapLayerController
subway.setOnClickListener(dialogClickListener);
DefaultMapLayerController subwayMapLayerController = new DefaultMapLayerController(subway);
- DefaultMapLayerController isoLinesController = new DefaultMapLayerController(isoLinesView);
isoLinesView.setOnClickListener(dialogClickListener);
+ DefaultMapLayerController isoLinesController = new DefaultMapLayerController(isoLinesView);
+
ControllerAndMode subwayEntry = new ControllerAndMode(Mode.SUBWAY, Tutorial.SUBWAY,
subwayMapLayerController);
ControllerAndMode trafficEntry = new ControllerAndMode(Mode.TRAFFIC, null,
diff --git a/android/src/com/mapswithme/maps/maplayer/subway/DefaultMapLayerController.java b/android/src/com/mapswithme/maps/maplayer/subway/DefaultMapLayerController.java
index 0d06c24aee..570f7933cc 100644
--- a/android/src/com/mapswithme/maps/maplayer/subway/DefaultMapLayerController.java
+++ b/android/src/com/mapswithme/maps/maplayer/subway/DefaultMapLayerController.java
@@ -39,7 +39,7 @@ public class DefaultMapLayerController implements MapLayerController
@Override
public void showImmediately()
{
- mLayerView.setVisibility(View.VISIBLE);
+ UiUtils.show(mLayerView);
}
@Override
@@ -51,7 +51,7 @@ public class DefaultMapLayerController implements MapLayerController
@Override
public void hideImmediately()
{
- mLayerView.setVisibility(View.GONE);
+ UiUtils.hide(mLayerView);
}
@Override