aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_reddit_gallery_submission_image.xml
blob: c6d42e817183c22b194ba443f32b03e66c4ebd3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <ml.docilealligator.infinityforreddit.customviews.AspectRatioGifImageView
        android:id="@+id/aspect_ratio_gif_image_view_item_reddit_gallery_submission_image"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:scaleType="centerCrop" />

    <ProgressBar
        android:id="@+id/progress_bar_item_reddit_gallery_submission_image"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center" />

    <ImageView
        android:id="@+id/close_image_view_item_reddit_gallery_submission_image"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="16dp"
        android:layout_gravity="top|end"
        android:background="@drawable/play_button_round_background"
        android:src="@drawable/ic_close_24dp"
        android:visibility="gone" />

</FrameLayout>