Get rid of gingerbread icons
Icon sources: * Note: http://publicdomainvectors.org/en/free-clipart/Eighth-Note-with-stem-facing-up-vector-image/10187.html * Microphone: http://publicdomainvectors.org/en/free-clipart/Microphone-vector-icon/12833.html * Disk: self-drawn
BIN
orig/ic_disk.svgz
Normal file
BIN
orig/ic_microphone.svgz
Normal file
BIN
orig/ic_musicnote.svgz
Normal file
BIN
res/drawable-hdpi/ic_disk.png
Normal file
After Width: | Height: | Size: 727 B |
BIN
res/drawable-hdpi/ic_microphone.png
Normal file
After Width: | Height: | Size: 756 B |
BIN
res/drawable-hdpi/ic_musicnote.png
Normal file
After Width: | Height: | Size: 804 B |
Before Width: | Height: | Size: 985 B |
Before Width: | Height: | Size: 929 B |
Before Width: | Height: | Size: 1.1 KiB |
BIN
res/drawable-mdpi/ic_disk.png
Normal file
After Width: | Height: | Size: 647 B |
BIN
res/drawable-mdpi/ic_microphone.png
Normal file
After Width: | Height: | Size: 636 B |
BIN
res/drawable-mdpi/ic_musicnote.png
Normal file
After Width: | Height: | Size: 682 B |
Before Width: | Height: | Size: 521 B |
Before Width: | Height: | Size: 513 B |
Before Width: | Height: | Size: 599 B |
BIN
res/drawable-xhdpi/ic_disk.png
Normal file
After Width: | Height: | Size: 764 B |
BIN
res/drawable-xhdpi/ic_microphone.png
Normal file
After Width: | Height: | Size: 870 B |
BIN
res/drawable-xhdpi/ic_musicnote.png
Normal file
After Width: | Height: | Size: 903 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.3 KiB |
BIN
res/drawable-xxhdpi/ic_disk.png
Normal file
After Width: | Height: | Size: 949 B |
BIN
res/drawable-xxhdpi/ic_microphone.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
res/drawable-xxhdpi/ic_musicnote.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
@ -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);
|
||||
|