aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-07-16 14:58:11 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-07-16 14:58:11 +0000
commitfd175178a2219df4369f68bcfc92e10d80468b64 (patch)
tree08c67a4c2ec5683269e267ea4e32e04653dac35f /app/src/main/res/layout
parentbae154da4520571ec116815648ad3dbc942bdb2d (diff)
downloadinfinity-for-reddit-fd175178a2219df4369f68bcfc92e10d80468b64.tar
infinity-for-reddit-fd175178a2219df4369f68bcfc92e10d80468b64.tar.gz
infinity-for-reddit-fd175178a2219df4369f68bcfc92e10d80468b64.tar.bz2
infinity-for-reddit-fd175178a2219df4369f68bcfc92e10d80468b64.tar.lz
infinity-for-reddit-fd175178a2219df4369f68bcfc92e10d80468b64.tar.xz
infinity-for-reddit-fd175178a2219df4369f68bcfc92e10d80468b64.tar.zst
infinity-for-reddit-fd175178a2219df4369f68bcfc92e10d80468b64.zip
Use BigImageView in ViewRedditGalleryImageOrGifFragment. Fix subtitle not showing in FilteredThingActivity when browsing Reddit gallery posts.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_view_image_or_gif.xml2
-rw-r--r--app/src/main/res/layout/fragment_view_reddit_gallery_image_or_gif.xml5
2 files changed, 4 insertions, 3 deletions
diff --git a/app/src/main/res/layout/activity_view_image_or_gif.xml b/app/src/main/res/layout/activity_view_image_or_gif.xml
index 9d3a0b58..6e53f230 100644
--- a/app/src/main/res/layout/activity_view_image_or_gif.xml
+++ b/app/src/main/res/layout/activity_view_image_or_gif.xml
@@ -19,7 +19,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
app:optimizeDisplay="true"
- app:tapToRetry="false"/>
+ app:tapToRetry="false" />
<LinearLayout
android:id="@+id/load_image_error_linear_layout_view_image_or_gif_activity"
diff --git a/app/src/main/res/layout/fragment_view_reddit_gallery_image_or_gif.xml b/app/src/main/res/layout/fragment_view_reddit_gallery_image_or_gif.xml
index a92bce52..6f27275a 100644
--- a/app/src/main/res/layout/fragment_view_reddit_gallery_image_or_gif.xml
+++ b/app/src/main/res/layout/fragment_view_reddit_gallery_image_or_gif.xml
@@ -13,11 +13,12 @@
android:layout_height="wrap_content"
android:layout_centerInParent="true" />
- <com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
+ <com.github.piasy.biv.view.BigImageView
android:id="@+id/image_view_view_reddit_gallery_image_or_gif_fragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
- app:quickScaleEnabled="false" />
+ app:optimizeDisplay="true"
+ app:tapToRetry="false" />
<LinearLayout
android:id="@+id/load_image_error_linear_layout_view_reddit_gallery_image_or_gif_fragment"