diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java
index 57fb190569..bf53080e7e 100644
--- a/app/src/main/java/eu/faircode/email/FragmentCompose.java
+++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java
@@ -160,6 +160,7 @@ public class FragmentCompose extends FragmentEx {
private Group grpExtra;
private Group grpAddresses;
private Group grpAttachments;
+ private Group grpBody;
private Group grpSignature;
private Group grpReference;
@@ -215,6 +216,7 @@ public class FragmentCompose extends FragmentEx {
grpExtra = view.findViewById(R.id.grpExtra);
grpAddresses = view.findViewById(R.id.grpAddresses);
grpAttachments = view.findViewById(R.id.grpAttachments);
+ grpBody = view.findViewById(R.id.grpBody);
grpSignature = view.findViewById(R.id.grpSignature);
grpReference = view.findViewById(R.id.grpReference);
@@ -421,13 +423,13 @@ public class FragmentCompose extends FragmentEx {
setSubtitle(R.string.title_compose);
tvExtraPrefix.setText(null);
tvExtraSuffix.setText(null);
- etBody.setVisibility(View.GONE);
grpHeader.setVisibility(View.GONE);
grpExtra.setVisibility(View.GONE);
grpAddresses.setVisibility(View.GONE);
grpAttachments.setVisibility(View.GONE);
tvNoInternet.setVisibility(View.GONE);
+ grpBody.setVisibility(View.GONE);
grpSignature.setVisibility(View.GONE);
grpReference.setVisibility(View.GONE);
ibImages.setVisibility(View.GONE);
@@ -2189,7 +2191,7 @@ public class FragmentCompose extends FragmentEx {
protected void onExecuted(Bundle args, Spanned[] text) {
etBody.setText(text[0]);
etBody.setSelection(0);
- etBody.setVisibility(View.VISIBLE);
+ grpBody.setVisibility(View.VISIBLE);
boolean has_images = (text[1] != null &&
text[1].getSpans(0, text[1].length(), ImageSpan.class).length > 0);
diff --git a/app/src/main/res/layout/fragment_compose.xml b/app/src/main/res/layout/fragment_compose.xml
index 48f53c0730..77464f4b7c 100644
--- a/app/src/main/res/layout/fragment_compose.xml
+++ b/app/src/main/res/layout/fragment_compose.xml
@@ -289,6 +289,12 @@
android:layout_height="0dp"
app:constraint_referenced_ids="vSeparatorAttachments,rvAttachment" />
+
+