Ensure the media description is visible over the video (#3210)
Fixes https://github.com/tuskyapp/Tusky/issues/1587
This commit is contained in:
parent
387c1a4404
commit
54c8b28f9d
1 changed files with 3 additions and 0 deletions
|
@ -98,6 +98,9 @@ class ViewVideoFragment : ViewMediaFragment() {
|
|||
binding.mediaDescription.visible(showingDescription)
|
||||
binding.mediaDescription.movementMethod = ScrollingMovementMethod()
|
||||
|
||||
// Ensure the description is visible over the video
|
||||
binding.mediaDescription.elevation = binding.videoView.elevation + 1
|
||||
|
||||
binding.videoView.transitionName = url
|
||||
binding.videoView.setVideoPath(url)
|
||||
mediaController = object : MediaController(mediaActivity) {
|
||||
|
|
Loading…
Reference in a new issue