Add green marker styling

This commit is contained in:
neslihanturan 2019-10-08 18:00:58 +03:00
parent 25c358b67f
commit 929c92d887

View file

@ -403,6 +403,10 @@ public class NearbyMapFragment extends CommonsDaggerSupportFragment
vectorDrawable = VectorDrawableCompat.create( vectorDrawable = VectorDrawableCompat.create(
getContext().getResources(), R.drawable.ic_custom_bookmark_marker, getContext().getTheme() getContext().getResources(), R.drawable.ic_custom_bookmark_marker, getContext().getTheme()
); );
} else if (!place.pic.trim().isEmpty()) {
vectorDrawable = VectorDrawableCompat.create(
getContext().getResources(), R.drawable.ic_custom_map_marker_green, getContext().getTheme()
);
} else { } else {
vectorDrawable = VectorDrawableCompat.create( vectorDrawable = VectorDrawableCompat.create(
getContext().getResources(), R.drawable.ic_custom_map_marker, getContext().getTheme() getContext().getResources(), R.drawable.ic_custom_map_marker, getContext().getTheme()