package com.automattic.simplenote.widgets;
import android.content.Context;
import android.util.AttributeSet;
/**
* custom TextView used in layouts - enables keeping custom typeface handling in one place (so we
* avoid having to set the typeface for every single TextView in every single activity)
*/
public class RobotoRegularTextView extends TintedTextView {
public RobotoRegularTextView(Context context) {
super(context);
TypefaceCache.setCustomTypeface(context, this, TypefaceCache.TYPEFACE_NAME_ROBOTO_REGULAR);
}
public RobotoRegularTextView(Context context, AttributeSet attrs) {
super(context, attrs);
TypefaceCache.setCustomTypeface(context, this, TypefaceCache.TYPEFACE_NAME_ROBOTO_REGULAR);
}
public RobotoRegularTextView(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
TypefaceCache.setCustomTypeface(context, this, TypefaceCache.TYPEFACE_NAME_ROBOTO_REGULAR);
}
}