aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_post_compact.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/item_post_compact.xml')
-rw-r--r--app/src/main/res/layout/item_post_compact.xml28
1 files changed, 22 insertions, 6 deletions
diff --git a/app/src/main/res/layout/item_post_compact.xml b/app/src/main/res/layout/item_post_compact.xml
index c8ab31c2..411bf5fc 100644
--- a/app/src/main/res/layout/item_post_compact.xml
+++ b/app/src/main/res/layout/item_post_compact.xml
@@ -230,18 +230,34 @@
app:layout_constraintTop_toTopOf="parent"
tools:visibility="visible">
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <ImageView
+ android:id="@+id/image_view_best_post_item"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:scaleType="center" />
+
+ <ImageView
+ android:id="@+id/play_button_image_view_item_post_compact"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="0dp"
+ android:layout_gravity="center"
+ android:background="@drawable/play_button_round_background"
+ android:src="@drawable/ic_play_circle_36dp"
+ android:visibility="gone" />
+
+ </FrameLayout>
+
<ProgressBar
android:id="@+id/progress_bar_item_post_compact"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_centerInParent="true" />
- <ImageView
- android:id="@+id/image_view_best_post_item"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:scaleType="center" />
-
</RelativeLayout>
<ImageView