From aea038afc71932406016614efdf934a8f640dde7 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 4 Nov 2022 13:14:42 +0100 Subject: [PATCH] Hide to one pixel --- app/src/main/java/eu/faircode/email/Helper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Helper.java b/app/src/main/java/eu/faircode/email/Helper.java index dc55bf7fec..b1d6fae151 100644 --- a/app/src/main/java/eu/faircode/email/Helper.java +++ b/app/src/main/java/eu/faircode/email/Helper.java @@ -1715,10 +1715,10 @@ public class Helper { } static void hide(View view) { - view.setPadding(0, 1, 0, 0); + view.setPadding(1, 1, 0, 0); ViewGroup.LayoutParams lparam = view.getLayoutParams(); - lparam.width = 0; + lparam.width = 1; lparam.height = 1; if (lparam instanceof ConstraintLayout.LayoutParams) ((ConstraintLayout.LayoutParams) lparam).setMargins(0, 0, 0, 0);