From 043f55e94c6b4cf35df6a9bfe66d78265a185ce1 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 8 Jan 2019 12:29:05 +0000 Subject: [PATCH] Layout improvement, refactoring --- .../eu/faircode/email/AdapterMessage.java | 41 ++++-------------- .../eu/faircode/email/FragmentCompose.java | 42 ++++++++++++++----- .../eu/faircode/email/StyledQuoteSpan.java | 37 ++++++++++++++++ 3 files changed, 75 insertions(+), 45 deletions(-) create mode 100644 app/src/main/java/eu/faircode/email/StyledQuoteSpan.java diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index 9baeecb463..a8f432a391 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -29,9 +29,7 @@ import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.content.res.ColorStateList; import android.database.Cursor; -import android.graphics.Canvas; import android.graphics.Color; -import android.graphics.Paint; import android.graphics.Typeface; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; @@ -1041,44 +1039,19 @@ public class AdapterMessage extends RecyclerView.Adapter