use correct icon for new behavior of destination button

This commit is contained in:
sonora 2015-11-13 09:28:47 +01:00
parent 0804cff706
commit 88964311d4
2 changed files with 3 additions and 2 deletions

View file

@ -284,7 +284,7 @@
android:layout_weight="1"
android:background="?attr/dashboard_button"
android:scaleType="center"
android:src="@drawable/map_action_waypoints"/>
android:src="@drawable/ic_action_flag_dark"/>
<View
android:layout_width="1dp"

View file

@ -411,7 +411,8 @@ public class MapContextMenuFragment extends Fragment implements DownloadEvents {
});
final ImageButton buttonWaypoint = (ImageButton) view.findViewById(R.id.context_menu_route_button);
buttonWaypoint.setImageDrawable(iconsCache.getIcon(R.drawable.map_action_waypoints,
//buttonWaypoint.setImageDrawable(iconsCache.getIcon(R.drawable.map_action_waypoints,
buttonWaypoint.setImageDrawable(iconsCache.getIcon(R.drawable.ic_action_flag_dark,
light ? R.color.icon_color : R.color.dashboard_subheader_text_dark));
buttonWaypoint.setOnClickListener(new View.OnClickListener() {
@Override