Add hires version of fallback cover
This commit is contained in:
parent
5a15f52a29
commit
4d39a912f7
BIN
orig/fallback_cover_large.svgz
Normal file
BIN
orig/fallback_cover_large.svgz
Normal file
Binary file not shown.
BIN
res/drawable-hdpi/fallback_cover_large.png
Normal file
BIN
res/drawable-hdpi/fallback_cover_large.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
BIN
res/drawable-mdpi/fallback_cover_large.png
Normal file
BIN
res/drawable-mdpi/fallback_cover_large.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
BIN
res/drawable-xhdpi/fallback_cover_large.png
Normal file
BIN
res/drawable-xhdpi/fallback_cover_large.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
BIN
res/drawable-xxhdpi/fallback_cover_large.png
Normal file
BIN
res/drawable-xxhdpi/fallback_cover_large.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.0 KiB |
@ -26,7 +26,7 @@ THE SOFTWARE.
|
||||
android:layout_height="fill_parent">
|
||||
<ImageView
|
||||
android:id="@+id/cover"
|
||||
android:src="@drawable/fallback_cover"
|
||||
android:src="@drawable/fallback_cover_large"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:scaleType="fitCenter"
|
||||
|
@ -26,6 +26,7 @@ THE SOFTWARE.
|
||||
android:layout_height="fill_parent">
|
||||
<ImageView
|
||||
android:id="@+id/cover"
|
||||
android:src="@drawable/fallback_cover_large"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:adjustViewBounds="true"
|
||||
|
@ -118,7 +118,7 @@ public class FourSquareWidget extends AppWidgetProvider {
|
||||
views.setImageViewResource(R.id.next, nextResource);
|
||||
|
||||
if (cover == null) {
|
||||
views.setImageViewResource(R.id.cover, R.drawable.fallback_cover);
|
||||
views.setImageViewResource(R.id.cover, R.drawable.fallback_cover_large);
|
||||
} else {
|
||||
views.setImageViewBitmap(R.id.cover, cover);
|
||||
}
|
||||
|
@ -2081,7 +2081,7 @@ public final class PlaybackService extends Service
|
||||
Bitmap cover = song.getCover(this);
|
||||
if (cover == null) {
|
||||
views.setImageViewResource(R.id.cover, R.drawable.fallback_cover);
|
||||
expanded.setImageViewResource(R.id.cover, R.drawable.fallback_cover);
|
||||
expanded.setImageViewResource(R.id.cover, R.drawable.fallback_cover_large);
|
||||
} else {
|
||||
views.setImageViewBitmap(R.id.cover, cover);
|
||||
expanded.setImageViewBitmap(R.id.cover, cover);
|
||||
|
@ -109,7 +109,7 @@ public class WidgetD extends AppWidgetProvider {
|
||||
}
|
||||
|
||||
if (cover == null) {
|
||||
views.setImageViewResource(R.id.cover, R.drawable.fallback_cover);
|
||||
views.setImageViewResource(R.id.cover, R.drawable.fallback_cover_large);
|
||||
} else {
|
||||
views.setImageViewBitmap(R.id.cover, cover);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user