aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_view_imgur_images.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-07-14 15:26:19 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-07-14 15:26:19 +0000
commitc97120528bd158c7ff430846ac04acfa74f78058 (patch)
tree5e090acc0902b8c5941734caf4f498534c1386a1 /app/src/main/res/layout/fragment_view_imgur_images.xml
parent67cb832c46895193c85a2b9d1b5c95873588ad26 (diff)
downloadinfinity-for-reddit-c97120528bd158c7ff430846ac04acfa74f78058.tar
infinity-for-reddit-c97120528bd158c7ff430846ac04acfa74f78058.tar.gz
infinity-for-reddit-c97120528bd158c7ff430846ac04acfa74f78058.tar.bz2
infinity-for-reddit-c97120528bd158c7ff430846ac04acfa74f78058.tar.lz
infinity-for-reddit-c97120528bd158c7ff430846ac04acfa74f78058.tar.xz
infinity-for-reddit-c97120528bd158c7ff430846ac04acfa74f78058.tar.zst
infinity-for-reddit-c97120528bd158c7ff430846ac04acfa74f78058.zip
Use SubsamplingScaleImageView in ViewImgurImageFragment. Probably fix gif too small in AspectRatioGifImageView.
Diffstat (limited to 'app/src/main/res/layout/fragment_view_imgur_images.xml')
-rw-r--r--app/src/main/res/layout/fragment_view_imgur_images.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/src/main/res/layout/fragment_view_imgur_images.xml b/app/src/main/res/layout/fragment_view_imgur_images.xml
index 63620c08..20110897 100644
--- a/app/src/main/res/layout/fragment_view_imgur_images.xml
+++ b/app/src/main/res/layout/fragment_view_imgur_images.xml
@@ -13,13 +13,11 @@
android:layout_height="wrap_content"
android:layout_centerInParent="true" />
- <com.alexvasilkov.gestures.views.GestureImageView
+ <com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
android:id="@+id/image_view_view_imgur_image_fragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:adjustViewBounds="true"
- android:scaleType="fitCenter"
- app:gest_fillViewport="true" />
+ app:quickScaleEnabled="false" />
<LinearLayout
android:id="@+id/load_image_error_linear_layout_view_imgur_image_fragment"