Use Glide to load media preview images

Closes #3344
// FREEBIE
This commit is contained in:
Jake McGinty
2015-06-04 13:21:20 -07:00
committed by Moxie Marlinspike
parent 37fbd769b7
commit f1137927d4
3 changed files with 54 additions and 70 deletions

View File

@@ -5,20 +5,10 @@
android:layout_height="match_parent"
android:background="@color/gray95">
<ImageView android:id="@+id/image"
<org.thoughtcrime.securesms.components.ZoomingImageView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="@string/media_preview_activity__image_content_description"
android:visibility="gone"/>
<TextView android:id="@+id/error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:background="#ff600000"
android:textColor="#ffffffff"
android:textSize="15sp"
android:padding="10dp"
android:visibility="gone" />
android:contentDescription="@string/media_preview_activity__image_content_description" />
</RelativeLayout>