Replace resource name in code
This commit is contained in:
parent
c61a9b8c94
commit
60ee318e60
3 changed files with 5 additions and 5 deletions
|
@ -117,7 +117,7 @@ public class MapillaryFiltersFragment extends BaseOsmAndFragment {
|
||||||
final int colorRes = nightMode ? R.color.icon_color_default_dark : R.color.icon_color_default_light;
|
final int colorRes = nightMode ? R.color.icon_color_default_dark : R.color.icon_color_default_light;
|
||||||
((AppCompatImageView) view.findViewById(R.id.mapillary_filters_user_icon)).setImageDrawable(getIcon(R.drawable.ic_action_user, colorRes));
|
((AppCompatImageView) view.findViewById(R.id.mapillary_filters_user_icon)).setImageDrawable(getIcon(R.drawable.ic_action_user, colorRes));
|
||||||
((AppCompatImageView) view.findViewById(R.id.mapillary_filters_date_icon)).setImageDrawable(getIcon(R.drawable.ic_action_data, colorRes));
|
((AppCompatImageView) view.findViewById(R.id.mapillary_filters_date_icon)).setImageDrawable(getIcon(R.drawable.ic_action_data, colorRes));
|
||||||
((AppCompatImageView) view.findViewById(R.id.mapillary_filters_tile_cache_icon)).setImageDrawable(getIcon(R.drawable.ic_layer_top_dark, colorRes));
|
((AppCompatImageView) view.findViewById(R.id.mapillary_filters_tile_cache_icon)).setImageDrawable(getIcon(R.drawable.ic_layer_top, colorRes));
|
||||||
|
|
||||||
final DelayAutoCompleteTextView textView = (DelayAutoCompleteTextView) view.findViewById(R.id.auto_complete_text_view);
|
final DelayAutoCompleteTextView textView = (DelayAutoCompleteTextView) view.findViewById(R.id.auto_complete_text_view);
|
||||||
textView.setAdapter(new MapillaryAutoCompleteAdapter(getContext(), R.layout.auto_complete_suggestion, getMyApplication()));
|
textView.setAdapter(new MapillaryAutoCompleteAdapter(getContext(), R.layout.auto_complete_suggestion, getMyApplication()));
|
||||||
|
|
|
@ -422,10 +422,10 @@ public class QuickActionFactory {
|
||||||
return R.drawable.ic_world_globe_dark;
|
return R.drawable.ic_world_globe_dark;
|
||||||
|
|
||||||
case MapOverlayAction.TYPE:
|
case MapOverlayAction.TYPE:
|
||||||
return R.drawable.ic_layer_top_dark;
|
return R.drawable.ic_layer_top;
|
||||||
|
|
||||||
case MapUnderlayAction.TYPE:
|
case MapUnderlayAction.TYPE:
|
||||||
return R.drawable.ic_layer_bottom_dark;
|
return R.drawable.ic_layer_bottom;
|
||||||
|
|
||||||
case NavDirectionsFromAction.TYPE:
|
case NavDirectionsFromAction.TYPE:
|
||||||
return R.drawable.ic_action_route_direction_from_here;
|
return R.drawable.ic_action_route_direction_from_here;
|
||||||
|
|
|
@ -351,7 +351,7 @@ public class OsmandRasterMapsPlugin extends OsmandPlugin {
|
||||||
.setDescription(overlayMapDescr)
|
.setDescription(overlayMapDescr)
|
||||||
.setSelected(hasOverlayDescription)
|
.setSelected(hasOverlayDescription)
|
||||||
.setColor(hasOverlayDescription ? R.color.osmand_orange : ContextMenuItem.INVALID_ID)
|
.setColor(hasOverlayDescription ? R.color.osmand_orange : ContextMenuItem.INVALID_ID)
|
||||||
.setIcon(R.drawable.ic_layer_top_dark)
|
.setIcon(R.drawable.ic_layer_top)
|
||||||
.setSecondaryIcon(R.drawable.ic_action_additional_option)
|
.setSecondaryIcon(R.drawable.ic_action_additional_option)
|
||||||
.setListener(listener)
|
.setListener(listener)
|
||||||
.setPosition(14)
|
.setPosition(14)
|
||||||
|
@ -367,7 +367,7 @@ public class OsmandRasterMapsPlugin extends OsmandPlugin {
|
||||||
.setDescription(underlayMapDescr)
|
.setDescription(underlayMapDescr)
|
||||||
.setSelected(hasUnderlayDescription)
|
.setSelected(hasUnderlayDescription)
|
||||||
.setColor(hasUnderlayDescription ? R.color.osmand_orange : ContextMenuItem.INVALID_ID)
|
.setColor(hasUnderlayDescription ? R.color.osmand_orange : ContextMenuItem.INVALID_ID)
|
||||||
.setIcon(R.drawable.ic_layer_bottom_dark)
|
.setIcon(R.drawable.ic_layer_bottom)
|
||||||
.setSecondaryIcon(R.drawable.ic_action_additional_option)
|
.setSecondaryIcon(R.drawable.ic_action_additional_option)
|
||||||
.setListener(listener)
|
.setListener(listener)
|
||||||
.setPosition(15)
|
.setPosition(15)
|
||||||
|
|
Loading…
Reference in a new issue