mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-14 06:22:50 +01:00
Add an gallery post indicator in PostDetailRecyclerViewAdapter.
This commit is contained in:
parent
fa11426101
commit
2a47c924f5
@ -208,6 +208,10 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="gone">
|
android:visibility="gone">
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<ml.docilealligator.infinityforreddit.customviews.AspectRatioGifImageView
|
<ml.docilealligator.infinityforreddit.customviews.AspectRatioGifImageView
|
||||||
android:id="@+id/image_view_item_post_detail_gallery"
|
android:id="@+id/image_view_item_post_detail_gallery"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -215,6 +219,16 @@
|
|||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:scaleType="fitStart" />
|
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
|
<RelativeLayout
|
||||||
android:id="@+id/load_wrapper_item_post_detail_gallery"
|
android:id="@+id/load_wrapper_item_post_detail_gallery"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -217,8 +217,8 @@
|
|||||||
android:scaleType="fitStart" />
|
android:scaleType="fitStart" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="36dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="36dp"
|
||||||
android:layout_margin="16dp"
|
android:layout_margin="16dp"
|
||||||
android:layout_gravity="start"
|
android:layout_gravity="start"
|
||||||
android:background="@drawable/play_button_round_background"
|
android:background="@drawable/play_button_round_background"
|
||||||
|
Loading…
Reference in New Issue
Block a user