From cb49ac00429281d683625b05674ade8e2155e9ee Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 23 Aug 2020 10:18:23 +0200 Subject: [PATCH] Make sure text is measured --- app/src/main/java/eu/faircode/email/AdapterMessage.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index 71ba7130e9..a687575f16 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -1839,6 +1839,8 @@ public class AdapterMessage extends RecyclerView.Adapter position = properties.getPosition(message.id); Log.i("Bind size=" + size + " height=" + height); + final int dp60 = Helper.dp2pixels(context, 60); + ibFull.setEnabled(hasWebView); ibFull.setImageResource(show_full ? R.drawable.baseline_fullscreen_exit_24 : R.drawable.baseline_fullscreen_24); ibImages.setImageResource(show_images ? R.drawable.baseline_format_align_justify_24 : R.drawable.baseline_image_24); @@ -1884,7 +1886,6 @@ public class AdapterMessage extends RecyclerView.Adapter