Show an overlay on image attachments that failed to load
This commit is contained in:
20
mastodon/src/main/res/drawable/broken_media.xml
Normal file
20
mastodon/src/main/res/drawable/broken_media.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="64dp"
|
||||
android:height="64dp"
|
||||
android:viewportWidth="64"
|
||||
android:viewportHeight="64">
|
||||
<path
|
||||
android:pathData="M28,11L25,15L31,23L25,31L31,39L25,47L28,51H5V11H28Z"
|
||||
android:fillColor="#000000"
|
||||
android:fillAlpha="0.4" />
|
||||
<path
|
||||
android:pathData="M2.2,53.8C3,54.6 3.933,55 5,55L31,55L28,51H5V11H28L31,7H5C3.933,7 3,7.4 2.2,8.2C1.4,9 1,9.933 1,11V51C1,52.067 1.4,53 2.2,53.8ZM28.397,35.529L22.733,42.867L16.533,34.4L8.733,44.533H26.85L31,39L28.397,35.529Z"
|
||||
android:fillColor="#000000" />
|
||||
<path
|
||||
android:pathData="M43.449,11.897L39.571,15.052L43.457,24.266L35.7,30.577L39.586,39.791L31.829,46.102L33.772,50.709L50.268,54.821L59.944,16.01L43.449,11.897Z"
|
||||
android:fillColor="#000000"
|
||||
android:fillAlpha="0.4" />
|
||||
<path
|
||||
android:pathData="M47.328,8.742L43.449,11.897L59.944,16.01L50.268,54.821L33.772,50.709L35.716,55.316L49.3,58.703C50.335,58.961 51.337,58.798 52.307,58.216C53.277,57.633 53.891,56.824 54.149,55.789L63.826,16.977C64.084,15.942 63.921,14.94 63.339,13.97C62.756,13 61.947,12.387 60.912,12.128L47.328,8.742ZM34.221,44.156L48.274,47.66L41.926,32.611L37.9,35.794L39.586,39.791L34.221,44.156Z"
|
||||
android:fillColor="#000000" />
|
||||
</vector>
|
||||
Reference in New Issue
Block a user