public static class FontLoader.HoloFont extends Object implements FontLoader.FontSelector
| Modifier and Type | Field and Description |
|---|---|
protected int |
mFontId
Font raw resource id
|
protected boolean |
mIgnore
If this flag setted this font doesn't modify any view
|
protected android.graphics.Typeface |
mTypeface
Loaded typeface
|
static FontLoader.HoloFont |
ROBOTO |
static FontLoader.HoloFont |
ROBOTO_BOLD |
static FontLoader.HoloFont |
ROBOTO_BOLD_ITALIC |
static FontLoader.HoloFont |
ROBOTO_ITALIC |
static FontLoader.HoloFont |
ROBOTO_REGULAR |
| Modifier and Type | Method and Description |
|---|---|
<T extends android.view.View> |
apply(T view) |
FontLoader.HoloFont |
getFontForView(android.view.View view) |
static FontLoader.HoloFont |
makeFont(FontLoader.HoloFont regular,
FontLoader.HoloFont bold,
FontLoader.HoloFont italic,
FontLoader.HoloFont boldItalic) |
static FontLoader.HoloFont |
makeFont(int rawResourceId) |
static FontLoader.HoloFont |
makeFont(int rawResourceId,
boolean ignore) |
static FontLoader.HoloFont |
makeFont(android.graphics.Typeface typeface) |
android.graphics.Typeface |
obtainTypeface(android.content.Context context) |
public static final FontLoader.HoloFont ROBOTO
public static final FontLoader.HoloFont ROBOTO_BOLD
public static final FontLoader.HoloFont ROBOTO_BOLD_ITALIC
public static final FontLoader.HoloFont ROBOTO_ITALIC
public static final FontLoader.HoloFont ROBOTO_REGULAR
protected int mFontId
protected boolean mIgnore
protected android.graphics.Typeface mTypeface
public static FontLoader.HoloFont makeFont(FontLoader.HoloFont regular, FontLoader.HoloFont bold, FontLoader.HoloFont italic, FontLoader.HoloFont boldItalic)
public static FontLoader.HoloFont makeFont(int rawResourceId)
public static FontLoader.HoloFont makeFont(int rawResourceId, boolean ignore)
public static FontLoader.HoloFont makeFont(android.graphics.Typeface typeface)
public <T extends android.view.View> T apply(T view)
public FontLoader.HoloFont getFontForView(android.view.View view)
getFontForView in interface FontLoader.FontSelectorpublic android.graphics.Typeface obtainTypeface(android.content.Context context)
Copyright © 2012-2013. All Rights Reserved.