aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2022-11-12 14:16:27 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2022-11-12 14:16:27 +0000
commitb85ed3c867f0c3a2ca0d90e4c29d54ef38c976b5 (patch)
treea04e7c5bfd5bf8ce2dcf600843de81bcbe8d03a2 /app/src/main/res/layout
parent03a2784fb885d0ab3a81304ffd11b02ad4d39930 (diff)
downloadinfinity-for-reddit-b85ed3c867f0c3a2ca0d90e4c29d54ef38c976b5.tar
infinity-for-reddit-b85ed3c867f0c3a2ca0d90e4c29d54ef38c976b5.tar.gz
infinity-for-reddit-b85ed3c867f0c3a2ca0d90e4c29d54ef38c976b5.tar.bz2
infinity-for-reddit-b85ed3c867f0c3a2ca0d90e4c29d54ef38c976b5.tar.lz
infinity-for-reddit-b85ed3c867f0c3a2ca0d90e4c29d54ef38c976b5.tar.xz
infinity-for-reddit-b85ed3c867f0c3a2ca0d90e4c29d54ef38c976b5.tar.zst
infinity-for-reddit-b85ed3c867f0c3a2ca0d90e4c29d54ef38c976b5.zip
Show the current image index in gallery in PostFragment.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/item_post_gallery_type.xml28
1 files changed, 24 insertions, 4 deletions
diff --git a/app/src/main/res/layout/item_post_gallery_type.xml b/app/src/main/res/layout/item_post_gallery_type.xml
index 4ea4579c..a817cd40 100644
--- a/app/src/main/res/layout/item_post_gallery_type.xml
+++ b/app/src/main/res/layout/item_post_gallery_type.xml
@@ -196,11 +196,31 @@
</com.nex3z.flowlayout.FlowLayout>
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/gallery_recycler_view_item_post_gallery_type"
- android:layout_width="match_parent"
+ <FrameLayout
+ android:id="@+id/gallery_frame_layout_item_post_gallery_type"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:orientation="horizontal" />
+ android:visibility="gone">
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/gallery_recycler_view_item_post_gallery_type"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" />
+
+ <com.libRG.CustomTextView
+ android:id="@+id/image_index_text_view_item_post_gallery_type"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="16dp"
+ android:textSize="?attr/font_12"
+ android:fontFamily="?attr/font_family"
+ android:padding="4dp"
+ app:lib_setRadius="6dp"
+ app:lib_setRoundedView="true"
+ app:lib_setShape="rectangle" />
+
+ </FrameLayout>
<ImageView
android:id="@+id/no_preview_image_view_item_post_gallery_type"