Merge pull request #649 from Bnyro/master

minor UI improvements
This commit is contained in:
Bnyro 2022-06-30 12:21:29 +00:00 committed by GitHub
commit 18f97f01be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -969,7 +969,7 @@ class PlayerFragment : Fragment() {
// cache the last three minutes
.setBackBuffer(1000 * 60 * 3, true)
.setBufferDurationsMs(
DefaultLoadControl.DEFAULT_MIN_BUFFER_MS,
1000 * 10, // exo default is 50s
bufferingGoal,
DefaultLoadControl.DEFAULT_BUFFER_FOR_PLAYBACK_MS,
DefaultLoadControl.DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS

View File

@ -3,7 +3,8 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_marginHorizontal="5dp"
android:paddingHorizontal="5dp"
android:background="?attr/selectableItemBackground"
android:orientation="vertical">
<com.google.android.material.imageview.ShapeableImageView