From ad7a3473fc99d4dcd1b23cd14238183e3d7f6d7b Mon Sep 17 00:00:00 2001 From: Christian Schabesberger Date: Tue, 30 Mar 2021 17:18:43 +0200 Subject: [PATCH] add new note icon --- .../android/ui/preview/PreviewAudioFragment.java | 4 ++-- .../src/main/res/drawable/ic_music_note_eighth.xml | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 owncloudApp/src/main/res/drawable/ic_music_note_eighth.xml diff --git a/owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewAudioFragment.java b/owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewAudioFragment.java index 9fc9841b898..11a2f65900d 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewAudioFragment.java +++ b/owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewAudioFragment.java @@ -218,10 +218,10 @@ private void extractAndSetCoverArt(OCFile file) { Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length); mImagePreview.setImageBitmap(bitmap); //associated cover art in bitmap } else { - mImagePreview.setImageResource(R.drawable.logo); + mImagePreview.setImageResource(R.drawable.ic_music_note_eighth); } } catch (Throwable t) { - mImagePreview.setImageResource(R.drawable.logo); + mImagePreview.setImageResource(R.drawable.ic_music_note_eighth); } } diff --git a/owncloudApp/src/main/res/drawable/ic_music_note_eighth.xml b/owncloudApp/src/main/res/drawable/ic_music_note_eighth.xml new file mode 100644 index 00000000000..4fd1972af5d --- /dev/null +++ b/owncloudApp/src/main/res/drawable/ic_music_note_eighth.xml @@ -0,0 +1,10 @@ + + +