Changed icon for gpx points nav

This commit is contained in:
Alexey Kulish 2018-05-12 16:21:56 +03:00
parent 47b9e0677a
commit 8f42b9e7c5
2 changed files with 4 additions and 4 deletions

View file

@ -7,6 +7,6 @@
<item
android:id="@+id/action_points"
android:icon="@drawable/ic_action_folder"
android:icon="@drawable/ic_action_group_select_all"
android:title="@string/points"/>
</menu>

View file

@ -739,7 +739,7 @@ public class TrackSegmentFragment extends OsmAndListFragment implements TrackBit
});
}
if (!gpxItem.group.getTrack().generalTrack) {
((ImageView) view.findViewById(R.id.overflow_menu)).setImageDrawable(ic.getThemedIcon(R.drawable.ic_overflow_menu_dark));
((ImageView) view.findViewById(R.id.overflow_menu)).setImageDrawable(ic.getThemedIcon(R.drawable.ic_overflow_menu_white));
view.findViewById(R.id.overflow_menu).setVisibility(View.VISIBLE);
view.findViewById(R.id.overflow_menu).setOnClickListener(new View.OnClickListener() {
@Override
@ -851,7 +851,7 @@ public class TrackSegmentFragment extends OsmAndListFragment implements TrackBit
});
}
if (!gpxItem.group.getTrack().generalTrack) {
((ImageView) view.findViewById(R.id.overflow_menu)).setImageDrawable(ic.getThemedIcon(R.drawable.ic_overflow_menu_dark));
((ImageView) view.findViewById(R.id.overflow_menu)).setImageDrawable(ic.getThemedIcon(R.drawable.ic_overflow_menu_white));
view.findViewById(R.id.overflow_menu).setVisibility(View.VISIBLE);
view.findViewById(R.id.overflow_menu).setOnClickListener(new View.OnClickListener() {
@Override
@ -950,7 +950,7 @@ public class TrackSegmentFragment extends OsmAndListFragment implements TrackBit
});
}
if (!gpxItem.group.getTrack().generalTrack) {
((ImageView) view.findViewById(R.id.overflow_menu)).setImageDrawable(ic.getThemedIcon(R.drawable.ic_overflow_menu_dark));
((ImageView) view.findViewById(R.id.overflow_menu)).setImageDrawable(ic.getThemedIcon(R.drawable.ic_overflow_menu_white));
view.findViewById(R.id.overflow_menu).setVisibility(View.VISIBLE);
view.findViewById(R.id.overflow_menu).setOnClickListener(new View.OnClickListener() {
@Override