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

(image error) Size: 727 B

Binary file not shown.

After

(image error) Size: 756 B

Binary file not shown.

After

(image error) Size: 804 B

Binary file not shown.

Before

(image error) Size: 985 B

Binary file not shown.

Before

(image error) Size: 929 B

Binary file not shown.

Before

(image error) Size: 1.1 KiB

Binary file not shown.

After

(image error) Size: 647 B

Binary file not shown.

After

(image error) Size: 636 B

Binary file not shown.

After

(image error) Size: 682 B

Binary file not shown.

Before

(image error) Size: 521 B

Binary file not shown.

Before

(image error) Size: 513 B

Binary file not shown.

Before

(image error) Size: 599 B

Binary file not shown.

After

(image error) Size: 764 B

Binary file not shown.

After

(image error) Size: 870 B

Binary file not shown.

After

(image error) Size: 903 B

Binary file not shown.

Before

(image error) Size: 1.1 KiB

Binary file not shown.

Before

(image error) Size: 1.0 KiB

Binary file not shown.

Before

(image error) Size: 1.3 KiB

Binary file not shown.

After

(image error) Size: 949 B

Binary file not shown.

After

(image error) Size: 1.1 KiB

Binary file not shown.

After

(image error) Size: 1.1 KiB

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