From 5432a9ff8c96f08bb475d0bdfb9ae2d24d0f8fd6 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 16 Aug 2019 14:31:31 +0200 Subject: [PATCH] Some ripples in the water --- .../eu/faircode/email/AdapterMessage.java | 23 +++++++++++++++---- .../main/res/layout/item_message_compact.xml | 14 +++-------- .../main/res/layout/item_message_normal.xml | 14 +++-------- 3 files changed, 25 insertions(+), 26 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index 1d253305af..df653b3ef3 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -20,6 +20,7 @@ package eu.faircode.email; */ import android.Manifest; +import android.animation.Animator; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.Dialog; @@ -68,9 +69,11 @@ import android.view.MenuItem; import android.view.MotionEvent; import android.view.TouchDelegate; import android.view.View; +import android.view.ViewAnimationUtils; import android.view.ViewConfiguration; import android.view.ViewGroup; import android.view.ViewStub; +import android.view.animation.AccelerateDecelerateInterpolator; import android.webkit.DownloadListener; import android.webkit.WebSettings; import android.webkit.WebView; @@ -226,8 +229,8 @@ public class AdapterMessage extends RecyclerView.Adapter + android:layout_height="wrap_content" + android:foreground="?android:attr/selectableItemBackground"> - - + android:layout_height="wrap_content" + android:foreground="?android:attr/selectableItemBackground"> - -