diff options
-rw-r--r-- | app/src/main/res/drawable/background_autoplay.xml | 11 | ||||
-rw-r--r-- | app/src/main/res/layout/exo_autoplay_playback_control_view.xml | 3 |
2 files changed, 13 insertions, 1 deletions
diff --git a/app/src/main/res/drawable/background_autoplay.xml b/app/src/main/res/drawable/background_autoplay.xml new file mode 100644 index 00000000..8859f467 --- /dev/null +++ b/app/src/main/res/drawable/background_autoplay.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" > + + <solid + android:color="#80000000" /> + + <corners + android:topLeftRadius="16dp" + android:topRightRadius="16dp" /> + +</shape> 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"> <TextView android:id="@id/exo_position" android:layout_width="wrap_content" |