added in version 1.0.0
belongs to Maven artifact androidx.emoji:emoji-appcompat:1.0.0-beta01

EmojiAppCompatButton

public class EmojiAppCompatButton
extends AppCompatButton

java.lang.Object
   ↳ android.view.View
     ↳ android.widget.TextView
       ↳ android.widget.Button
         ↳ androidx.appcompat.widget.AppCompatButton
           ↳ androidx.emoji.widget.EmojiAppCompatButton


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

Summary

Inherited constants

Inherited fields

Public constructors

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

Public methods

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

Inherited methods

Public constructors

EmojiAppCompatButton

added in version 1.0.0
public EmojiAppCompatButton (Context context)

Parameters
context Context

EmojiAppCompatButton

added in version 1.0.0
public EmojiAppCompatButton (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

EmojiAppCompatButton

added in version 1.0.0
public EmojiAppCompatButton (Context context, 
                AttributeSet attrs, 
                int defStyleAttr)

Parameters
context Context

attrs AttributeSet

defStyleAttr int

Public methods

setAllCaps

public void setAllCaps (boolean allCaps)

Parameters
allCaps boolean

setFilters

public void setFilters (InputFilter[] filters)

Parameters
filters InputFilter