mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-10 20:57:25 +01:00
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.
This commit is contained in:
parent
19e8cfbf15
commit
e980e1a613
11
app/src/main/res/drawable/background_autoplay.xml
Normal file
11
app/src/main/res/drawable/background_autoplay.xml
Normal file
@ -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>
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user