lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 26.1.0
belongs to Maven artifact com.android.support:support-emoji-appcompat:28.0.0-alpha1

EmojiAppCompatTextView

public class EmojiAppCompatTextView
extends AppCompatTextView

java.lang.Object
   ↳ android.view.View
     ↳ android.widget.TextView
       ↳ android.support.v7.widget.AppCompatTextView
         ↳ android.support.text.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

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

Inherited fields

From class android.view.View

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

From class android.support.v7.widget.AppCompatTextView
From class android.widget.TextView
From class android.view.View
From class java.lang.Object
From interface android.support.v4.view.TintableBackgroundView
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

EmojiAppCompatTextView

added in version 26.1.0
EmojiAppCompatTextView (Context context)

Parameters
context Context

EmojiAppCompatTextView

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

Parameters
context Context

attrs AttributeSet

EmojiAppCompatTextView

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

Parameters
context Context

attrs AttributeSet

defStyleAttr int

Public methods

setAllCaps

void setAllCaps (boolean allCaps)

Parameters
allCaps boolean

setFilters

void setFilters (InputFilter[] filters)

Parameters
filters InputFilter