EmojiButton

public class EmojiButton
extends Button

java.lang.Object
   ↳ android.view.View
     ↳ android.widget.TextView
       ↳ android.widget.Button
         ↳ androidx.emoji2.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

Inherited fields

Public constructors

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

Public methods

void setAllCaps(boolean allCaps)
void setCustomSelectionActionModeCallback(ActionMode.Callback actionModeCallback)

See TextViewCompat.setCustomSelectionActionModeCallback(TextView, ActionMode.Callback)

void setFilters(InputFilter[] filters)

Inherited methods