Remove current track icon from dashboard card

This commit is contained in:
Alexey Kulish 2017-04-06 20:12:13 +03:00
parent 9722174c72
commit f30ad76c6d

View file

@ -183,6 +183,7 @@ public class DashTrackFragment extends DashBaseFragment {
public static void createCurrentTrackView(View v, final OsmandApplication app) { public static void createCurrentTrackView(View v, final OsmandApplication app) {
((TextView) v.findViewById(R.id.name)).setText(R.string.shared_string_currently_recording_track); ((TextView) v.findViewById(R.id.name)).setText(R.string.shared_string_currently_recording_track);
v.findViewById(R.id.icon).setVisibility(View.GONE);
v.findViewById(R.id.time_icon).setVisibility(View.GONE); v.findViewById(R.id.time_icon).setVisibility(View.GONE);
v.findViewById(R.id.divider_dash).setVisibility(View.GONE); v.findViewById(R.id.divider_dash).setVisibility(View.GONE);
v.findViewById(R.id.divider_list).setVisibility(View.GONE); v.findViewById(R.id.divider_list).setVisibility(View.GONE);