Android 12 Developer Preview is here! Try it out, and give us your feedback!


public class EmojiAppCompatButton
extends AppCompatButton

   ↳ 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.


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