aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-02-16 10:31:42 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-02-16 10:31:42 +0000
commit9efeeb88ac1fde770ccd7506f7c6667c0d333f1e (patch)
tree35aa7664f9a6b13d567ba40c4bdb854f993a8ed5 /app/src/main/res/layout
parent538827f11e2dd20dd8076544f8fbb3b85eb83df8 (diff)
downloadinfinity-for-reddit-9efeeb88ac1fde770ccd7506f7c6667c0d333f1e.tar
infinity-for-reddit-9efeeb88ac1fde770ccd7506f7c6667c0d333f1e.tar.gz
infinity-for-reddit-9efeeb88ac1fde770ccd7506f7c6667c0d333f1e.tar.bz2
infinity-for-reddit-9efeeb88ac1fde770ccd7506f7c6667c0d333f1e.tar.lz
infinity-for-reddit-9efeeb88ac1fde770ccd7506f7c6667c0d333f1e.tar.xz
infinity-for-reddit-9efeeb88ac1fde770ccd7506f7c6667c0d333f1e.tar.zst
infinity-for-reddit-9efeeb88ac1fde770ccd7506f7c6667c0d333f1e.zip
Continue adding Gallery Layout.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/item_post_gallery.xml34
1 files changed, 17 insertions, 17 deletions
diff --git a/app/src/main/res/layout/item_post_gallery.xml b/app/src/main/res/layout/item_post_gallery.xml
index dd1c7c1d..4d40c4d8 100644
--- a/app/src/main/res/layout/item_post_gallery.xml
+++ b/app/src/main/res/layout/item_post_gallery.xml
@@ -19,14 +19,28 @@
android:layout_gravity="center"
android:visibility="gone" />
+ <ml.docilealligator.infinityforreddit.customviews.AspectRatioGifImageView
+ android:id="@+id/image_view_item_post_gallery"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:visibility="gone" />
+
+ <ImageView
+ android:id="@+id/image_view_no_preview_item_post_gallery"
+ android:layout_width="match_parent"
+ android:layout_height="150dp"
+ android:scaleType="center"
+ android:background="@drawable/thumbnail_compact_layout_rounded_edge"
+ android:visibility="gone" />
+
<ImageView
android:id="@+id/video_or_gif_indicator_image_view_item_post_gallery"
- 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:scaleType="center"
android:background="@drawable/play_button_round_background"
- android:src="@drawable/ic_play_circle_36dp"
android:visibility="gone" />
<RelativeLayout
@@ -49,20 +63,6 @@
</RelativeLayout>
- <ml.docilealligator.infinityforreddit.customviews.AspectRatioGifImageView
- android:id="@+id/image_view_item_post_gallery"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:visibility="gone" />
-
- <ImageView
- android:id="@+id/image_view_no_preview_item_post_gallery"
- android:layout_width="match_parent"
- android:layout_height="150dp"
- android:scaleType="center"
- android:background="@drawable/thumbnail_compact_layout_rounded_edge"
- android:visibility="gone" />
-
<TextView
android:id="@+id/title_text_view_item_post_gallery"
android:layout_width="match_parent"