diff --git a/src/com/devspark/robototextview/widget/RobotoTextView.java b/src/com/devspark/robototextview/widget/RobotoTextView.java index 6c8e845..c3544c1 100644 --- a/src/com/devspark/robototextview/widget/RobotoTextView.java +++ b/src/com/devspark/robototextview/widget/RobotoTextView.java @@ -126,7 +126,7 @@ private void parseAttributes(Context context, AttributeSet attrs) { int typefaceValue = values.getInt(R.styleable.RobotoTextView_typeface, 0); values.recycle(); - setTypeface(obtaintTypeface(context, typefaceValue)); + setTypeface(obtainTypeface(context, typefaceValue)); } /** @@ -138,7 +138,7 @@ private void parseAttributes(Context context, AttributeSet attrs) { * @return Roboto {@link Typeface} * @throws IllegalArgumentException if unknown `typeface` attribute value. */ - private Typeface obtaintTypeface(Context context, int typefaceValue) throws IllegalArgumentException { + private Typeface obtainTypeface(Context context, int typefaceValue) throws IllegalArgumentException { Typeface typeface = mTypefaces.get(typefaceValue); if (typeface == null) { typeface = createTypeface(context, typefaceValue);