Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

EmojiAppCompatButton

open class EmojiAppCompatButton : AppCompatButton
kotlin.Any
   ↳ 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

Public constructors
<init>(context: Context!)

<init>(context: Context!, attrs: AttributeSet!)

<init>(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

Public methods
open Unit

open Unit
setAllCaps(allCaps: Boolean)

Inherited functions

Public constructors

<init>

EmojiAppCompatButton(context: Context!)

<init>

EmojiAppCompatButton(context: Context!, attrs: AttributeSet!)

<init>

EmojiAppCompatButton(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

Public methods

setFilters

open fun setFilters(filters: Array<InputFilter!>!): Unit

setAllCaps

open fun setAllCaps(allCaps: Boolean): Unit