Adrian Ulrich 2015-10-12 17:29:00 +02:00
parent 7f1f5c0cdd
commit 2676ad1a3c
25 changed files with 4 additions and 4 deletions

BIN
orig/ic_disk.svgz Normal file

Binary file not shown.

BIN
orig/ic_microphone.svgz Normal file

Binary file not shown.

BIN
orig/ic_musicnote.svgz Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 756 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 804 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 985 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 929 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 647 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 636 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 682 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 521 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 513 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 599 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 764 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 870 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 903 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 949 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -84,9 +84,9 @@ public final class CoverBitmap {
private static void loadIcons(Context context)
{
Resources res = context.getResources();
SONG_ICON = BitmapFactory.decodeResource(res, R.drawable.ic_tab_songs_selected);
ALBUM_ICON = BitmapFactory.decodeResource(res, R.drawable.ic_tab_albums_selected);
ARTIST_ICON = BitmapFactory.decodeResource(res, R.drawable.ic_tab_artists_selected);
SONG_ICON = BitmapFactory.decodeResource(res, R.drawable.ic_musicnote);
ALBUM_ICON = BitmapFactory.decodeResource(res, R.drawable.ic_disk);
ARTIST_ICON = BitmapFactory.decodeResource(res, R.drawable.ic_microphone);
}
/**
@ -289,7 +289,7 @@ public final class CoverBitmap {
}
int maxWidth = boxWidth - padding * 3 - textSize;
paint.setARGB(255, 255, 255, 255);
paint.setARGB(255, 0, 0, 0);
canvas.drawBitmap(SONG_ICON, left, top, paint);
drawText(canvas, title, left + padding + textSize, top, maxWidth, maxWidth, paint);