From 04ae4800ada0be1a85992766e01edc6d92e9f0de Mon Sep 17 00:00:00 2001 From: mcc Date: Mon, 23 Oct 2023 17:09:40 -0400 Subject: [PATCH 1/3] Custom exo_player_control_view.xml file --- .../res/layout/exo_player_control_view.xml | 154 ++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 app/src/main/res/layout/exo_player_control_view.xml diff --git a/app/src/main/res/layout/exo_player_control_view.xml b/app/src/main/res/layout/exo_player_control_view.xml new file mode 100644 index 0000000000..271fbc3065 --- /dev/null +++ b/app/src/main/res/layout/exo_player_control_view.xml @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 7590456dc1ec43a3da7196d4266d4fd6ddfb6ed8 Mon Sep 17 00:00:00 2001 From: mcc Date: Mon, 23 Oct 2023 17:15:47 -0400 Subject: [PATCH 2/3] Hide dark layer behind exoplayer controls --- app/src/main/res/layout/exo_player_control_view.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/res/layout/exo_player_control_view.xml b/app/src/main/res/layout/exo_player_control_view.xml index 271fbc3065..0bff2d1c17 100644 --- a/app/src/main/res/layout/exo_player_control_view.xml +++ b/app/src/main/res/layout/exo_player_control_view.xml @@ -22,10 +22,13 @@ entirety of the parent in code, after the parent's size has been determined. See: https://github.com/google/ExoPlayer/issues/8726. --> + + Date: Tue, 24 Oct 2023 12:32:26 -0400 Subject: [PATCH 3/3] Put semitransparent curtain back behind controls. This requires moving the stanza up in the file. --- .../res/layout/exo_player_control_view.xml | 53 ++++++++++--------- 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/app/src/main/res/layout/exo_player_control_view.xml b/app/src/main/res/layout/exo_player_control_view.xml index 0bff2d1c17..ad3b528d53 100644 --- a/app/src/main/res/layout/exo_player_control_view.xml +++ b/app/src/main/res/layout/exo_player_control_view.xml @@ -30,6 +30,33 @@ android:background="@color/exo_black_opacity_60"/> --> + + + + + + + + + + + + + + + - - - - - - - - - - - - - -