Method | Description | |
---|---|---|
addIcons ( ) : void |
Replace "{}" tags in the given text views with actual icons, requesting the IconFontDescriptors one after the others. This is a one time call. If you call TextView#setText(CharSequence) after this, you'll need to call it again.
|
|
compute ( android.content.Context context, CharSequence text ) : CharSequence | ||
compute ( android.content.Context context, CharSequence text, android.widget.TextView target ) : CharSequence | ||
findTypefaceOf ( Icon icon ) : [email protected] |
Finds the Typeface to apply for a given icon.
|
|
with ( IconFontDescriptor iconFontDescriptor ) : IconifyInitializer |
Add support for a new icon font.
|
Method | Description | |
---|---|---|
addIconFontDescriptor ( IconFontDescriptor iconFontDescriptor ) : void | ||
findIconForKey ( string iconKey ) : Icon |
Retrieve an icon from a key,
|
public static compute ( android.content.Context context, CharSequence text ) : CharSequence | ||
context | android.content.Context | |
text | CharSequence | |
return | CharSequence |
public static compute ( android.content.Context context, CharSequence text, android.widget.TextView target ) : CharSequence | ||
context | android.content.Context | |
text | CharSequence | |
target | android.widget.TextView | |
return | CharSequence |
public static findTypefaceOf ( Icon icon ) : [email protected] | ||
icon | Icon | The icon for which you need the typeface. |
return | [email protected] |
public static with ( IconFontDescriptor iconFontDescriptor ) : IconifyInitializer | ||
iconFontDescriptor | IconFontDescriptor | The IconDescriptor holding the ttf file reference and its mappings. |
return | IconifyInitializer |