diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index fd34206123..29d96bcce8 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -1871,6 +1871,9 @@ public class AdapterMessage extends RecyclerView.Adapter= Build.VERSION_CODES.O) + ibTools.setTooltipText(ibTools.getContentDescription()); ibTools.setVisibility(outbox ? View.GONE : View.VISIBLE); ibTrashBottom.setVisibility(button_extra && button_trash && trash ? View.VISIBLE : View.GONE); @@ -2169,7 +2172,18 @@ public class AdapterMessage extends RecyclerView.Adapter= Build.VERSION_CODES.O) + ibFull.setTooltipText(ibFull.getContentDescription()); + ibImages.setImageResource(show_images ? R.drawable.twotone_article_24 : R.drawable.twotone_image_24); + ibImages.setContentDescription(context.getString(show_images + ? R.string.title_legend_hide_images + : R.string.title_legend_show_images)); + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) + ibImages.setTooltipText(ibImages.getContentDescription()); if (show_full) { // Create web view diff --git a/app/src/main/res/layout/include_message_navigation.xml b/app/src/main/res/layout/include_message_navigation.xml index e8e3705f96..ef604ef587 100644 --- a/app/src/main/res/layout/include_message_navigation.xml +++ b/app/src/main/res/layout/include_message_navigation.xml @@ -56,10 +56,10 @@ android:layout_width="36dp" android:layout_height="36dp" android:background="?android:attr/selectableItemBackgroundBorderless" - android:contentDescription="@string/title_more" + android:contentDescription="@string/title_advanced_more" android:padding="6dp" android:scaleType="fitCenter" - android:tooltipText="@string/title_more" + android:tooltipText="@string/title_advanced_more" app:srcCompat="@drawable/twotone_more_horiz_24" tools:ignore="MissingConstraints" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 5c3a204a30..d8a04638c5 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -996,6 +996,7 @@ Subscribe Delete More + Less Spam Move Copy @@ -1508,7 +1509,9 @@ Create rule Unsubscribe from list Show images + Hide images Show original message + Show reformatted message Edit Default color Close hint