code: public static void registerAttributesForDefaultStyles(CustomTypeface instance) {
          instance.registerAttributeForDefaultStyle(TextView.class, android.R.attr.textViewStyle);
          instance.registerAttributeForDefaultStyle(EditText.class, android.R.attr.editTextStyle);
          instance.registerAttributeForDefaultStyle(Button.class, android.R.attr.buttonStyle);
          instance.registerAttributeForDefaultStyle(AutoCompleteTextView.class,
                  android.R.attr.autoCompleteTextViewStyle);
          instance.registerAttributeForDefaultStyle(CheckBox.class, android.R.attr.checkboxStyle);
          instance.registerAttributeForDefaultStyle(RadioButton.class,
                  android.R.attr.radioButtonStyle);
          instance.registerAttributeForDefaultStyle(ToggleButton.class,
                  android.R.attr.buttonStyleToggle);
          if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
              instance.registerAttributeForDefaultStyle(CheckedTextView.class,
                      android.R.attr.checkedTextViewStyle);
          }
      }
docs: Register the theme attributes with the default style for all the views extending
  {@link TextView} defined in Android SDK. You can use this method if you create an
  instance of {@code CustomTypeface}, and you want to configure with the default
  styles for the default android widgets.
  
  @param instance an instance of {@code CustomTypeface} to register the attributes
  @see #registerAttributeForDefaultStyle(Class, int)