From 97fbec160aa190c661e9009543333f6d23ae077c Mon Sep 17 00:00:00 2001 From: Roman Tsisyk Date: Fri, 1 Jan 2021 22:17:23 +0300 Subject: [PATCH] [android] Hide guides Signed-off-by: Roman Tsisyk --- android/res/layout/menu_content.xml | 1 + android/src/com/mapswithme/maps/MwmActivity.java | 4 ++-- android/src/com/mapswithme/maps/intent/Factory.java | 2 ++ android/src/com/mapswithme/maps/maplayer/LayersUtils.java | 6 +++++- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/android/res/layout/menu_content.xml b/android/res/layout/menu_content.xml index 15ae414b90..6ccc57955e 100644 --- a/android/res/layout/menu_content.xml +++ b/android/res/layout/menu_content.xml @@ -50,6 +50,7 @@ android:drawableTint="?attr/colorAccent" android:text="@string/download_guides" android:textColor="?attr/colorAccent" + android:visibility="gone" tools:background="#403033FF" tools:targetApi="m" /> > subway = new Pair<>(BottomSheetItem.Subway.makeInstance(context), subwayListener); + /* Pair> traffic = new Pair<>(BottomSheetItem.Traffic.makeInstance(context), trafficListener); + */ Pair> isoLines = new Pair<>(BottomSheetItem.Isolines.makeInstance(context), isoLinesListener); + /* Pair> guides = new Pair<>(BottomSheetItem.Guides.makeInstance(context), guidesListener); + */ - return Arrays.asList(guides, traffic, isoLines, subway); + return Arrays.asList(/*guides, traffic,*/ isoLines, subway); } }