diff options
author | Luke Simmons <luke5083@live.com> | 2020-12-27 04:51:34 +0000 |
---|---|---|
committer | Luke Simmons <luke5083@live.com> | 2020-12-27 04:51:34 +0000 |
commit | e980e1a6133cbb33a6827092a4ab2f65cbd60ca7 (patch) | |
tree | 7b150f7b32300f4ddb4d7c9c3377dd46c8e72b89 /app/src/main/res/drawable | |
parent | 19e8cfbf15c3fae2722c9ca83167b8dcf509361e (diff) | |
download | infinity-for-reddit-e980e1a6133cbb33a6827092a4ab2f65cbd60ca7.tar infinity-for-reddit-e980e1a6133cbb33a6827092a4ab2f65cbd60ca7.tar.gz infinity-for-reddit-e980e1a6133cbb33a6827092a4ab2f65cbd60ca7.tar.bz2 infinity-for-reddit-e980e1a6133cbb33a6827092a4ab2f65cbd60ca7.tar.lz infinity-for-reddit-e980e1a6133cbb33a6827092a4ab2f65cbd60ca7.tar.xz infinity-for-reddit-e980e1a6133cbb33a6827092a4ab2f65cbd60ca7.tar.zst infinity-for-reddit-e980e1a6133cbb33a6827092a4ab2f65cbd60ca7.zip |
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.
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r-- | app/src/main/res/drawable/background_autoplay.xml | 11 |
1 files changed, 11 insertions, 0 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> |