From ba2a219168721680cd6e5e553a35a7cbf2614e22 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Mon, 6 Jul 2020 22:14:58 +0800 Subject: Show a preview image before autoplaying video is loaded. --- app/src/main/res/layout/item_post_detail_video_autoplay.xml | 7 +++++++ app/src/main/res/layout/item_post_video_type_autoplay.xml | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/item_post_detail_video_autoplay.xml b/app/src/main/res/layout/item_post_detail_video_autoplay.xml index 6ee5736a..b8b75860 100644 --- a/app/src/main/res/layout/item_post_detail_video_autoplay.xml +++ b/app/src/main/res/layout/item_post_detail_video_autoplay.xml @@ -202,6 +202,13 @@ android:background="#000000" app:resize_mode="fixed_width"> + + + app:controller_layout_id="@layout/exo_autoplay_playback_control_view" /> + + -- cgit v1.2.3