aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/item_post_detail_gallery.xml24
-rw-r--r--app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml4
2 files changed, 21 insertions, 7 deletions
diff --git a/app/src/main/res/layout/item_post_detail_gallery.xml b/app/src/main/res/layout/item_post_detail_gallery.xml
index 2b3a0e99..7944c5c8 100644
--- a/app/src/main/res/layout/item_post_detail_gallery.xml
+++ b/app/src/main/res/layout/item_post_detail_gallery.xml
@@ -208,12 +208,26 @@
android:layout_height="wrap_content"
android:visibility="gone">
- <ml.docilealligator.infinityforreddit.customviews.AspectRatioGifImageView
- android:id="@+id/image_view_item_post_detail_gallery"
+ <FrameLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:scaleType="fitStart" />
+ android:layout_height="wrap_content">
+
+ <ml.docilealligator.infinityforreddit.customviews.AspectRatioGifImageView
+ android:id="@+id/image_view_item_post_detail_gallery"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:adjustViewBounds="true"
+ android:scaleType="fitStart" />
+
+ <ImageView
+ android:layout_width="36dp"
+ android:layout_height="36dp"
+ android:layout_margin="16dp"
+ android:layout_gravity="start"
+ android:background="@drawable/play_button_round_background"
+ android:src="@drawable/ic_gallery_reverse_color_24dp" />
+
+ </FrameLayout>
<RelativeLayout
android:id="@+id/load_wrapper_item_post_detail_gallery"
diff --git a/app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml b/app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml
index ed2a28d9..c2930a41 100644
--- a/app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml
+++ b/app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml
@@ -217,8 +217,8 @@
android:scaleType="fitStart" />
<ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_width="36dp"
+ android:layout_height="36dp"
android:layout_margin="16dp"
android:layout_gravity="start"
android:background="@drawable/play_button_round_background"