From ec61a7fc515512acc7382765dc35a2266fd6f646 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Fri, 31 Mar 2023 13:59:40 +0100 Subject: [PATCH] android: reduce video player opacity in the gallery --- .../chat/simplex/app/views/chat/item/ImageFullScreenView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/android/app/src/main/java/chat/simplex/app/views/chat/item/ImageFullScreenView.kt b/apps/android/app/src/main/java/chat/simplex/app/views/chat/item/ImageFullScreenView.kt index 77ab795974..d916e4cb94 100644 --- a/apps/android/app/src/main/java/chat/simplex/app/views/chat/item/ImageFullScreenView.kt +++ b/apps/android/app/src/main/java/chat/simplex/app/views/chat/item/ImageFullScreenView.kt @@ -207,7 +207,7 @@ private fun VideoView(modifier: Modifier, uri: Uri, defaultPreview: Bitmap, curr setShowSubtitleButton(false) setShowVrButton(false) controllerAutoShow = false - findViewById(com.google.android.exoplayer2.R.id.exo_controls_background).setBackgroundColor(Color.Black.copy(alpha = 0.4f).toArgb()) + findViewById(com.google.android.exoplayer2.R.id.exo_controls_background).setBackgroundColor(Color.Black.copy(alpha = 0.3f).toArgb()) findViewById(com.google.android.exoplayer2.R.id.exo_settings).isVisible = false this.player = player.player }