Show the current image index in gallery in PostFragment.

This commit is contained in:
Docile-Alligator
2022-11-13 01:16:27 +11:00
parent 03a2784fb8
commit b85ed3c867
5 changed files with 69 additions and 34 deletions

View File

@@ -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"