diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-08-26 12:27:19 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-08-26 12:27:19 +0000 |
commit | e8386b0c4a63539adbe096d7510dc44f91208359 (patch) | |
tree | b1434c35888f22680171a22c8f3fbf58df986b77 /app/src/main/res/drawable | |
parent | 79a7e0f6f6033b0bcfb013d75fc2c5a67b36c5ae (diff) | |
download | infinity-for-reddit-e8386b0c4a63539adbe096d7510dc44f91208359.tar infinity-for-reddit-e8386b0c4a63539adbe096d7510dc44f91208359.tar.gz infinity-for-reddit-e8386b0c4a63539adbe096d7510dc44f91208359.tar.bz2 infinity-for-reddit-e8386b0c4a63539adbe096d7510dc44f91208359.tar.lz infinity-for-reddit-e8386b0c4a63539adbe096d7510dc44f91208359.tar.xz infinity-for-reddit-e8386b0c4a63539adbe096d7510dc44f91208359.tar.zst infinity-for-reddit-e8386b0c4a63539adbe096d7510dc44f91208359.zip |
Tweak the video autoplay control UI. Set show_timeout to 1s to video autoplay control UI.
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r-- | app/src/main/res/drawable/background_autoplay.xml | 11 | ||||
-rw-r--r-- | app/src/main/res/drawable/exo_player_control_button_circular_background.xml | 6 |
2 files changed, 17 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..fd34b51c --- /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="#40000000" /> + + <corners + android:topLeftRadius="16dp" + android:topRightRadius="16dp" /> + +</shape>
\ No newline at end of file diff --git a/app/src/main/res/drawable/exo_player_control_button_circular_background.xml b/app/src/main/res/drawable/exo_player_control_button_circular_background.xml new file mode 100644 index 00000000..363fffc1 --- /dev/null +++ b/app/src/main/res/drawable/exo_player_control_button_circular_background.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval" > + <size android:width="16dp" android:height="16dp"/> + <solid + android:color="#40000000" /> +</shape>
\ No newline at end of file |