Commit 550aa758 authored by Geoffrey Métais's avatar Geoffrey Métais

Use new 'unknown' icon

parent 23e12a53
......@@ -86,8 +86,10 @@ public class CardPresenter extends Presenter {
} else if (MediaWrapper.getType() == MediaWrapper.TYPE_DIR) {
mCardView.getMainImageView().setScaleType(ImageView.ScaleType.CENTER);
picture = BitmapFactory.decodeResource(mRes, R.drawable.ic_menu_network_big);
} else
mCardView.getMainImageView().setScaleType(ImageView.ScaleType.CENTER_CROP);
} else {
mCardView.getMainImageView().setScaleType(ImageView.ScaleType.CENTER);
picture = BitmapFactory.decodeResource(mRes, R.drawable.ic_browser_unknown_big_normal);
}
if (picture != null && picture.getByteCount() > 4)
mCardView.setMainImage(new BitmapDrawable(mRes, picture));
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment