public class EmojiEditText
extends AppCompatEditText
| Constructor and Description |
|---|
EmojiEditText(android.content.Context context) |
EmojiEditText(android.content.Context context,
android.util.AttributeSet attrs) |
| Modifier and Type | Method and Description |
|---|---|
void |
backspace() |
void |
input(Emoji emoji) |
protected void |
onTextChanged(java.lang.CharSequence text,
int start,
int lengthBefore,
int lengthAfter) |
void |
setEmojiSize(int pixels)
sets the emoji size in pixels and automatically invalidates the text and renders it with the new size
|
void |
setEmojiSize(int pixels,
boolean shouldInvalidate)
sets the emoji size in pixels and automatically invalidates the text and renders it with the new size when
shouldInvalidate is true |
void |
setEmojiSizeRes(int res)
sets the emoji size in pixels with the provided resource and automatically invalidates the text and renders it with the new size
|
void |
setEmojiSizeRes(int res,
boolean shouldInvalidate)
sets the emoji size in pixels with the provided resource and invalidates the text and renders it with the new size when
shouldInvalidate is true |
public EmojiEditText(android.content.Context context)
public EmojiEditText(android.content.Context context,
android.util.AttributeSet attrs)
protected void onTextChanged(java.lang.CharSequence text,
int start,
int lengthBefore,
int lengthAfter)
public void backspace()
public void input(Emoji emoji)
public final void setEmojiSize(int pixels)
public final void setEmojiSize(int pixels,
boolean shouldInvalidate)
shouldInvalidate is truepublic final void setEmojiSizeRes(int res)
public final void setEmojiSizeRes(int res,
boolean shouldInvalidate)
shouldInvalidate is true