Stay organized with collections Save and categorize content based on your preferences.
added in version 26.1.0
belongs to Maven artifact com.android.support:support-emoji:28.0.0-alpha1

EmojiButton

public class EmojiButton
extends Button

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


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

Summary

Inherited constants

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

Inherited fields

From class android.view.View

Public constructors

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

Public methods

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

Inherited methods

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