added in version 26.1.0
belongs to Maven artifact com.android.support:support-emoji:28.0.0-alpha1

EmojiTextView

public class EmojiTextView
extends TextView

java.lang.Object
   ↳ android.view.View
     ↳ android.widget.TextView
       ↳ android.support.text.emoji.widget.EmojiTextView


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

Summary

Inherited constants

From class android.widget.TextView
From class android.view.View

Inherited fields

From class android.view.View

Public constructors

EmojiTextView(Context context)
EmojiTextView(Context context, AttributeSet attrs)
EmojiTextView(Context context, AttributeSet attrs, int defStyleAttr)
EmojiTextView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)

Public methods

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

Inherited methods

From class android.widget.TextView
From class android.view.View
From class java.lang.Object
From interface android.view.ViewTreeObserver.OnPreDrawListener
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.accessibility.AccessibilityEventSource

Public constructors

EmojiTextView

added in version 26.1.0
EmojiTextView (Context context)

Parameters
context Context

EmojiTextView

added in version 26.1.0
EmojiTextView (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

EmojiTextView

added in version 26.1.0
EmojiTextView (Context context, 
                AttributeSet attrs, 
                int defStyleAttr)

Parameters
context Context

attrs AttributeSet

defStyleAttr int

EmojiTextView

added in version 26.1.0
EmojiTextView (Context context, 
                AttributeSet attrs, 
                int defStyleAttr, 
                int defStyleRes)

Parameters
context Context

attrs AttributeSet

defStyleAttr int

defStyleRes int

Public methods

setAllCaps

void setAllCaps (boolean allCaps)

Parameters
allCaps boolean

setFilters

void setFilters (InputFilter[] filters)

Parameters
filters InputFilter