Set contact type tool tip text

This commit is contained in:
M66B 2021-09-30 12:44:12 +02:00
parent efd5ee93ba
commit dfbb4dbf63
1 changed files with 3 additions and 0 deletions

View File

@ -143,6 +143,9 @@ public class AdapterContact extends RecyclerView.Adapter<AdapterContact.ViewHold
ivType.setContentDescription(null); ivType.setContentDescription(null);
} }
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O)
ivType.setTooltipText(ivType.getContentDescription());
if (contact.avatar == null || !contacts) if (contact.avatar == null || !contacts)
ivAvatar.setImageDrawable(null); ivAvatar.setImageDrawable(null);
else { else {