Update action bar items
This commit is contained in:
parent
084e5da3d3
commit
31898bc891
5 changed files with 7 additions and 7 deletions
Binary file not shown.
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 866 B |
Binary file not shown.
Before Width: | Height: | Size: 866 B |
Binary file not shown.
Before Width: | Height: | Size: 607 B |
|
@ -196,7 +196,7 @@ public class FavouritesActivity extends OsmandExpandableListActivity {
|
|||
true, onshow, false);
|
||||
if (point.isStored()) {
|
||||
ActionItem edit = new ActionItem();
|
||||
edit.setIcon(getResources().getDrawable(R.drawable.list_activities_fav_edit));
|
||||
edit.setIcon(getResources().getDrawable(R.drawable.a_5_content_edit_light));
|
||||
edit.setTitle(getString(R.string.favourites_context_menu_edit));
|
||||
edit.setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
|
@ -209,7 +209,7 @@ public class FavouritesActivity extends OsmandExpandableListActivity {
|
|||
|
||||
ActionItem delete = new ActionItem();
|
||||
delete.setTitle(getString(R.string.favourites_context_menu_delete));
|
||||
delete.setIcon(getResources().getDrawable(R.drawable.list_activities_fav_delete));
|
||||
delete.setIcon(getResources().getDrawable(R.drawable.a_5_content_discard_light));
|
||||
delete.setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
|
|
@ -1240,7 +1240,7 @@ public class MapActivityActions implements DialogProvider {
|
|||
ActionItem showOnMap = new ActionItem();
|
||||
final OsmandApplication app = ((OsmandApplication) activity.getApplication());
|
||||
final TargetPointsHelper targetPointsHelper = app.getTargetPointsHelper();
|
||||
showOnMap.setIcon(activity.getResources().getDrawable(R.drawable.list_activities_show_on_map));
|
||||
showOnMap.setIcon(activity.getResources().getDrawable(R.drawable.a_7_location_place_light));
|
||||
showOnMap.setTitle(activity.getString(R.string.show_poi_on_map));
|
||||
showOnMap.setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
|
@ -1256,7 +1256,7 @@ public class MapActivityActions implements DialogProvider {
|
|||
});
|
||||
qa.addActionItem(showOnMap);
|
||||
ActionItem setAsDestination = new ActionItem();
|
||||
setAsDestination.setIcon(activity.getResources().getDrawable(R.drawable.list_activities_navigate_to));
|
||||
setAsDestination.setIcon(activity.getResources().getDrawable(R.drawable.a_7_location_directions_light));
|
||||
setAsDestination.setTitle(activity.getString(R.string.get_directions));
|
||||
setAsDestination.setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
|
@ -1274,10 +1274,10 @@ public class MapActivityActions implements DialogProvider {
|
|||
ActionItem intermediate = new ActionItem();
|
||||
// For button-less search UI
|
||||
if (targetPointsHelper.getPointToNavigate() != null) {
|
||||
intermediate.setIcon(activity.getResources().getDrawable(R.drawable.list_activities_set_intermediate));
|
||||
intermediate.setIcon(activity.getResources().getDrawable(R.drawable.a_9_av_make_available_offline_light));
|
||||
intermediate.setTitle(activity.getString(R.string.context_menu_item_intermediate_point));
|
||||
} else {
|
||||
intermediate.setIcon(activity.getResources().getDrawable(R.drawable.list_activities_set_destination));
|
||||
intermediate.setIcon(activity.getResources().getDrawable(R.drawable.a_9_av_make_available_offline_light));
|
||||
intermediate.setTitle(activity.getString(R.string.context_menu_item_destination_point));
|
||||
}
|
||||
intermediate.setOnClickListener(new OnClickListener() {
|
||||
|
@ -1294,7 +1294,7 @@ public class MapActivityActions implements DialogProvider {
|
|||
qa.addActionItem(intermediate);
|
||||
if (favorite) {
|
||||
ActionItem addToFavorite = new ActionItem();
|
||||
addToFavorite.setIcon(activity.getResources().getDrawable(R.drawable.list_activities_favorites));
|
||||
addToFavorite.setIcon(activity.getResources().getDrawable(R.drawable.a_3_rating_important_light));
|
||||
addToFavorite.setTitle(activity.getString(R.string.add_to_favourite));
|
||||
addToFavorite.setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue