added in version 1.0.0
belongs to Maven artifact androidx.emoji:emoji-appcompat:1.0.0-beta01

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

Public constructors

EmojiAppCompatTextView

added in version 1.0.0
public EmojiAppCompatTextView (Context context)

Parameters
context Context

EmojiAppCompatTextView

added in version 1.0.0
public EmojiAppCompatTextView (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

EmojiAppCompatTextView

added in version 1.0.0
public EmojiAppCompatTextView (Context context, 
                AttributeSet attrs, 
                int defStyleAttr)

Parameters
context Context

attrs AttributeSet

defStyleAttr int

Public methods

setAllCaps

public void setAllCaps (boolean allCaps)

Parameters
allCaps boolean

setFilters

public void setFilters (InputFilter[] filters)

Parameters
filters InputFilter