public class SkinCompatTextHelper
extends SkinCompatHelper
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
mDrawableBottomResId |
protected int |
mDrawableLeftResId |
protected int |
mDrawableRightResId |
protected int |
mDrawableTopResId |
| 构造器和说明 |
|---|
SkinCompatTextHelper(android.widget.TextView view) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
applyCompoundDrawablesRelativeResource() |
protected void |
applyCompoundDrawablesResource() |
void |
applySkin() |
static SkinCompatTextHelper |
create(android.widget.TextView textView) |
int |
getTextColorResId() |
void |
loadFromAttributes(android.util.AttributeSet attrs,
int defStyleAttr) |
void |
onSetCompoundDrawablesRelativeWithIntrinsicBounds(int start,
int top,
int end,
int bottom) |
void |
onSetCompoundDrawablesWithIntrinsicBounds(int left,
int top,
int right,
int bottom) |
void |
onSetTextAppearance(android.content.Context context,
int resId) |
protected int mDrawableBottomResId
protected int mDrawableLeftResId
protected int mDrawableRightResId
protected int mDrawableTopResId
public static SkinCompatTextHelper create(android.widget.TextView textView)
public void loadFromAttributes(android.util.AttributeSet attrs,
int defStyleAttr)
public void onSetTextAppearance(android.content.Context context,
int resId)
public void onSetCompoundDrawablesRelativeWithIntrinsicBounds(int start,
int top,
int end,
int bottom)
public void onSetCompoundDrawablesWithIntrinsicBounds(int left,
int top,
int right,
int bottom)
protected void applyCompoundDrawablesRelativeResource()
protected void applyCompoundDrawablesResource()
public int getTextColorResId()
public void applySkin()