From bc310ca3fbb3901b6a710ee795f3472856e4d5a6 Mon Sep 17 00:00:00 2001
From: Angelo Suzuki <1063155+tinsukE@users.noreply.github.com>
Date: Tue, 8 Aug 2023 23:08:35 +0200
Subject: [PATCH] Add background to sensitive media button (#3939)
Using the same background and margin as the ALT button.
Fixes #3772
---
app/src/main/res/layout/item_media_preview.xml | 5 +++--
app/src/main/res/layout/item_report_status.xml | 7 ++++---
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/app/src/main/res/layout/item_media_preview.xml b/app/src/main/res/layout/item_media_preview.xml
index 1fec78f68..fda34730e 100644
--- a/app/src/main/res/layout/item_media_preview.xml
+++ b/app/src/main/res/layout/item_media_preview.xml
@@ -16,14 +16,15 @@
android:id="@+id/status_sensitive_media_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:alpha="0.7"
+ android:layout_margin="3dp"
+ android:background="@drawable/media_warning_bg"
android:contentDescription="@null"
android:padding="@dimen/status_sensitive_media_button_padding"
android:visibility="gone"
app:layout_constraintStart_toStartOf="@+id/status_media_preview_container"
app:layout_constraintTop_toTopOf="@+id/status_media_preview_container"
app:srcCompat="@drawable/ic_eye_24dp"
- app:tint="@color/white" />
+ app:tint="?android:attr/textColorSecondary" />
-
\ No newline at end of file
+