diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java
index 231fa1e258..64e8650a93 100644
--- a/app/src/main/java/eu/faircode/email/FragmentCompose.java
+++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java
@@ -351,13 +351,13 @@ public class FragmentCompose extends FragmentBase {
etExtra = view.findViewById(R.id.etExtra);
tvDomain = view.findViewById(R.id.tvDomain);
etTo = view.findViewById(R.id.etTo);
- ibToAdd = view.findViewById(R.id.ivToAdd);
+ ibToAdd = view.findViewById(R.id.ibToAdd);
etCc = view.findViewById(R.id.etCc);
- ibCcAdd = view.findViewById(R.id.ivCcAdd);
+ ibCcAdd = view.findViewById(R.id.ibCcAdd);
etBcc = view.findViewById(R.id.etBcc);
- ibBccAdd = view.findViewById(R.id.ivBccAdd);
+ ibBccAdd = view.findViewById(R.id.ibBccAdd);
etSubject = view.findViewById(R.id.etSubject);
- ibCcBcc = view.findViewById(R.id.ivCcBcc);
+ ibCcBcc = view.findViewById(R.id.ibCcBcc);
rvAttachment = view.findViewById(R.id.rvAttachment);
tvNoInternetAttachments = view.findViewById(R.id.tvNoInternetAttachments);
tvDsn = view.findViewById(R.id.tvDsn);
@@ -498,11 +498,11 @@ public class FragmentCompose extends FragmentBase {
public void onClick(View view) {
int request;
int id = view.getId();
- if (id == R.id.ivToAdd) {
+ if (id == R.id.ibToAdd) {
request = REQUEST_CONTACT_TO;
- } else if (id == R.id.ivCcAdd) {
+ } else if (id == R.id.ibCcAdd) {
request = REQUEST_CONTACT_CC;
- } else if (id == R.id.ivBccAdd) {
+ } else if (id == R.id.ibBccAdd) {
request = REQUEST_CONTACT_BCC;
} else {
return;
diff --git a/app/src/main/res/layout/fragment_compose.xml b/app/src/main/res/layout/fragment_compose.xml
index 8306ea533f..e51525e569 100644
--- a/app/src/main/res/layout/fragment_compose.xml
+++ b/app/src/main/res/layout/fragment_compose.xml
@@ -93,17 +93,18 @@
android:importantForAutofill="no"
android:inputType="textEmailAddress|textNoSuggestions"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
- app:layout_constraintEnd_toStartOf="@+id/ivToAdd"
+ app:layout_constraintEnd_toStartOf="@+id/ibToAdd"
app:layout_constraintStart_toEndOf="@id/ivToLegend"
app:layout_constraintTop_toBottomOf="@id/etExtra" />
@@ -381,7 +385,6 @@
android:layout_width="wrap_content"
android:layout_height="0dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
- android:contentDescription="@string/title_no_format"
app:layout_constraintBottom_toBottomOf="@+id/tvReferenceHint"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/tvReferenceHint"
@@ -412,6 +415,7 @@
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_legend_edit"
android:padding="3dp"
+ android:tooltipText="@string/title_legend_edit"
app:layout_constraintEnd_toStartOf="@+id/ibReferenceImages"
app:layout_constraintTop_toBottomOf="@id/tvReferenceHint"
app:srcCompat="@drawable/twotone_edit_24" />
@@ -425,6 +429,7 @@
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_legend_show_images"
android:padding="3dp"
+ android:tooltipText="@string/title_legend_show_images"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvReferenceHint"
app:srcCompat="@drawable/twotone_image_24" />
@@ -448,7 +453,7 @@
android:id="@+id/grpHeader"
android:layout_width="0dp"
android:layout_height="0dp"
- app:constraint_referenced_ids="spIdentity,ivToLegend,etTo,ivToAdd,etSubject,vSeparator" />
+ app:constraint_referenced_ids="spIdentity,ivToLegend,etTo,ibToAdd,etSubject,vSeparator" />
+ app:constraint_referenced_ids="ivCcLegend,etCc,ibCcAdd,ivBccLegend,etBcc,ibBccAdd" />