You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is inside init(Context context, AttributeSet attrs)method. readAttrs() should be moved to the top of the method, since setTextSizeis applied before attribute is being read. This is how it should look like:
Activity
skhanzada commentedon Feb 28, 2015
You can override the textpaint using setTextPaint until this issue is fixed.