Created
September 22, 2016 10:30
-
-
Save kaka2507/dedfb7216087dba84ad2fa0c91863752 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mm.com.mypay.consumer.uis.views; | |
import android.content.Context; | |
import android.util.AttributeSet; | |
import android.widget.TextView; | |
import mm.com.mypay.consumer.uis.views.CustomFontTextView; | |
import mm.com.mypay.consumer.utils.CustomFontUtils; | |
/** | |
* Created by vcoder on 9/22/16. | |
*/ | |
public class CustomFontTextView extends TextView { | |
public CustomFontTextView(Context context) { | |
super(context); | |
CustomFontUtils.applyCustomFont(this, context, null); | |
} | |
public CustomFontTextView(Context context, AttributeSet attrs) { | |
super(context, attrs); | |
CustomFontUtils.applyCustomFont(this, context, attrs); | |
} | |
public CustomFontTextView(Context context, AttributeSet attrs, int defStyle) { | |
super(context, attrs, defStyle); | |
CustomFontUtils.applyCustomFont(this, context, attrs); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment