Class Overview
A class for annotating a CharSequence with spans to convert textual emoticons
to graphical ones.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Fields
public
static
final
int
DEFAULT_SMILEY_NAMES
public
static
final
int[]
DEFAULT_SMILEY_RES_IDS
public
static
final
int
DEFAULT_SMILEY_TEXTS
Public Methods
Adds ImageSpans to a CharSequence that replace textual emoticons such
as :-) with a graphical version.
Parameters
text
| A CharSequence possibly containing emoticons |
Returns
- A CharSequence annotated with ImageSpans covering any
recognized emoticons.
public
static
void
init
(Context context)