diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index 2f241a8625..1b78307d3c 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -63,6 +63,7 @@ import android.view.MotionEvent; import android.view.TouchDelegate; import android.view.View; import android.view.ViewGroup; +import android.view.ViewStub; import android.webkit.DownloadListener; import android.webkit.WebSettings; import android.webkit.WebView; @@ -224,6 +225,8 @@ public class AdapterMessage extends RecyclerView.Adapter 0 ? 1.1f : 1f)); tvSubject.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize * 0.9f); tvPreview.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize * 0.9f); - if (viewType == ViewType.THREAD) - tvBody.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); int px = Math.round(TypedValue.applyDimension( TypedValue.COMPLEX_UNIT_PX, textSize * (compact ? 1.5f : 3.0f), @@ -762,6 +768,9 @@ public class AdapterMessage extends RecyclerView.Adapter 0); @@ -887,6 +898,9 @@ public class AdapterMessage extends RecyclerView.Adapter @@ -73,4 +74,37 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/tvNoInternetBody" /> - \ No newline at end of file + + + + + + + + + diff --git a/app/src/main/res/layout/item_message_compact.xml b/app/src/main/res/layout/item_message_compact.xml index 14dcfd2c05..68702d2b96 100644 --- a/app/src/main/res/layout/item_message_compact.xml +++ b/app/src/main/res/layout/item_message_compact.xml @@ -21,45 +21,12 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> - - - - - - - - - diff --git a/app/src/main/res/layout/item_message_normal.xml b/app/src/main/res/layout/item_message_normal.xml index 1e1811aff7..dda61317d2 100644 --- a/app/src/main/res/layout/item_message_normal.xml +++ b/app/src/main/res/layout/item_message_normal.xml @@ -21,45 +21,12 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> - - - - - - - - -