From e980e1a6133cbb33a6827092a4ab2f65cbd60ca7 Mon Sep 17 00:00:00 2001 From: Luke Simmons Date: Sat, 26 Dec 2020 22:51:34 -0600 Subject: Add background to autoplay controls Added a translucent background to the video autoplay controls. Before, when the video background was white, you couldn't see the video controls; this fixes that. --- app/src/main/res/layout/exo_autoplay_playback_control_view.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/exo_autoplay_playback_control_view.xml b/app/src/main/res/layout/exo_autoplay_playback_control_view.xml index 76cc3b86..efdd1ac4 100644 --- a/app/src/main/res/layout/exo_autoplay_playback_control_view.xml +++ b/app/src/main/res/layout/exo_autoplay_playback_control_view.xml @@ -5,7 +5,8 @@ android:layout_height="wrap_content" android:paddingStart="16dp" android:paddingEnd="8dp" - android:layout_gravity="bottom"> + android:layout_gravity="bottom" + android:background="@drawable/background_autoplay">