diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-07-21 05:25:40 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-07-21 05:25:40 +0000 |
commit | 8415ace96af3c816b3d3121d298a3ae548bebc50 (patch) | |
tree | f03e5e94e07ee4523e9e2bb0924239d5fdcb746e /app/src/main/res | |
parent | 34989892030c17ff93a873435bb0dc74ef388960 (diff) | |
download | infinity-for-reddit-8415ace96af3c816b3d3121d298a3ae548bebc50.tar infinity-for-reddit-8415ace96af3c816b3d3121d298a3ae548bebc50.tar.gz infinity-for-reddit-8415ace96af3c816b3d3121d298a3ae548bebc50.tar.bz2 infinity-for-reddit-8415ace96af3c816b3d3121d298a3ae548bebc50.tar.lz infinity-for-reddit-8415ace96af3c816b3d3121d298a3ae548bebc50.tar.xz infinity-for-reddit-8415ace96af3c816b3d3121d298a3ae548bebc50.tar.zst infinity-for-reddit-8415ace96af3c816b3d3121d298a3ae548bebc50.zip |
Show an indicator in gallery post in PostRecyclerViewAdapter.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/item_post_card_2_with_preview.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/layout/item_post_with_preview.xml | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/app/src/main/res/layout/item_post_card_2_with_preview.xml b/app/src/main/res/layout/item_post_card_2_with_preview.xml index 777be8ae..8890981f 100644 --- a/app/src/main/res/layout/item_post_card_2_with_preview.xml +++ b/app/src/main/res/layout/item_post_card_2_with_preview.xml @@ -28,12 +28,12 @@ <ImageView android:id="@+id/video_or_gif_indicator_image_view_item_post_card_2_with_preview" - 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" /> <ProgressBar diff --git a/app/src/main/res/layout/item_post_with_preview.xml b/app/src/main/res/layout/item_post_with_preview.xml index 3d2f09b3..b3ef0a9b 100644 --- a/app/src/main/res/layout/item_post_with_preview.xml +++ b/app/src/main/res/layout/item_post_with_preview.xml @@ -221,12 +221,12 @@ <ImageView android:id="@+id/video_or_gif_indicator_image_view_item_post_with_preview" - 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" /> <ProgressBar |