belongs to Maven artifact androidx.emoji:emoji:1.0.0-alpha1

EmojiButton

public class EmojiButton
extends Button

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

Inherited fields

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

Public constructors

EmojiButton

EmojiButton (Context context)

Parameters
context Context

EmojiButton

EmojiButton (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

EmojiButton

EmojiButton (Context context, 
                AttributeSet attrs, 
                int defStyleAttr)

Parameters
context Context

attrs AttributeSet

defStyleAttr int

EmojiButton

EmojiButton (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