fix list_favorite

This commit is contained in:
sonora 2013-06-29 16:01:21 +02:00
parent a34b6d9477
commit 24cc8d8320
5 changed files with 3 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -635,7 +635,7 @@ public class FavouritesActivity extends OsmandExpandableListActivity {
final FavouritePoint model = (FavouritePoint) getChild(groupPosition, childPosition);
row.setTag(model);
if(model.isStored()){
icon.setImageResource(R.drawable.list_activities_favorites);
icon.setImageResource(R.drawable.list_favorite);
} else {
icon.setImageResource(R.drawable.opened_poi);
}

View file

@ -161,7 +161,7 @@ public class FavouritesListFragment extends SherlockListFragment implements Sear
ImageView icon = (ImageView) row.findViewById(R.id.favourite_icon);
final FavouritePoint model = getItem(position);
if (model.isStored()) {
icon.setImageResource(R.drawable.list_activities_favorites);
icon.setImageResource(R.drawable.list_favorite);
} else {
icon.setImageResource(R.drawable.opened_poi);
}

View file

@ -153,7 +153,7 @@ public class SearchPoiFilterActivity extends SherlockListFragment implements Se
icon.setImageResource(android.R.drawable.ic_search_category_default);
} else {
// label.setTypeface(Typeface.DEFAULT);
icon.setImageResource(model.isStandardFilter() ? R.drawable.folder : R.drawable.list_activities_favorites);
icon.setImageResource(model.isStandardFilter() ? R.drawable.folder : R.drawable.list_favorite);
}
ImageView editIcon = (ImageView) row.findViewById(R.id.folder_edit_icon);
if (model.isStandardFilter()) {