From f86bd3e2826225769889ae8f4fd76db369bb8abc Mon Sep 17 00:00:00 2001 From: Dzmitry Yarmolenka Date: Fri, 30 Jul 2021 12:26:18 +0200 Subject: [PATCH] [android] Removed useless "Key information" text from PlacePageView. On iOS it's already removed. Signed-off-by: Dzmitry Yarmolenka --- android/multidex-config.txt | 2 -- android/res/layout/place_page_details.xml | 2 -- .../res/layout/place_page_key_info_header.xml | 22 ------------------- .../maps/widget/placepage/PlacePageView.java | 3 --- 4 files changed, 29 deletions(-) delete mode 100644 android/res/layout/place_page_key_info_header.xml diff --git a/android/multidex-config.txt b/android/multidex-config.txt index 79b7a1b2d7..c0ff101900 100644 --- a/android/multidex-config.txt +++ b/android/multidex-config.txt @@ -8,8 +8,6 @@ com/mapswithme/maps/downloader/MapDownloadManager.class com/mapswithme/maps/location/PlatformSocket.class com/mapswithme/maps/search/PopularityProvider.class com/mapswithme/maps/widget/placepage/PlacePageData.class -com/mapswithme/util/AbstractHttpUploader.class -com/mapswithme/util/HttpBackgroundUploader.class com/mapswithme/util/HttpClient$Params.class com/mapswithme/util/HttpClient.class com/mapswithme/util/HttpPayload.class diff --git a/android/res/layout/place_page_details.xml b/android/res/layout/place_page_details.xml index 28d0fc6686..6213452112 100644 --- a/android/res/layout/place_page_details.xml +++ b/android/res/layout/place_page_details.xml @@ -37,8 +37,6 @@ - - diff --git a/android/res/layout/place_page_key_info_header.xml b/android/res/layout/place_page_key_info_header.xml deleted file mode 100644 index b682698583..0000000000 --- a/android/res/layout/place_page_key_info_header.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - diff --git a/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java b/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java index f54c2f3b11..80abe0f94d 100644 --- a/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java +++ b/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java @@ -102,7 +102,6 @@ public class PlacePageView extends NestedScrollViewClickFixed private TextView mTvWebsite; private TextView mTvLatlon; private View mOpeningHours; - private View mKeyInfo; private TextView mFullOpeningHours; private TextView mTodayOpeningHours; private View mWifi; @@ -301,7 +300,6 @@ public class PlacePageView extends NestedScrollViewClickFixed LinearLayout latlon = findViewById(R.id.ll__place_latlon); latlon.setOnClickListener(this); mTvLatlon = findViewById(R.id.tv__place_latlon); - mKeyInfo = findViewById(R.id.place_page_key_info); mOpeningHours = findViewById(R.id.ll__place_schedule); mFullOpeningHours = findViewById(R.id.opening_hours); mTodayOpeningHours = findViewById(R.id.today_opening_hours); @@ -805,7 +803,6 @@ public class PlacePageView extends NestedScrollViewClickFixed refreshMetadataOrHide(mapObject.getMetadata(Metadata.MetadataType.FMD_WIKIPEDIA), mWiki, null); refreshMetadataOrHide(mapObject.getMetadata(Metadata.MetadataType.FMD_INTERNET), mWifi, null); refreshMetadataOrHide(mapObject.getMetadata(Metadata.MetadataType.FMD_FLATS), mEntrance, mTvEntrance); - UiUtils.showIf(mapObject.hasMetadata(), mKeyInfo); refreshOpeningHours(mapObject); // showTaxiOffer(mapObject);