Android 12 Developer Preview is here! Try it out, and give us your feedback!

EmojiAppCompatTextView

public class EmojiAppCompatTextView
extends AppCompatTextView

java.lang.Object
   ↳ android.view.View
     ↳ android.widget.TextView
       ↳ androidx.appcompat.widget.AppCompatTextView
         ↳ androidx.emoji.widget.EmojiAppCompatTextView


AppCompatTextView widget enhanced with emoji capability by using EmojiTextViewHelper. When used on devices running API 18 or below, this widget acts as a regular AppCompatTextView.

Summary

Inherited constants

Inherited fields

Public constructors

EmojiAppCompatTextView(Context context)
EmojiAppCompatTextView(Context context, AttributeSet attrs)
EmojiAppCompatTextView(Context context, AttributeSet attrs, int defStyleAttr)

Public methods

void setAllCaps(boolean allCaps)
void setFilters(InputFilter[] filters)

Inherited methods