public class EmojiTextView
extends AppCompatTextView
| Constructor and Description |
|---|
EmojiTextView(android.content.Context context) |
EmojiTextView(android.content.Context context,
android.util.AttributeSet attrs) |
| Modifier and Type | Method and Description |
|---|---|
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 |
void |
setText(java.lang.CharSequence rawText,
BufferType type) |
public EmojiTextView(android.content.Context context)
public EmojiTextView(android.content.Context context,
android.util.AttributeSet attrs)
public void setText(java.lang.CharSequence rawText,
BufferType type)
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