Skip to content

Commit

Permalink
add new note icon
Browse files Browse the repository at this point in the history
  • Loading branch information
theScrabi committed Mar 30, 2021
1 parent ec54ce0 commit ad7a347
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down
10 changes: 10 additions & 0 deletions owncloudApp/src/main/res/drawable/ic_music_note_eighth.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="199.30469dp"
android:height="181.83203dp"
android:viewportWidth="199.30469"
android:viewportHeight="181.83203">
<path
android:pathData="M60,0V105.5C54.1,102.1 47.3,100 40,100 17.9,100 0,117.9 0,140c0,22.1 17.9,40 40,40 22.1,0 40,-17.9 40,-40V40c33.102,0 66.203,0 99.305,0v67.332c-5.9,-3.4 -12.7,-5.5 -20,-5.5 -22.1,0 -40,17.9 -40,40 0,22.1 17.9,40 40,40 22.1,0 40,-17.9 40,-40V0C152.87,0 106.435,0 60,0Z"
android:strokeWidth="10"
android:fillColor="#cccccc"/>
</vector>

0 comments on commit ad7a347

Please sign in to comment.