Show emoji codes on long press in the picker (#2981)
This commit is contained in:
parent
424326f99f
commit
24fccc3bbc
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@ package com.keylesspalace.tusky.adapter
|
||||||
|
|
||||||
import android.view.LayoutInflater
|
import android.view.LayoutInflater
|
||||||
import android.view.ViewGroup
|
import android.view.ViewGroup
|
||||||
|
import androidx.appcompat.widget.TooltipCompat
|
||||||
import androidx.recyclerview.widget.RecyclerView
|
import androidx.recyclerview.widget.RecyclerView
|
||||||
import com.bumptech.glide.Glide
|
import com.bumptech.glide.Glide
|
||||||
import com.keylesspalace.tusky.databinding.ItemEmojiButtonBinding
|
import com.keylesspalace.tusky.databinding.ItemEmojiButtonBinding
|
||||||
|
@ -52,6 +53,7 @@ class EmojiAdapter(
|
||||||
}
|
}
|
||||||
|
|
||||||
emojiImageView.contentDescription = emoji.shortcode
|
emojiImageView.contentDescription = emoji.shortcode
|
||||||
|
TooltipCompat.setTooltipText(emojiImageView, emoji.shortcode)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue