From 0011085fb547756cef153edfbaa54e8a86d7b7d2 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Tue, 4 Aug 2020 00:27:38 +0300 Subject: [PATCH] Remove unnecessary selectable background --- OsmAnd/src/net/osmand/plus/track/TrackColoringCard.java | 3 +++ OsmAnd/src/net/osmand/plus/track/TrackWidthCard.java | 3 +++ 2 files changed, 6 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/track/TrackColoringCard.java b/OsmAnd/src/net/osmand/plus/track/TrackColoringCard.java index 2dbbeb3a59..ff21fa3f18 100644 --- a/OsmAnd/src/net/osmand/plus/track/TrackColoringCard.java +++ b/OsmAnd/src/net/osmand/plus/track/TrackColoringCard.java @@ -250,6 +250,9 @@ public class TrackColoringCard extends BaseCard implements ColorPickerListener { private void updateHeader() { AndroidUiHelper.updateVisibility(view.findViewById(R.id.icon), false); + View headerView = view.findViewById(R.id.header_view); + headerView.setBackgroundDrawable(null); + TextView titleView = view.findViewById(R.id.title); titleView.setText(R.string.select_color); diff --git a/OsmAnd/src/net/osmand/plus/track/TrackWidthCard.java b/OsmAnd/src/net/osmand/plus/track/TrackWidthCard.java index 7dc668e3d6..81208971bb 100644 --- a/OsmAnd/src/net/osmand/plus/track/TrackWidthCard.java +++ b/OsmAnd/src/net/osmand/plus/track/TrackWidthCard.java @@ -99,6 +99,9 @@ public class TrackWidthCard extends BaseCard { private void updateHeader() { AndroidUiHelper.updateVisibility(view.findViewById(R.id.icon), false); + View headerView = view.findViewById(R.id.header_view); + headerView.setBackgroundDrawable(null); + TextView titleView = view.findViewById(R.id.title); titleView.setText(R.string.select_track_width);