Skip to content

Most visited

Recently visited

navigation

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 XML attributes

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

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)

Sets the properties of this field to transform input to ALL CAPS display.

void setFilters(InputFilter[] filters)

Sets the list of input filters that will be used if the buffer is Editable.

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

EmojiAppCompatTextView (Context context)

Parameters
context Context

EmojiAppCompatTextView

EmojiAppCompatTextView (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

EmojiAppCompatTextView

EmojiAppCompatTextView (Context context, 
                AttributeSet attrs, 
                int defStyleAttr)

Parameters
context Context

attrs AttributeSet

defStyleAttr int

Public methods

setAllCaps

void setAllCaps (boolean allCaps)

Sets the properties of this field to transform input to ALL CAPS display. This may use a "small caps" formatting if available. This setting will be ignored if this field is editable or selectable. This call replaces the current transformation method. Disabling this will not necessarily restore the previous behavior from before this was enabled.

Parameters
allCaps boolean

setFilters

void setFilters (InputFilter[] filters)

Sets the list of input filters that will be used if the buffer is Editable. Has no effect otherwise.

Parameters
filters InputFilter

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.