Open
Description
If we define a style in xml and want to apply it at RunTime using setTextAppearance, the MagicTextView specific format is not loaded. Adding this to code solved it:
public void setTextAppearance(Context context, int resid) {
super.setTextAppearance(context, resid);
TypedArray a = context.obtainStyledAttributes(resid, R.styleable.MagicTextView);
formatMagicTextView(a);
a.recycle();
}
Metadata
Metadata
Assignees
Labels
No labels