SVG fallback cover art

This commit is contained in:
Christopher Eby 2012-02-20 03:16:17 -06:00
parent 2a1217ae3b
commit fd1eedb329
8 changed files with 3 additions and 3 deletions

BIN
orig/fallback_cover.svgz Normal file

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 961 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 687 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -46,7 +46,6 @@ import android.text.TextUtils;
import android.text.TextWatcher;
import android.util.Log;
import android.view.ContextMenu;
import android.view.inputmethod.InputMethodManager;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuItem;
@ -54,6 +53,7 @@ import android.view.SubMenu;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewParent;
import android.view.inputmethod.InputMethodManager;
import android.widget.AdapterView;
import android.widget.HorizontalScrollView;
import android.widget.ImageButton;
@ -1307,7 +1307,7 @@ public class LibraryActivity
if (Song.mDisableCoverArt)
mCover.setVisibility(View.GONE);
else if (cover == null)
mCover.setImageResource(R.drawable.albumart_mp_unknown_list);
mCover.setImageResource(R.drawable.fallback_cover);
else
mCover.setImageBitmap(cover);
}

View File

@ -1649,7 +1649,7 @@ public final class PlaybackService extends Service
Bitmap cover = song.getCover(this);
if (cover == null) {
views.setImageViewResource(R.id.cover, R.drawable.albumart_mp_unknown_list);
views.setImageViewResource(R.id.cover, R.drawable.fallback_cover);
} else {
views.setImageViewBitmap(R.id.cover, cover);
}