EmojiAppCompatEditText
open class EmojiAppCompatEditText : AppCompatEditText
kotlin.Any | |||||
↳ | android.view.View | ||||
↳ | android.widget.TextView | ||||
↳ | android.widget.EditText | ||||
↳ | androidx.appcompat.widget.AppCompatEditText | ||||
↳ | androidx.emoji.widget.EmojiAppCompatEditText |
AppCompatEditText widget enhanced with emoji capability by using EmojiEditTextHelper
. When used on devices running API 18 or below, this widget acts as a regular AppCompatEditText
. androidx.emoji.R.attr#maxEmojiCount
Summary
Public constructors | |
---|---|
<init>(context: Context!, attrs: AttributeSet!) |
|
<init>(context: Context!, attrs: AttributeSet!, defStyleAttr: Int) |
Public methods | |
---|---|
open Int |
Returns the maximum number of EmojiSpans to be added to a CharSequence. |
open InputConnection? |
onCreateInputConnection(outAttrs: EditorInfo!) |
open Unit |
setKeyListener(@Nullable keyListener: KeyListener?) |
open Unit |
setMaxEmojiCount(@IntRange(0) maxEmojiCount: Int) Set the maximum number of EmojiSpans to be added to a CharSequence. |
Inherited functions | |
---|---|