Merge pull request #4619 from Bnyro/master

fix: chapter layout UI and UX issues
This commit is contained in:
Bnyro 2023-08-25 19:15:16 +02:00 committed by GitHub
commit eaa0b58aaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

@ -325,6 +325,7 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions {
binding.player.hideController()
binding.player.useController = false
commentsViewModel.setCommentSheetExpand(false)
chaptersBottomSheet?.dismiss()
transitionEndId = endId
transitionStartId = startId
}

View File

@ -28,7 +28,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="16dp"
android:paddingBottom="12dp"
android:visibility="gone">
<TextView
@ -36,6 +36,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginHorizontal="10dp"
android:layout_marginBottom="5dp"
android:textSize="27sp" />
<com.google.android.material.divider.MaterialDivider

View File

@ -5,6 +5,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="5dp"
app:cardElevation="0dp"
app:cardBackgroundColor="@android:color/transparent"
app:cardCornerRadius="10dp">