Support for tiling image view and large image viewing

Fixes #5949
Fixes #5574
Fixes #4380
// FREEBIE
This commit is contained in:
Moxie Marlinspike
2016-12-14 10:21:14 -08:00
parent 477589b092
commit d2be49af42
12 changed files with 335 additions and 32 deletions

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context="org.thoughtcrime.securesms.components.ZoomingImageView">
<ImageView android:id="@+id/image_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="visible"/>
<com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
android:id="@+id/subsampling_image_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"/>
</merge>